rapila / cms-base

The rapila cms’ internals. Please file all issues here if they’re not directly related to a plugin or the sample site.
http://www.rapi.la
3 stars 1 forks source link

Moving page from child to sibling position doesn't check unique page name #205

Closed juergmessmer closed 6 years ago

juergmessmer commented 9 years ago

Use case: A page named "test" exists for a specific parent page

I tried to fix this, but I don't know how to. In PageAdminModule::moveItem() all methods used are BasePage methods and $sPosition "before", "last", "after" are not tested if the page (position) matches the unique constraint. I don't know how to implement such a constraint since parent is not easily defined? (unique = name && parent)

juergmessmer commented 6 years ago

with the new jquery3 and jstree update this is fixed.