Skip to content
This repository has been archived by the owner on Jan 23, 2023. It is now read-only.

Modify content of collection hides part of the collection #164

Open
adou600 opened this issue Jan 17, 2013 · 3 comments
Open

Modify content of collection hides part of the collection #164

adou600 opened this issue Jan 17, 2013 · 3 comments

Comments

@adou600
Copy link

adou600 commented Jan 17, 2013

On a page containing a collection and its children, if the content of the collection is updated and saved, only the first children remains visible after the save. The problem can be seen on video: https://saucelabs.com/tests/34a7d31654834f52a0fd8a790477f38f

The interesting part of the html contained in the http://cmf.lo/app_dev.php/en/news URL can be found here: https://gist.github.com/4556030.

The request sent to the backend URL:
request

The response of the backend:
response

It seems that only the first element of the "hasPart" attribute is rendered in the page after the "midgardstoragesavedentity" event.

CC @dbu

@dbu
Copy link

dbu commented Jan 20, 2014

@uwej711 did you encounter the same issue with your collection operations? or is that fixed since then?

@uwej711
Copy link
Contributor

uwej711 commented Jan 20, 2014

That same issue is the reason for not returning the collections on put in createphp. Since this no longer happens this should work with current createphp master. But until now it is still unclear what goes wrong on the client side (I tried to explain this in more detail in the createphp PR ...)

@dbu
Copy link

dbu commented Apr 17, 2014

@bergie can you elaborate on this maybe? or is it something that has been fixed meanwhile? or is the approach by createphp the right one, to not return anything when putting a collection?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants