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

As a user I want to be redirected to the main location when I remove the location currently viewed

    XMLWordPrintable

Details

    • Icon: Improvement Improvement
    • Resolution: Obsolete
    • Icon: High High
    • None
    • None
    • Platform > Hybrid UI
    • None

    Description

      Context

      With the current implementation of the tab system (async tabs), every form action only refreshes the tab currently viewed. This approach is not compatible with the following edge case: deleting the current location. The user will stay on a location that does not exist anymore. The system does not handle redirection yet. That's why deleting the current location was disabled.

      Related discussion:
      https://github.com/ezsystems/hybrid-platform-ui/pull/44#discussion_r125485900

      Story

      Delete the location currently viewed

      Given I have multiple locations in the ‘Content locations' table
      When I select the current location
      Then the delete button in the table header is enabled
      
      Given the delete button in the table header is enabled
      When I click the delete button
      Then I see a modal window to confirm the deletion
      And on Confirmation, I am redirected to the main location
      And on Cancel, the modal window closes
      

      Attachments

        Activity

          People

            Unassigned Unassigned
            sylvain.guittard@ibexa.co Sylvain Guittard
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: