Review main Abandoned

40186[BUGFIX] Avoid error when deleting a page with translation

Michael Voehringer CR 0 V 0 Easy +5 −3 updated 03/06/16, 12:09

Commit message

When deleting a page as a non-admin, but the non-admin has no
"modify" rights for the database tables which are located on that
page, an error is thrown, but the page itself is deleted non-the-less
leaving orphaned records.

This happens when an editor has rights to delete a page, but no modify
rights for tt_content elements or pages_language_overlay records.

The fix avoids throwing an error message thus leaving orphaned records
as they are while still deleting pages.

Review

  • Code review CR 0

    Imported before Forger kept the single votes, the next import adds them.

  • Verified V 0

    Imported before Forger kept the single votes, the next import adds them.

Issues 1

Files 1