-
Notifications
You must be signed in to change notification settings - Fork 20
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Mandatory fields in Project Focus (My RSR Project Editor) #2351
Comments
Same thing in RSR UAT env. |
Annabelle found same issue in RSR Live (Watershed) |
Gabriel, you're right! Geert has just changed the settings in http://rsr.test.akvo.org/en/admin/, so now only sector is mandatory. The completion bar is yellow, not matter how many fields you enter though. |
After having a look, I agree with theory of @zzgvh that this behaviour is caused by This status is not implemented in the project editor, or in the If we wanted to implement this, we would have to edit If we don't want to implement this, we just need to disable "Read only" as an option in the django admin |
In section 8 there are two linked fields for the sector vocabulary and sector code. The bug where you can never fully complete section 8 is because two of the three sector code fields are always hidden, but are counted among the mandatory fields. Fix by adding a check in markMandatoryFields() to exclude fields that have a parent with the always-hidden class.
Removed the READ_ONLY_ACTION and all references to it for now.
Remove commented references to read-only fields in ProjectEditorValidation. Also small edit in project_editor.py
#2351 mandatory fields accounting bug
In section 8 there are two linked fields for the sector vocabulary and sector code. The bug where you can never fully complete section 8 is because two of the three sector code fields are always hidden, but are counted among the mandatory fields. Fix by adding a check in markMandatoryFields() to exclude fields that have a parent with the always-hidden class.
Removed the READ_ONLY_ACTION and all references to it for now.
Remove commented references to read-only fields in ProjectEditorValidation. Also small edit in project_editor.py
A note for the deployment of this fix. Check that there are no validations set to Read-only. If there are any they should be removed before deploying, as they will break the admin page for project editor validation sets. |
Fixed in #2357 |
I encountered the following issue in RSR Test env:
This is true when IATI or DGIS standard was checked in the Project settings.
Please review. Thanks!
The text was updated successfully, but these errors were encountered: