-
Notifications
You must be signed in to change notification settings - Fork 451
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
Completed payment does not correctly detects waived vs paid scenario #10834
Labels
Bug:2:Moderate
A bug that is causing problems for a substantial minority of users.
Comments
@touhidurabir Could you have a look? |
touhidurabir
added a commit
to touhidurabir/pkp-lib
that referenced
this issue
Feb 4, 2025
touhidurabir
added a commit
to touhidurabir/ojs
that referenced
this issue
Feb 4, 2025
touhidurabir
added a commit
to touhidurabir/ojs
that referenced
this issue
Feb 4, 2025
This was referenced Feb 4, 2025
@asmecher can you please review the PRs at #10834 (comment) . |
asmecher
pushed a commit
that referenced
this issue
Feb 12, 2025
asmecher
pushed a commit
to pkp/ojs
that referenced
this issue
Feb 12, 2025
Merged both PRs, thanks! |
Bug is fixed. No longer resets to paid when waived is selected and page is reloaded. Will be adding this as part of testing for the Top level actions ticket. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Describe the bug
From @Tribunal33 :
For 3.5 OJS when I have payments enabled and I move from unpaid or paid, to waived it doesn't seem to save it and goes back to paid when I reload the submission. This doesn't happen on 3.4 as far as I could tell.
Investigation
I tracked it down to the change of the completed_payments amount column type - https://github.com/pkp/ojs/blame/main/classes/migration/install/OJSMigration.php#L418
As result this condition is not working as expected - https://github.com/pkp/ojs/blob/main/classes/components/forms/publication/SubmissionPaymentsForm.php#L53
Just improving this condition might be enough.. but better to properly review impact of this change.
What application are you using?
OJS, OMP or OPS version 3.5
PRs
pkp-lib --> #10877
ojs --> pkp/ojs#4638
The text was updated successfully, but these errors were encountered: