Uploaded image for project: 'Nuxeo Mobile'
  1. Nuxeo Mobile
  2. NXMOB-520

Prevent "Add to Favorites" action from failing when doc is null

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: iOS 1.16, Android 1.13
    • Component/s: None
    • Tags:
    • Sprint:
      nxfit 10.2.5
    • Story Points:
      1

      Description

      See Bugsnag report https://app.bugsnag.com/nuxeo/nuxeo-mobile/errors/5af50d29bbcbcd0018bb992d?filters[event.since][0]=30d&filters[error.status][0]=open

      TypeError/Users/jenkins/tmp/0ebd1d51/workspace/Private/Mobile/nuxeo-mobile-ios-beta/src/actions/document/addToFavoritesAction.js:15
      undefined is not an object (evaluating 'e.isCollectable')
      

      Somehow the document is null when calling addToFavoritesAction.isAvailable

        Attachments

          Activity

            People

            • Votes:
              0 Vote for this issue
              Watchers:
              2 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 - 1 hour
                1h