When I select an existing Mana comment on a subscription the process completes successfully but in the console this error is returned: Can't return outside a subroutine at /home/vagrant/kohaclone/svc/mana/increment line 48. It looks like that script should return JSON.
Created attachment 90413 [details] [review] Bug 22248: make svc/mana/increment print valid output Test plan: - select an existing comment on a subscription - check the logs, note the error (Can't return outside a subroutine) - apply this patch - select an existing comment again - error should be gone
I cannot reproduce this error to test.... a POST to http://localhost:8081/cgi-bin/koha/svc/mana/increment returns 200 OK with no content body. Browser console is happy and quiet. Perhaps a change on Mana's end?
Any update here Alex?
Same as Ian. > 200 OK with no content body. Browser console is happy and quiet.
Owen: Can you still reproduce the problem?
(In reply to Magnus Enger from comment #5) > Owen: Can you still reproduce the problem? I don't remember how I triggered the problem in the first place! I don't remember what I meant by "When I select an existing Mana comment on a subscription ..." I don't object to closing this bug if that's the consensus.
+1 If someone else manages to reproduce it they will hopefully find this ticket.
I've tried again to reproduce this bug and have failed. I don't see any errors showing up during the subscription add process, during Mana search, or during the process of adding comments to Mana.