Ticket #74 (accepted Defect)
Cached association definitions are not updated
Reported by: | jri | Owned by: | jri |
---|---|---|---|
Priority: | Major | Milestone: | |
Component: | DeepaMehta Standard Distribution | Version: | 4.0.2 |
Keywords: | Cc: | dgf, Malte | |
Complexity: | 5 | Area: | Application Framework / API |
Module: | deepamehta-core |
Description
When a child type's URI is changed and then a parent instance is clicked the server crashes with "Topic type xxx not found" where xxx is the old child type's URI.
Change History
comment:3 Changed 12 years ago by jri
- Cc dgf, Malte added
- Complexity changed from 3 to 5
- Area set to Application Framework / API
- Module changed from deepamehta-coretypes to deepamehta-core
- Milestone set to Release 4.1
comment:4 Changed 12 years ago by jri
This problem applies to migrations as well, e.g. when changing a type's URI via setUri().
Solution:
Once a type's URI is changed *all* direct parent types must be updated automatically (resp. reloaded) and UPDATE_TOPIC_TYPE directives must be send to the Webclient.
Workaround (for migrations):
After changing a type's URI restart the server and only now proceed with the migrations relying on the changed URI.