Check Folio-sample-modules v Okapi 2.0

Description

See if anything has broken

Environment

None

Potential Workaround

None

Checklist

hide

TestRail: Results

Activity

Show:

Heikki LevantoSeptember 22, 2017 at 11:28 AM

There was indeed a bug in reaing chunked POST data, when the length contained hex characters A-Z.

Not quite sure why it pops up now, maybe a newer version of curl has started to POST data in chunked encoding, or the perl libraries have changed?

Anyway, it is fixed now. At least the exmaple.pl, runs happily and ends with Simple here. Hello module said 'Hello, world'.

Heikki LevantoSeptember 22, 2017 at 10:18 AM

Strange, I demoed that one to Jason yesterday in the meeting.

But yes, I can confirm it hangs. Running directly against the module, I see it fails with
noformat
simple.pl received a POST request for /hello
Use of uninitialized value $ENV{"HTTP_TRANSFER_ENCODING"} in string ne at ./simple.pl line 165.
noformat

David CrossleySeptember 22, 2017 at 7:50 AM

I followed the instructions for each of the three sample modules, and they are successful.

For the simple-perl module, the final step in this section to "post any valid JSON" does hang, then gets a 500 with "Server Timeout on process". Same on both macOS and Ubuntu Linux. That same step is okay with the other two sample modules.

Heikki LevantoSeptember 21, 2017 at 6:38 PM

Simple-perl works. Added a few comments on necessary perl modules to run on debian

Adam DickmeissSeptember 21, 2017 at 6:19 PM

I think I did. But it doesn't hurt if you check it out. Remember to pull!

Done

Details

Assignee

Reporter

Labels

Priority

TestRail: Cases

Open TestRail: Cases

TestRail: Runs

Open TestRail: Runs

Created September 21, 2017 at 6:04 PM
Updated October 27, 2017 at 9:34 AM
Resolved October 27, 2017 at 9:34 AM
TestRail: Cases
TestRail: Runs