Uploaded image for project: 'Nuxeo Web UI'
  1. Nuxeo Web UI
  2. WEBUI-1390

Fix nuxeo-restore-version-button temporarily displaying latest version in label

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Won't Fix
    • Affects Version/s: 3.0.0
    • Fix Version/s: None
    • Component/s: UI

      Description

      When viewing a Document's x versions in increasing order, viewing the latest version very briefly has the nuxeo-restore-version-button display "Restore x.0" before disappearing.

      Steps to Reproduce:

      1. Create or navigate to a Document with x versions. Click the versions navigator to see x+1 entries, for example if x = 3 we observe:
        • 3.0 (Latest)
        • 3.0
        • 2.0
        • 1.0
      2. Click on the earliest version. Progressively increase the version being viewed (in the above example, 1.0 to 2.0) and observe the label of the Restore button in nuxeo-document-info-bar changing accordingly.
      3. Click the second to last entry (in the above example, 3.0).

      Expected behavior: the Restore Button simply disappears as it is not possible to restore to the current version.

      Actual behavior: very briefly, the Restore button label displays the latest version before disappearing (in the above example, "Restore 3.0"). See attached video for reference.

        Attachments

          Activity

            People

            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 3 days, 5 hours
                3d 5h