https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=38630

David Nind <da...@davidnind.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |da...@davidnind.com

--- Comment #2 from David Nind <da...@davidnind.com> ---
I had a go at testing, but didn't have any luck with step 8.

1. Are these commands issued from within the KTD shell, or your local machine?
I tried both (with a restart after each command).

2. I get null as the result:

curl -sSL "127.0.0.1:8081/api/v1/items/578" \
-H 'x-koha-embed: +strings' \
-H "Cookie: KohaOpacLanguage=en; CGISESSID=f44da5bb4f1805fced9004f8dab49160" \
| jq -r '._strings.item_type_id.str'
null

3. The session id keeps on changing. If I go to access the staff interface
again, I get session time out, please log in again, and the session id is
different (as expected ?).

Testing notes (using KTD):
1. Step 3: 
   - Chromium-based browsers: More tools > Developer tools > Application >
Storage > Cookies > [Select website] > CGISESSID
2. Step 4:
   - Install a translation: koha-translate --install fr-FR --dev kohadev
   - Koha administration > System preferences > I18/L10N > OPACLanguages and
StaffInterfaceLanguages [select languages to enable], opaclanguagedisplay -
allow
3. Step 8, from within KTD (also tried from local machine):
   - sudo apt-get install jq
   - first execution - result = null:
curl -sSL "127.0.0.1:8081/api/v1/items/578" \
-H 'x-koha-embed: +strings' \
-H "Cookie: KohaOpacLanguage=en; CGISESSID=f44da5bb4f1805fced9004f8dab49160" \
| jq -r '._strings.item_type_id.str'
null

-- 
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to