Stream: hapi
Topic: Basic Resource bug
Patrick Werner (Nov 02 2016 at 14:11):
It seems there is a bug in HAPI concerning the Basic resource or in the handling of extensions in it, you can POST this resource (just the basic resource without the surrounding bundle) but you can't GET it.
http://stackoverflow.com/questions/40363249/hapi-failing-to-return-basic-resource-after-successful-upload
I reproduced this error on our fresh installed hapi-jpa-example server version 2.0.
James Agnew (Nov 03 2016 at 12:04):
Hi Patrick,
I've updated the github bug and stackoverflow page (man this bug propagated to lots of places! :) ) with an update: This is indeed a bug in HAPI's parser. I'm checking in a fix shortly but FYI it's the empty <div/>
in the narrative that is triggering this.
Patrick Werner (Nov 03 2016 at 12:41):
that was quick. Thanks for the fix!
Last updated: Apr 12 2022 at 19:14 UTC