Skip to content

fix(certification): fix broken changes requested button on YSWS returned projects#683

Open
ObayM wants to merge 1 commit into
hackclub:mainfrom
ObayM:fix/request-recertification
Open

fix(certification): fix broken changes requested button on YSWS returned projects#683
ObayM wants to merge 1 commit into
hackclub:mainfrom
ObayM:fix/request-recertification

Conversation

@ObayM

@ObayM ObayM commented Jun 25, 2026

Copy link
Copy Markdown
Contributor

When a project was approved but later returned by YSWS and then sent back by Shipwrights again, the state machine failed to transition because return_for_changes only allowed transitions from the :under_review state. This left the project in :approved, which hid the recertification modal and disabled the "Changes requested" button.

So I updated the AASM configuration to allow the return_for_changes transition from both :under_review and :approved states.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant