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

Import tab should handle server error

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: 2.4.58
    • Fix Version/s: 2.4.59, 3.0.12
    • Component/s: UI
    • Release Notes Summary:
      A validation error is displayed on document import.
    • Backlog priority:
      800
    • Sprint:
      UI - 2022-03

      Description

      No errors are displayed when creating documents through the import tab and there is a validation error on a property, furthermore, the creation dialog is closed and a toaster saying Created document is displayed.

      The server error responds with a bad request error, it should be handled and the user should be notified about this error.

      Steps To Reproduce:

      1. Inside a workspace, click on plus sign to create documents
      2. Click on Import tab
      3. Upload a file
      4. Click on Add properties button
      5. Select File as type
      6. Enter 2000+ characters description
      7. Click on create

      Actual:

      • The dialog is closed and a toast with a successful message is displayed

      Expected:

      • The dialog is not closed and the user is warned about the server error

        Attachments

          Activity

            People

            • Votes:
              0 Vote for this issue
              Watchers:
              3 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 - 2 days, 3 hours, 20 minutes
                2d 3h 20m