create icon indicating copy to clipboard operation
create copied to clipboard

Modify content of collection hides part of the collection

Open adou600 opened this issue 12 years ago • 3 comments

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

adou600 avatar Jan 17 '13 14:01 adou600

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

dbu avatar Jan 20 '14 14:01 dbu

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 ...)

uwej711 avatar Jan 20 '14 14:01 uwej711

@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?

dbu avatar Apr 17 '14 14:04 dbu