Uploaded image for project: 'Nuxeo Drive '
  1. Nuxeo Drive
  2. NXDRIVE-1614

Improve the Action class implementation

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 4.1.0
    • Fix Version/s: 4.1.1
    • Component/s: Framework

      Description

      Error

      There is a recurrent error:

      AttributeError: 'FileAction' object has no attribute 'size'
        File "nxdrive/gui/application.py", line 232, in action_done
        File "nxdrive/gui/application.py", line 1252, in refresh_actions
        File "nxdrive/gui/api.py", line 333, in get_actions
        File "nxdrive/gui/api.py", line 191, in _export_action
        File "nxdrive/engine/activity.py", line 135, in get_percent
      

      Sentry Issue: NUXEO-DRIVE-Q0

      Fix

      We need to review the Action implementation to prevent such error.

        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 - 2 hours
                2h