Uploaded image for project: 'Nuxeo JS Client'
  1. Nuxeo JS Client
  2. NXJS-100

Make the client work with all supported Nuxeo versions



    • Type: Task
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.0.0
    • Component/s: Browser, Node.js


      See how we can publish only one version of the client that works with Nuxeo LTS 2015, Nuxeo LTS 2016 and Nuxeo 9.1+.

      The goal is to ease the maintenance, the install and the use of the Nuxeo client regardless of the Nuxeo server version.

      What's needed to be done:

      • Detect the Nuxeo server version, force the use of Nuxeo#login to retrieve that information. The client will still work even if the login method is not called, but no check will be done and thus some calls will not work as expected.
      • Expose that version to the users of the client so that they can make use of it.
      • Define how to list functions/features working or non-working on a given Nuxeo version
      • Define what the client should do/return in case of a call that won't work with the target Nuxeo version (such as using Document#fetchRenditions on a Nuxeo LTS 2015).
      • Launch the tests on all support Nuxeo versions




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


              • Created: