Uploaded image for project: 'Nuxeo Elements'
  1. Nuxeo Elements
  2. ELEMENTS-478

Fix obscured exception in nuxeo-resources

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Blocker
    • Resolution: Fixed
    • Affects Version/s: 1.0.0
    • Fix Version/s: 1.0.2, 2.2.0
    • Component/s: Core

      Description

      this.$.doc.get()

      in the load function of nuxeo-app from Web UI returns an error while the api call is successful.

      The problem is that this.response = data; might trigger an error depending on existing two-way bindings on the response (typically ELEMENTS-479 was causing an error which was obscured).

      When it comes to loading a document through the load function from Web UI, this error will be caught by this block and will only show a page error with an undefined error message (as shown in attached screenshot).

        Attachments

        1. Pasted image at 2017_12_01 09_52 AM.png
          214 kB
          Michaël Vachette
        2. Pasted image at 2017_12_01 10_31 AM.png
          178 kB
          Michaël Vachette
        3. Pasted image at 2017_12_01 10_33 AM.png
          98 kB
          Michaël Vachette

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                3 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 - 4 hours
                  4h