Closed gvpalsson closed 8 months ago
Hi @gvpalsson I have resolved this issue with fix #8 So its included in the release feb 24. Regards Ronny
@Rocko1204 After an update to v36.0.10 the issue still appears:
I did some research around it, and it looks like it happens because of %
character in picklist API Name and / or label, which is not handled properly in PicklistEnabler.ts.
Here're changes that I tested already, and it seem to be handling %
properly without using decodeURI()
: https://github.com/flxbl-io/sfp/compare/main...michallachowski:sfp:picklist-enabler-decode-uri:
decodeURIComponent()
is not being used. Do we need to call these methods here?decodeURI()
on picklist api name and label? What was the purpose of implementing it in this way?At this moment it looks to me like we could skip calls of decodeURIComponent()
and decodeURI()
, it doesn't seem to change anything (apart from the failure of processing other picklists) when %
is in picklist name / label. However, please correct me if I'm wrong here.
@Rocko1204 @azlam-abdulsalam Kindly please let me know if you've any thoughts on this.
Describe the bug During the run of the validate command the error "Unable to process Picklist update due to URI malformed" is reported when processing the picklist update for one of our packages. The picklist processing terminates so all picklist fields left to be updated are not processed causing inconsistency in our orgs.
To Reproduce
Expected behavior The sfp validate command should report a failed validation so the picklist updater will not break for package deployments.
Screenshots
Platform Details (please complete the following information):
Additional context Add any other context about the problem here.