Symptom
When creating a URL Mashup and selecting an Extension Field as a Mandatory Parameter, the Mashup will launch even if the Extension Field has no data (empty).
Environment
SAP Hybris Cloud for Customer
Reproducing the Issue
-
Create a URL Mashup
- Select an Extension Field as a Mandatory Parameter
- Add the Mashup to the screen
- Leave the Extension Field Empty
- Launch the Mashup
Cause
The Mandatory check is not for the runtime while the Mashup is loading but when the Mashup is added in the screen.
Example:
You have the Extension Field XYZ and you set it as a Mandatory Parameter when creating the URL Mashup.
You want to add the Mashup to the Account screen but the field XYZ is not visible. The Mashup won't be added until you set the Binding for the Field.
Resolution
If you want to set the Extension Field as a Mandatory Parameter, you need to set the Extension Field as Mandatory in the screen.
Keywords
"URL Mashup" "Mandatory" "Parameter" , KBA , AP-RC-GEN-MSH , Mashups , How To