Uploaded image for project: 'Nuxeo Studio'
  1. Nuxeo Studio
  2. NXS-2434

Operations declared in the registry are not displayed in the list of available operations

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: 22
    • Fix Version/s: 22.1, 23
    • Component/s: Automation, Registries
    • Tags:
    • Sprint:
      nxNag Sprint 7.1-4

      Description

      Since very recently, adding JSON definitions of operations does not work correctly:

      • Either the operations are just totally ignored in the list of operations
      • Or are partially displayed, and one label is truncated for example

      To reproduce:

      • Go to the Operation registry (not from the IDE)
      • Insert the example
      • Save
        => The operations are not available, even after reloading the app. Tested on Safari/Chrome

      Also, here is a copy-paste of a registry wth problems:

      {
        "operations" : [ {
          "id" : "SendInvoice",
          "label" : "SendInvoice",
          "category" : "Document",
          "description" : "Send Invoice Operation",
          "url" : "SendInvoice",
          "requires" : null,
          "signature" : [ "document", "document" ],
          "params" : [ ]
        }, {
          "id" : "RetrieveSentInvoices",
          "label" : "RetrieveSentInvoices",
          "category" : "Document",
          "description" : "Retrieve Invoices already sent",
          "url" : "RetrieveSentInvoices",
          "requires" : null,
          "signature" : [ "document", "document", "documents", "documents" ],
          "params" : [ ]
        }, {
          "id" : "SetDocumentNumber",
          "label" : "SetDocumentNumber",
          "category" : "Document",
          "description" : "Set the Document Number",
          "url" : "SetDocumentNumber",
          "requires" : null,
          "signature" : [ "document", "document" ],
          "params" : [ ]
        } ]
      }
      

      Once saved, the list of operations misses the last one (SetDocumentNumber), calls it "Tre" (see screen capture)

        Attachments

        1. MissingOp.png
          11 kB
          Thibaud Arguillere

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved: