Uploaded image for project: 'eZ Publish / Platform'
  1. eZ Publish / Platform
  2. EZP-22981

Warn users that orphaned entries in 'ezurl' table will be deleted upon discarding draft

    Details

    • Type: Improvement Improvement
    • Status: Confirmed
    • Priority: High High
    • Resolution: Unresolved
    • Affects Version/s: 5.2
    • Fix Version/s: Customer request
    • Component/s: Database related
    • Labels:
      None

      Description

      Function LegacyStorage::deleteOrphanedUrls() is responsible for the deletion of orphaned entries in the 'ezurl' table i.e. entries that do not have a correspondence in the 'ezurl_object_link' table. In essence, we are talking about URLs that are not linked to a content attribute through ezurl_object_link table.

      This function is called when an object that has orphaned entries in 'ezurl' is edited and then the resulting draft is discarded.

      It would be useful/advantageous to warn users that such orphaned entries are about to be deleted when the 'Discard draft' button is clicked.

        Issue Links

          Activity

          There are no comments yet on this issue.

            People

            • Assignee:
              Unassigned
              Reporter:
              Nuno Oliveira (Inactive)
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated: