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

Wrong translation form is opened after using browser back button

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: High High
    • Resolution: Fixed
    • Affects Version/s: 2.3.2
    • Fix Version/s: 2.4.0, 2.3.3
    • Component/s: None
    • Labels:

      Description

      Preconditions:

      At least two another languages added.

      Steps:

      1. Go to an Content Item preview and select translation tab
      2. Click button to add new translation
      3. Select first language and close modal without confirming
      4. Go to another tab, for example Admin
      5. Click browser back button
      6. Click again button to add new translation
      7. This time select the second language and confirm

      Actual result:

      User is redirected to translation form, but content item will be translated for the first chosen language (from step 3)

      Expected result:

      User should be redirected to the translation form with the second language (step 7). Language selection (the first one) should be canceled.

        Activity

        Barbara Grajczyk created issue -
        Barbara Grajczyk made changes -
        Field Original Value New Value
        Status Open [ 1 ] Confirmed [ 10037 ]
        Hide
        Barbara Grajczyk added a comment -

        ping Sylvain Guittard: your help is needed in expected result.

        Show
        Barbara Grajczyk added a comment - ping Sylvain Guittard : your help is needed in expected result.
        Hide
        Sylvain Guittard added a comment -

        Barbara Grajczyk: IMHO, what makes more sense is to reset the language selection and the editor starts over the selection of languages.

        Show
        Sylvain Guittard added a comment - Barbara Grajczyk : IMHO, what makes more sense is to reset the language selection and the editor starts over the selection of languages.
        Hide
        Barbara Grajczyk added a comment -

        Thank you Sylvain Guittard, I will edit description.

        Show
        Barbara Grajczyk added a comment - Thank you Sylvain Guittard , I will edit description.
        Barbara Grajczyk made changes -
        Description h5. Preconditions:
        At least two another languages added.

        h5. Steps:
        1. Go to an Content Item preview and select translation tab
        2. Click (+) button to add new translation
        3. Select first language and close modal without confirming
        4. Go to another tab, for example Admin
        5. Click browser back button
        6. Click again (+) button to add new translation
        7. This time select the second language and confirm

        h5. Actual result:
        User is redirected to translation form, but content item will be translated for the first chosen language (from step 3)

        h5. Expected result:
        User should be redirected to the translation form with the second language (step 7). Question is: should we reset language selection (step 4,5) or after using browser back button and clicking again (+) button to add translation should the first language be still selected?
        h5. Preconditions:
        At least two another languages added.

        h5. Steps:
        1. Go to an Content Item preview and select translation tab
        2. Click (+) button to add new translation
        3. Select first language and close modal without confirming
        4. Go to another tab, for example Admin
        5. Click browser back button
        6. Click again (+) button to add new translation
        7. This time select the second language and confirm

        h5. Actual result:
        User is redirected to translation form, but content item will be translated for the first chosen language (from step 3)

        h5. Expected result:
        User should be redirected to the translation form with the second language (step 7). Language selection (the first one) should be canceled.
        Jakub Brzegowski made changes -
        Assignee Jakub Brzegowski [ jakub.brzegowski@ez.no ]
        Show
        Jakub Brzegowski added a comment - PR created: https://github.com/ezsystems/ezplatform-admin-ui/pull/775
        Show
        Jakub Brzegowski added a comment - PR merged: 1.3: https://github.com/ezsystems/ezplatform-admin-ui/commit/5c38cb58a0cb61b6ce69984c33b24d31c278a6cc master: https://github.com/ezsystems/ezplatform-admin-ui/commit/7507d98fb4de89afefaefc7dbecaa7ede31eeb08
        Jakub Brzegowski made changes -
        Assignee Jakub Brzegowski [ jakub.brzegowski@ez.no ]
        Status Confirmed [ 10037 ] Closed [ 6 ]
        Fix Version/s 2.3.2 [ 15088 ]
        Resolution Fixed [ 1 ]
        Hide
        Jakub Brzegowski added a comment -

        Reopening to change "Fix version".

        Show
        Jakub Brzegowski added a comment - Reopening to change "Fix version".
        Jakub Brzegowski made changes -
        Resolution Fixed [ 1 ]
        Status Closed [ 6 ] Reopened [ 4 ]
        Assignee Jakub Brzegowski [ jakub.brzegowski@ez.no ]
        Jakub Brzegowski made changes -
        Fix Version/s 2.4.0 [ 15091 ]
        Fix Version/s 2.3.3 [ 15096 ]
        Fix Version/s 2.3.2 [ 15088 ]
        Jakub Brzegowski made changes -
        Assignee Jakub Brzegowski [ jakub.brzegowski@ez.no ]
        Status Reopened [ 4 ] Closed [ 6 ]
        Resolution Fixed [ 1 ]
        Transition Time In Source Status Execution Times Last Executer Last Execution Date
        Open Open Confirmed Confirmed
        7s 1 Barbara Grajczyk 13/Dec/18 2:47 PM
        Confirmed Confirmed Closed Closed
        7d 21h 51m 1 Jakub Brzegowski 21/Dec/18 12:39 PM
        Closed Closed Reopened Reopened
        46m 24s 1 Jakub Brzegowski 21/Dec/18 1:25 PM
        Reopened Reopened Closed Closed
        3m 9s 1 Jakub Brzegowski 21/Dec/18 1:28 PM

          People

          • Assignee:
            Unassigned
            Reporter:
            Barbara Grajczyk
          • Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: