Uploaded image for project: 'Nuxeo Platform'
  1. Nuxeo Platform
  2. NXP-12028

Drive edit: don't display action if document is not adaptable as a FIleSystemItem

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 5.6.0-HF20, 5.7.2-SNAPSHOT
    • Fix Version/s: 5.6.0-HF21, 5.7.2
    • Component/s: Nuxeo Drive

      Description

      Currently only a check on BlobHolder adaptation is made in NuxeoDriveActions#canEditCurrentDocument(), though the document is then adapted in NuxeoDriveActions#getDriveEditURL() which leads to an error when displaying the button if the document could not be adapted:

      2013-07-17 16:06:58,441 ERROR [org.nuxeo.ecm.platform.ui.web.binding.MetaValueExpression] Error processing expression #
      Unknown macro: {nuxeoDriveActions.driveEditURL}
      
      : javax.el.ELException: Error reading 'driveEditURL' on type org.nuxeo.drive.seam.NuxeoDriveActions_$$_javassist_45
      

        Attachments

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved:

                Time Tracking

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