Uploaded image for project: 'HPCC'
  1. HPCC
  2. HPCC-18881

No error reported when overwriting bound dESDL definition

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 6.4.6
    • Fix Version/s: 6.4.10
    • Component/s: ESDL
    • Labels:
      None

      Description

      No warning or error is reported when you attempt to esdl publish --overwrite an ESDL defn that is already bound. It appears to succeed, but no interface changes are reflected.

      For example: 

       

      esdl publish ws_scout_all.ecm SCOUT --overwrite

      Loading XML ESDL definition: SCOUT.0.000000
      Time taken for adding XML ESDL definition: 1958856 cycles (1M) = 0 msec
      Time taken for EsdlDefinition::getDependencies: 230232 cycles (0M) = 0 msec
      Time taken for serializing EsdlObjects to XML: 640264 cycles (0M) = 0 msec

      ESDL Service: SCOUT: Successfully published scout.1✔ complete at 16:52:16

       

      esdl bind-service esp 8087 scout.1 SCOUT --config methods.xml

       

      Attempting to publish ESDL binding: 'esp.8087'Successfully configured Service 'SCOUT', associated with ESDL definition 'scout.1', on ESP 'esp' and binding 'EspBinding'.

       

      esdl publish ws_scout_all.ecm SCOUT --overwrite

       

      Loading XML ESDL definition: SCOUT.0.000000
      Time taken for adding XML ESDL definition: 2046676 cycles (2M) = 0 msec
      Time taken for EsdlDefinition::getDependencies: 230820 cycles (0M) = 0 msec
      Time taken for serializing EsdlObjects to XML: 635596 cycles (0M) = 0 msec

      ESDL Service: SCOUT: Successfully published ✔ complete at 16:58:09

       

      So there is a subtle difference in the output a second time- it doesn't provide the definition ID, however it claims that it was successfully published when the ESP logs show that it wasn't:

      000163A5 2017-12-12 08:55:46.857 537 9920 "SOAP method <PublishESDLDefinitionRequest> from tasselin@127.0.0.1."
      000163A6 2017-12-12 08:55:46.857 537 9920 "Client version: 0"
      000163A7 2017-12-12 08:55:46.859 537 9920 "CWsESDLConfigEx::onPublishESDLDefinition User=tasselin"
      000163A8 2017-12-12 08:55:46.863 537 9920 "Will not delete previous ESDL definition version because it is referenced
      in an ESDL binding."
      000163A9 2017-12-12 08:55:46.863 537 9920 "ESDL Definition '' published by user='tasselin'"

        Attachments

          Activity

            People

            • Assignee:
              rpastrana Rodrigo Pastrana
              Reporter:
              TerrenceAsselin Terrence Asselin
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: