Uploaded image for project: 'HPCC'
  1. HPCC
  2. HPCC-19313 WUDetails Issues/Question
  3. HPCC-19553

Generate repeatable attributes as a list format

    XMLWordPrintable

    Details

    • Type: Sub-task
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 7.0.0
    • Component/s: WS-Workunit Server
    • Labels:
      None

      Description

      Currently there are 4 attributes that can have multiple values:

        WaDefinition

        WaEclname

        WaSection

        WaIdDependency

       

      Currently the service may return multiple values for these attributes.  For Gordon Smith to support them properly they would be much better returned as a list in the format

       

      ["<val1>","<val2>...]

       

      The service layer should be modified to convert attributes that can be repeated into that format.

       

      To help that there are two versions of the attributes - WaX and WaXList, the idea is that wudetails will convert multiple instances of WaX into a single instance of WaXList.  There is a new function: getListAttribute which returns the attr for the list form - if the attribute can occur multiple times.

      See processing of WaDependency/WaDependencyList in new PR for an example.

       

        Attachments

          Activity

            People

            • Assignee:
              shamser Shamser Ahmed
              Reporter:
              ghalliday Gavin Halliday
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: