medic / angular10-migration

0 stars 0 forks source link

Error while saving new report #157

Closed dianabarsan closed 2 years ago

dianabarsan commented 3 years ago

This is an excerpt from a browser log while running e2e tests:

[SEVERE] http://localhost:4988/medic/form%3AA? - Failed to load resource: the server responded with a status of 404 (Object Not Found)
[SEVERE] http://localhost:4988/main.js?_sw-precache=cb4fc626af87fb815e7182920e88298d 342034:25 TypeError: Cannot read property 'doc' of undefined
    at ReportsAddComponent.save (http://localhost:4988/main.js?_sw-precache=cb4fc626af87fb815e7182920e88298d:329443:30)
    at ReportsAddComponent_Template_mm_enketo_onSubmit_10_listener (http://localhost:4988/main.js?_sw-precache=cb4fc626af87fb815e7182920e88298d:329485:170)
    at executeListenerWithErrorHandling (http://localhost:4988/main.js?_sw-precache=cb4fc626af87fb815e7182920e88298d:146167:12)
    at wrapListenerIn_markDirtyAndPreventDefault (http://localhost:4988/main.js?_sw-precache=cb4fc626af87fb815e7182920e88298d:146207:18)
    at SafeSubscriber._next (http://localhost:4988/main.js?_sw-precache=cb4fc626af87fb815e7182920e88298d:158916:11)
    at SafeSubscriber.__tryOrUnsub (http://localhost:4988/main.js?_sw-precache=cb4fc626af87fb815e7182920e88298d:286332:12)
    at SafeSubscriber.next (http://localhost:4988/main.js?_sw-precache=cb4fc626af87fb815e7182920e88298d:286258:16)
    at Subscriber._next (http://localhost:4988/main.js?_sw-precache=cb4fc626af87fb815e7182920e88298d:286174:24)
    at Subscriber.next (http://localhost:4988/main.js?_sw-precache=cb4fc626af87fb815e7182920e88298d:286139:14)
    at EventEmitter_.next (http://localhost:4988/main.js?_sw-precache=cb4fc626af87fb815e7182920e88298d:285825:21)