[Bug 28332] New: Requesting Mana token with accented name fails
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=28332 Bug ID: 28332 Summary: Requesting Mana token with accented name fails Change sponsored?: --- Product: Koha Version: master Hardware: All OS: All Status: NEW Severity: normal Priority: P5 - low Component: Mana-kb Assignee: koha-bugs@lists.koha-community.org Reporter: alex.arnaud@biblibre.com CC: alex.arnaud@biblibre.com Test plan: - Go to Administration Share content with Mana KB (cgi-bin/koha/admin/share_content.pl) - in "Configure Mana KB" part, set your email and a name with accent (Université Foo), - click on "Send to Mana KB" => Fail. No mana token. -- You are receiving this mail because: You are watching all bug changes. You are the assignee for the bug.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=28332 --- Comment #1 from Alex Arnaud <alex.arnaud@biblibre.com> --- Created attachment 120884 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=120884&action=edit Bug 28332: Fix data encoding when requesting Mana token -- You are receiving this mail because: You are watching all bug changes. You are the assignee for the bug.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=28332 Alex Arnaud <alex.arnaud@biblibre.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |Needs Signoff -- You are receiving this mail because: You are watching all bug changes. You are the assignee for the bug.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=28332 Alex Arnaud <alex.arnaud@biblibre.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Patch complexity|--- |Trivial patch -- You are receiving this mail because: You are watching all bug changes. You are the assignee for the bug.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=28332 Hayley Pelham <hayleypelham@catalyst.net.nz> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|Needs Signoff |Failed QA CC| |hayleypelham@catalyst.net.n | |z --- Comment #2 from Hayley Pelham <hayleypelham@catalyst.net.nz> --- I get an error after applying the patch and using a name with an accent to request the token Undefined subroutine &CGI::Compile::ROOT::home_vagrant_kohaclone_admin_share_content_2epl::encode_json called at /home/vagrant/kohaclone/admin/share_content.pl line 70 -- You are receiving this mail because: You are the assignee for the bug. You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=28332 Hayley Pelham <hayleypelham@catalyst.net.nz> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|Failed QA |Needs Signoff -- You are receiving this mail because: You are the assignee for the bug. You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=28332 --- Comment #3 from Hayley Pelham <hayleypelham@catalyst.net.nz> --- Created attachment 128851 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=128851&action=edit Bug 28332: (follow-up) Include encode_json method in admin/share_content.pl Test plan: - Go to Administration Share content with Mana KB (cgi-bin/koha/admin/share_content.pl) - In "Configure Mana KB" part, set your email and a name with accent (Université Foo), - Click on "Send to Mana KB" => Fail. No mana token. -- You are receiving this mail because: You are the assignee for the bug. You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=28332 Hayley Pelham <hayleypelham@catalyst.net.nz> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #120884|0 |1 is obsolete| | --- Comment #4 from Hayley Pelham <hayleypelham@catalyst.net.nz> --- Created attachment 128852 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=128852&action=edit Bug 28332: Fix data encoding when requesting Mana token -- You are receiving this mail because: You are watching all bug changes. You are the assignee for the bug.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=28332 Hayley Pelham <hayleypelham@catalyst.net.nz> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #128851|0 |1 is obsolete| | --- Comment #5 from Hayley Pelham <hayleypelham@catalyst.net.nz> --- Created attachment 128853 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=128853&action=edit Bug 28332: (follow-up) Include encode_json method in admin/share_content.pl Test plan: - Go to Administration Share content with Mana KB (cgi-bin/koha/admin/share_content.pl) - In "Configure Mana KB" part, set your email and a name with accent (Université Foo), - Click on "Send to Mana KB" => Fail. No mana token. Sponsored-by: Catalyst IT -- You are receiving this mail because: You are watching all bug changes. You are the assignee for the bug.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=28332 Hayley Pelham <hayleypelham@catalyst.net.nz> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #128852|0 |1 is obsolete| | --- Comment #6 from Hayley Pelham <hayleypelham@catalyst.net.nz> --- Created attachment 128854 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=128854&action=edit Bug 28332: Fix data encoding when requesting Mana token Authored-by: Alex Arnaud -- You are receiving this mail because: You are watching all bug changes. You are the assignee for the bug.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=28332 Hayley Pelham <hayleypelham@catalyst.net.nz> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #128853|0 |1 is obsolete| | --- Comment #7 from Hayley Pelham <hayleypelham@catalyst.net.nz> --- Created attachment 128855 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=128855&action=edit Bug 28332: (follow-up) Include encode_json method in admin/share_content.pl Test plan: - Go to Administration Share content with Mana KB (cgi-bin/koha/admin/share_content.pl) - In "Configure Mana KB" part, set your email and a name with accent (Université Foo), - Click on "Send to Mana KB" => Fail. No mana token. Sponsored-by: Catalyst IT -- You are receiving this mail because: You are the assignee for the bug. You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=28332 David Nind <david@davidnind.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|Needs Signoff |Signed Off -- You are receiving this mail because: You are watching all bug changes. You are the assignee for the bug.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=28332 David Nind <david@davidnind.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #128854|0 |1 is obsolete| | --- Comment #8 from David Nind <david@davidnind.com> --- Created attachment 128944 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=128944&action=edit Bug 28332: Fix data encoding when requesting Mana token Authored-by: Alex Arnaud Signed-off-by: David Nind <david@davidnind.com> -- You are receiving this mail because: You are the assignee for the bug. You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=28332 David Nind <david@davidnind.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #128855|0 |1 is obsolete| | --- Comment #9 from David Nind <david@davidnind.com> --- Created attachment 128945 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=128945&action=edit Bug 28332: (follow-up) Include encode_json method in admin/share_content.pl Test plan: - Go to Administration Share content with Mana KB (cgi-bin/koha/admin/share_content.pl) - In "Configure Mana KB" part, set your email and a name with accent (Université Foo), - Click on "Send to Mana KB" => Fail. No mana token. Sponsored-by: Catalyst IT Signed-off-by: David Nind <david@davidnind.com> -- You are receiving this mail because: You are watching all bug changes. You are the assignee for the bug.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=28332 David Nind <david@davidnind.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |david@davidnind.com Text to go in the| |This fixes the Mana release notes| |configuration so that | |accented names (such as | |Université Foo) can be used | |when requesting the Mana | |token. Before this, the | |account registration would | |fail and no token was | |received back. -- You are receiving this mail because: You are the assignee for the bug. You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=28332 Jonathan Druart <jonathan.druart+koha@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jonathan.druart+koha@gmail. | |com --- Comment #10 from Jonathan Druart <jonathan.druart+koha@gmail.com> --- Alex, I've tried with "✔ ❤ ★" and I get an error from the server: "An error occurred, mana server returned: Internal Server Error". Do you have access to the test server to investigate what's happening? -- You are receiving this mail because: You are the assignee for the bug. You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=28332 Jonathan Druart <jonathan.druart+koha@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|Signed Off |Failed QA -- You are receiving this mail because: You are watching all bug changes. You are the assignee for the bug.
participants (1)
-
bugzilla-daemon@bugs.koha-community.org