Details
-
Sub-task
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
None
-
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 gordonsmith 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.