fhirbase-plv8 icon indicating copy to clipboard operation
fhirbase-plv8 copied to clipboard

NPE while processing malformed transaction

Open draakhan opened this issue 8 years ago • 1 comments

Hi!

Missing request in transaction entry is intended. Tested on v1.3.0.22

fhirbase=# SELECT fhir_transaction('{"resourceType":"Bundle","type":"transaction","entry":[{"resource":{"resourceType":"Patient","active":true,"name":[{"family":["NameUpdated"]}]}}]}');
ERROR:  TypeError: Cannot read property 'url' of undefined
DETAIL:  plv8_init() LINE 6700:       url = entry.request.url;

draakhan avatar Jun 14 '16 09:06 draakhan

Thx, we have to validate it little bit ;)

niquola avatar Jun 14 '16 11:06 niquola