Ticket #1003 (closed Defect: fixed)
Entering a non-existing assoc type as Custom Association Type corrupts the DB
Reported by: | jri | Owned by: | jri |
---|---|---|---|
Priority: | Blocker | Milestone: | Release 4.8.3 |
Component: | DeepaMehta Standard Distribution | Version: | 4.8.2 |
Keywords: | Cc: | dgf, Malte, JuergeN | |
Complexity: | 3 | Area: | |
Module: | deepamehta-typeeditor |
Description
When editing an assoc def and entering a non-existing assoc type in the "Custom Association Type" field the DB is corrupted. The solution is to ignore invalid input and displaying a warning.
This problem occur only when editing an assoc def (= an association). In contrast when editing a type (= a topic) invalid user input is ignored and a warning is displayed.
Note: you can't create new association types by typing in the "Custom Association Type" field. You can only choose among the existing association types. If you want create another association type use the Create menu first.
Thanks to JuergeN for addressing this issue!
For the original issue, and for hints about repairing a corrupted DB, see #996.