-
Notifications
You must be signed in to change notification settings - Fork 2
Description
Steps to reproduce
- get a Page
bar, set tiles view on it - get another page
bazset tiles view on it - add a new tiles -> exsisting content
- choose
baras content to be referred and save
Javascript keeps loading the bar tiles list even for the baz tile.
So the baz tile list returned is, in fact, the bar one which include the baz tile.
...so the baz tile list returned is, in fact, the bar one which include the baz tile.
...so the baz tile list returned is, in fact, the bar one which include the baz tile.
...so the baz tile list returned is, in fact, the bar one which include the baz tile.
...so the baz tile list returned is, in fact, the bar one which include the baz tile.
...
From the UX point of view it's indeed awful to include in a tile view some existing content with tiles view too. It leads to potential permissions issues, loops and, at the end, the appearance of the Reaper Man.
Should the product prevent the referring of contents with tiles view enabled?
Would it be useful to implement (js side) a maximum number of rendered rendered per content? (may be fifty or less?)
Browsers get completely stuck in seconds and an editor, any time, could fall into this brilliant idea.
Workaround if the Reaper Man has come
For anyone facing this issue is not too late:
- do call
tiles_managementview on the context (i.e.http://localhost:8080/Plonetest/baz/tiles_management?managerId=defaultManager&ajax_load=true) - in the source code page you'll see an anchor tag pointing to the url that will delete the tile. The gliphy icons css is not loaded so the tag is completely hidden from rendering. Now Just look for something like:
<a class="plone-btn plone-btn-danger tileDeleteLink"
href="http://localhost:8080/Plonetest/baz/@@delete-tile/plone.app.standardtiles.existingcontent/58490ed9d34a4079b23f458d30e7c091">
<i class="glyphicon glyphicon-remove" aria-hidden="true"></i>
</a>
- Do follow the href url and confirm the delete in the form
alessandro.