CAUCA-9-1-1 / survip

SURVI-Prevention Desktop
2 stars 3 forks source link

Delete report does not work anymore #545

Closed jocelyncardinal closed 5 years ago

jocelyncardinal commented 5 years ago

Describe the bug Delete report does not work anymore (Garbage button) This is strange because it seems to me that the problem has already been successfully fixed and now it comes back?

WORK AROUND For the time being, I just renamed the report with "TO DELETE" and assign to SSI "Compton" that does not use the site yet

Capture d’écran, le 2019-05-22 à 15.23.23.png

iamkinetic commented 5 years ago

I can't see any of these reports. I've also created a new report, then deleted it successfully.

Make sure you see version 1.7.2.x in the menu.

jocelyncardinal commented 5 years ago

Capture d’écran, le 2019-05-22 à 15 38 03

jocelyncardinal commented 5 years ago

C’est un problème d’affichage qui semble se produire sur ma machine (ou avec mon usager ?) …

jocelyncardinal commented 5 years ago

Assures-toi d'avoir "Compton" dans tes SSIs - Je viens de tester avec Patrick Lanctot et voici ...

Capture d’écran, le 2019-05-22 à 15 49 18

iamkinetic commented 5 years ago

ng:///ReportConfigurationModule/SelectTemplateComponent.ngfactory.js:44 ERROR TypeError: Cannot read property 'indexOf' of null at ReportTemplateService.push../src/app/shared/services/report-template.service.ts.ReportTemplateService.saveTemplate (main.js:18163) at SelectTemplateComponent.push../src/app/report-configuration/select-template/select-template.component.ts.SelectTemplateComponent.saveTemplate (main.js:15555) at SelectTemplateComponent.push../src/app/report-configuration/select-template/select-template.component.ts.SelectTemplateComponent.onRowRemoved (main.js:15549) at Object.eval [as handleEvent] (ng:///ReportConfigurationModule/SelectTemplateComponent.ngfactory.js:66) at handleEvent (vendor.js:64697) at callWithDebugContext (vendor.js:65790) at Object.debugHandleEvent [as handleEvent] (vendor.js:65493) at dispatchEvent (vendor.js:62156) at vendor.js:63636 at SafeSubscriber.schedulerFn [as _next] (vendor.js:58006)