Bug 7987 - viewing a single payment generates a fatal error
viewing a single payment generates a fatal error
Status: RESOLVED FIXED
Product: OJS
Classification: Unclassified
Component: Payments
2.4.1
All All
: P3 normal
Assigned To: PKP Support
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2012-10-29 03:08 PDT by Jason Nugent
Modified: 2012-10-29 03:20 PDT (History)
0 users

See Also:
Version Reported In:
Also Affects:


Attachments
Patch for OJS 2.4.1 (2.44 KB, patch)
2012-10-29 03:19 PDT, Jason Nugent
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Jason Nugent 2012-10-29 03:08:10 PDT
This is an extension of the problem found in bug #7933.  The same problem exists in viewPayment -- there is a call to payment->getUsername() which is incorrect.
Comment 1 Jason Nugent 2012-10-29 03:19:25 PDT
Created attachment 3882 [details]
Patch for OJS 2.4.1
Comment 2 Jason Nugent 2012-10-29 03:20:04 PDT
fix non-existent call when viewing payment
https://github.com/pkp/ojs/commit/5d600286415041cc07a8ef12909d7574fc42539a
Comment 3 Jason Nugent 2012-10-29 03:20:04 PDT
fix non-existent call when viewing payment
https://github.com/pkp/ojs/commit/1d312ebfd667e8312a528f7270f54485f328d529