The intent of this development is to build a product that will support digital procurement needs for the BC Government including services such as, but not limited to, Sprint With Us, Code With Us, The Procurement Concierge.
Apache License 2.0
13
stars
17
forks
source link
dm1103: fix incorrect button text when a proposal has already been submitted #339
The http crud api was intending to return a ResponseValidation wrapping a CWUOpportunityProposal, but it was actually just returning the unwrapped proposal object. This was the root cause of the failed isValid check when determining whether an existing proposal was present or not.
The fix was to ensure the http crud api wrapped the proposal object in a ResponseValidation. Validation was already being performed by the readMany crud action
This PR closes issue: [DM-1103]
Proposed changes:
ResponseValidation
wrapping aCWUOpportunityProposal
, but it was actually just returning the unwrapped proposal object. This was the root cause of the failedisValid
check when determining whether an existing proposal was present or not.ResponseValidation
. Validation was already being performed by thereadMany
crud action