Test Environment: Fabric 1.4.x.
Observation: It is possible to set State Based Endorsements for invalid Key (assetId) OR invalid org MSPID policy.
Description: Setting the StateBased Endorsement , doesn’t validate or return error, but succeeds (for both state and private state API’s) with invalid key or policy based on invalid MSPID's.
setStateValidationParameter(key: string, ep: Buffer)
setPrivateDataValidationParameter(collection: string, key: string, ep: Buffer)
Is this the expected behaviour?