Open joserwan opened 3 years ago
Thanks, @joserwan, we will review this and share our updates here.
I have reviewed this issue, and it is indeed a bug. Thanks for bringing it to our attention, @joserwan. I have created a ticket in BCGov's JIRA backlog (DM-728). Some notes for posterity:
src/back-end/lib/resources/opportunity/sprint-with-us.ts
to ensure the SWU opportunity is valid before publishing.
Classic steps are :
But an admin can go from step 1. to step 3. Then, no validation is done at step 2.
Relevant code parts :
But validations take place while Reviewal step :
Found this bug while converting postman tests to Mocha (https://github.com/CQEN-QDCE/digital_marketplace/tree/experimentation/tests/back-end/unit/lib/api)