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

Fix Publish button incorrectly enabled in nuxeo-internal-publish

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.4.0, 3.0.0
    • Fix Version/s: 3.1.x, 3.0.20, 2.4.72
    • Component/s: UI
    • Release Notes Summary:
      The "PUBLISH" button is disabled until a Location is specified.
    • Backlog priority:
      500
    • Sprint:
      UI - 2023-2, Sprint 2023-2

      Description

      When selecting 2+ documents and attempting to Publish them via the RESULTS_SELECTION_ACTIONS slot, the "PUBLISH" button in the nuxeo-internal-publish layout is enabled while the Location field is empty. Clicking the button in this state emits an error in the console.

      Steps to Reproduce:

      1. In a results view (e.g. Folderish, Asset Search), Select 1+ Documents.
      2. Click the "Publish" action from the top toolbar
      3. Observe the displayed nuxeo-dialog

      Expected result: the "PUBLISH" button is disabled until a Location is specified.

      Actual result: the "PUBLISH" button is enabled. Clicking this button emits an uncaught TypeError in the browser console.

      (see attached pictures for reference)

        Attachments

        1. image-2023-02-16-17-40-46-447.png
          283 kB
          Henry Miskaryan
        2. nightly2021_publish_one.png
          243 kB
          Henry Miskaryan

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved:

                Time Tracking

                Estimated:
                Original Estimate - 0 minutes
                0m
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 6 hours
                6h