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

Fix Platform Importer package

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Duplicate
    • Affects Version/s: 7.10-HF04, 8.1
    • Fix Version/s: None
    • Component/s: Importer

      Description

      1/ When installing nuxeo-platform-importer, I get the following traces:

      $ ./nuxeoctl mp-install nuxeo-platform-importer
      
      Dependency resolution:
        Installation order (1):        nuxeo-platform-importer-1.6.4
        Unchanged packages (3):        nuxeo-7.10-HF01:1.0.0, nuxeo-csv:1.4.4, nuxeo-7.10-HF02:1.0.0
        Packages to download (1):      nuxeo-platform-importer:1.6.4
      
      Do you want to continue (yes/no)? [yes] 
      Downloading [nuxeo-platform-importer-1.6.4]...
      Added nuxeo-platform-importer-1.6.4
      Installing nuxeo-platform-importer-1.6.4
      Got warnings on package validation nuxeo-platform-importer-1.6.4 -> [Ignored command in installer. Source file not found! lib]
      Can't update using /opt/support/main/2015/nuxeo-cap-7.10-tomcat-HF-PROD/packages/store/nuxeo-platform-importer-1.6.4/install/lib. File is missing.
      

      It seems the install.xml is not correctly written and has reference to a lib folder not present in the package

      2/ When navigating to the fileimporter URL, http://localhost:8080/nuxeo/site/fileImporter, the browser console displays a JavaScript error

      Failed to load resource: the server responded with a status of 404 (Introuvable)
      fileImporter?language=en:335 
      Uncaught ReferenceError: $ is not defined(anonymous function) @ fileImporter?language=en:335
      

      It tries to load jquery.js from http://nereid2:8080/nuxeo/nxthemes-lib/jquery.js which does not exist any more.
      Clicking on the Run button does not run the importer ,but new errors are displayed in the console.

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved: