Defects
SBM: Rest Grid does not return any results when the Rest call contains dynamic parameters
ID: | D27848 | |
Published: | 08 July 2022 | |
Updated: | 12 August 2022 |
Defect Id
DEF346927
Originally Reported Against
SBM 12.0
Assigned To
SBM 12.1
Status
In Progress
Description
As an example, the Rest call to ZMF looks like this:
http://SERVER:8080/almsernet/ZMF/JSON/ZMF_SERVER:PORT/CMPONENT/PKG_COMP/LIST/package=XXXXX,component=
With this call the XXXXX section is dynamic and will change with every SBM item.
When this is setup in Composer, the Rest Grid URL will look like this: (Notice the SBM field that is used to pass in the value to the URL.)
http://SERVER:8080/almsernet/ZMF/JSON/ZMF_SERVER:PORT/CMPONENT/PKG_COMP/LIST/package=,component=
However, when the browser loads the form, the URL used by the Rest Grid is cut off at the dynamic portion to look like this:
http://SERVER:8080/almsernet/ZMF/JSON/ZMF_SERVER:PORT/CMPONENT/PKG_COMP/LIST/package=
This is an invalid URL and the Rest Grid displays nothing.
This regression was caused by a security fix that was made in SBM 12.
Resolution
Currently, no workaround