restart of loader needed when changing meta data of a form (measure ..)
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Global Health Observatory |
Fix Committed
|
Undecided
|
Unassigned |
Bug Description
Dear Jiri,
The loader is using cache to avoid database access but the drawback of this , is that when changing the structure of a form such as adding a measure or changing its type , something that my happened , we've got following error message :
<error>
<external>
An application error has occurred, please contact Technical Support. [Invalid measurement type parameter: MSRTY_RS112_
</external>
<internal>
Invalid measurement type parameter: MSRTY_RS112_
</internal>
<errorType>
APPLICATION<
</error>
After a restart of the loader everything went fine .
As we will probably increase the possibility to change forms or to add measure via the web interface we need to avoid this
Changed in gho: | |
milestone: | none → data-loader-1.0 |
Changed in gho: | |
status: | New → Fix Committed |
All DAO/DTO values should be cached per-session only, not centrally, so a simple logout / login should "fix" the problem.
If that is not enough, the next step is to re-generate the DAO/DTO objects, and disable the caching in object's definition - however, that will have negative performance impact.