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.
Created attachment 120884 [details] [review] Bug 28332: Fix data encoding when requesting Mana token
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
Created attachment 128851 [details] [review] 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.
Created attachment 128852 [details] [review] Bug 28332: Fix data encoding when requesting Mana token
Created attachment 128853 [details] [review] 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
Created attachment 128854 [details] [review] Bug 28332: Fix data encoding when requesting Mana token Authored-by: Alex Arnaud
Created attachment 128855 [details] [review] 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
Created attachment 128944 [details] [review] Bug 28332: Fix data encoding when requesting Mana token Authored-by: Alex Arnaud Signed-off-by: David Nind <david@davidnind.com>
Created attachment 128945 [details] [review] 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>
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?