Skip to content
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

Server error when saving recipient region #1302

Closed
PG-Momik opened this issue Sep 6, 2023 · 1 comment
Closed

Server error when saving recipient region #1302

PG-Momik opened this issue Sep 6, 2023 · 1 comment
Assignees
Labels
Bug Inconsistencies or issues which will cause an issue or problem

Comments

@PG-Momik
Copy link
Collaborator

PG-Momik commented Sep 6, 2023

Organization Name: Impunity Watch
Activity Id: 2375
Environment: Dev
Issue: Error 500 when saving recipient region
Url : https://iatipublisher-dev.yipl.com.np/activity/2375#activity_scope

@PG-Momik PG-Momik added the Bug Inconsistencies or issues which will cause an issue or problem label Sep 6, 2023
@PG-Momik PG-Momik self-assigned this Sep 6, 2023
@PG-Momik
Copy link
Collaborator Author

PG-Momik commented Sep 6, 2023

Closing this issue because the issue has been resolved.

Cause:

Branch #885 that was merged in develop was missing some code that registered validation rule, specifically:

        Validator::extend('single_allocated_region_total_mismatch', function () {
            return false;
        });

@PG-Momik PG-Momik closed this as completed Sep 6, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Inconsistencies or issues which will cause an issue or problem
Projects
None yet
Development

When branches are created from issues, their pull requests are automatically linked.

1 participant