NPE while processing malformed transaction
draakhan opened this issue · 1 comments
draakhan commented
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;
niquola commented
Thx, we have to validate it little bit ;)