Programs are cached the first time ProgramModelService getPrograms() is called. Currently the cache is only updated when the details of a program are edited. If a program is deleted or queries are edited, the user must refresh the page to see that the changes have taken effect. I added code to update the program cache when
a program is created
a program is deleted
a query is modified
a query is created
a query is deleted
This also fixes the problem of potentially creating a program where the program queries and program details have a different guid as discussed in #81.
Now when you delete a program from the program overview, the program list UI will be updated immediately.
I also have the fix for the program deletion while in program-edit here (#80).
Fixes #81. Fixes #80.
Programs are cached the first time ProgramModelService getPrograms() is called. Currently the cache is only updated when the details of a program are edited. If a program is deleted or queries are edited, the user must refresh the page to see that the changes have taken effect. I added code to update the program cache when
This also fixes the problem of potentially creating a program where the program queries and program details have a different guid as discussed in #81.
Now when you delete a program from the program overview, the program list UI will be updated immediately.
I also have the fix for the program deletion while in program-edit here (#80).