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

PackagePersistence#getPackages should ignore files

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 5.6, 5.8, 6.0
    • Fix Version/s: 5.8.0-HF27, 6.0-HF01, 7.1
    • Component/s: Connect

      Description

      Because the packages are stored in folder, the method PackagePersistence#getPackages should ignore files when iterating on each item of the packages store.

      This will avoid errors like

      Could not read package list
      org.nuxeo.connect.update.PackageException: Invalid package - no package.xml file found in package README.txt
      	at org.nuxeo.connect.update.standalone.LocalPackageImpl.<init>(LocalPackageImpl.java:107)
      

      if somebody adds a plain file under $DATA/packages/store

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved: