You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
While testing the validation and submission process for the constitution type proposal form, I encountered several issues:
1. Save Draft and Continue Button Visibility:
The "Save Draft and Continue" button is visible even when the New Constitution URL field is empty, despite it being a required field for this type of proposal.
Additionally, clicking "Save Draft" or "Submit Proposal" with an empty New Constitution URL field throws an error on the backend-triggered
2. Hide log for production
log is visible for New Constitution URL, Guardrails Script URL, Guardrails Script Hash
3. URL Format Discrepancy:
URLs without https:// or www. are accepted on the frontend but are rejected by the backend.
4. Save Draft and Continue Button Visibility for Guardrails Script:
The "Save Draft and Continue" button is visible when the guardrails script data is enabled and the Guardrails Script URL and Guardrails Script hash fields are empty.
Clicking "Save Draft" or "Submit Proposal" with empty guardrails script URL and hash fields throws an error on the backend-triggered
@nebojsact I have updated the PDF version to 0.6.2 locally and verified whether the above changes were applied. However, points 3 and 4 are still reproducible.
3. URL Format Discrepancy:
The frontend accepts URLs without https:// or www., but the backend rejects them.
4. "Save Draft and Continue" Button Visibility for Guardrails Script:
The "Save Draft and Continue" button remains visible when the guardrails script data is enabled, even if the Guardrails Script URL and Guardrails Script Hash fields are empty.
It is strange, but I'll check again, I'm pretty sure that I correct this and URL must have protocol (http s or ipfs), for second, Do you like to make both fields mandatory if the box checked?
Area
Proposal Pillar
Domain
https://govtool.cardanoapi.io/
Which wallet were you using?
No response
Context
While testing the validation and submission process for the constitution type proposal form, I encountered several issues:
1. Save Draft and Continue Button Visibility:
New Constitution URL
field is empty, despite it being a required field for this type of proposal.New Constitution URL
field throws an error on the backend-triggered2. Hide log for production
New Constitution URL
,Guardrails Script URL
,Guardrails Script Hash
3. URL Format Discrepancy:
https://
orwww.
are accepted on the frontend but are rejected by the backend.4. Save Draft and Continue Button Visibility for Guardrails Script:
Clicking "Save Draft" or "Submit Proposal" with empty guardrails script URL and hash fields throws an error on the backend-triggered
Steps to reproduce
Updates to the Constitution
Actual behavior
Expected behavior
The text was updated successfully, but these errors were encountered: