Ticket #998 (closed Defect: fixed)

Opened 5 years ago

Last modified 4 years ago

Corrupted topicmap breaks Webclient

Reported by: jri Owned by: jri
Priority: Major Milestone: Release 4.8.3
Component: DeepaMehta Standard Distribution Version: 4.8.2
Keywords: Cc: dgf, Malte, JuergeN
Complexity: 2 Area:
Module: deepamehta-webclient

Description

The Webclient should be more robust against corrupted topicmaps.
Corrupted associations should be suppressed from being rendered, and topicmap rendering should continue.

Change History

comment:1 Changed 5 years ago by jri

  • Status changed from new to accepted

comment:2 Changed 5 years ago by Jörg Richter <jri@…>

In 3a9fc88b4d0500a69784d48a360725eee9285840/deepamehta:

Webclient: more robust topicmap rendering (#998).

Corrrupted associations are suppressed from being rendered and are reported in the browser console.
The Webclient still renders the non-corrupted parts of the topicmap.

See #998.

comment:3 Changed 5 years ago by jri

IMPORTANT: DM must prohibit the user from manually deleting associations of type Topic Mapcontext as this might corrupt the topicmap (in particular if an association of the involved topic is visible in the topicmap too).

Will be fixed in DM 4.8.3.

Thank you, JuergeN, for remembering!

comment:4 Changed 5 years ago by Jörg Richter <jri@…>

In 7a7fa90ff513cbe99eacea82cfdce0ec100143bd/deepamehta:

Fix Mapcontext workspace assignement, pt.1 (#998).

A new migration deletes the workspace assignment of "Topic Mapcontext" and "Association Mapcontext" associations.

As a consequence these associations are not user-deletable anymore.

Pending: prevent workspace assignment for newly created Mapcontext associations.

See #998.

comment:5 Changed 5 years ago by Jörg Richter <jri@…>

In 8db3a65acd5614236026213e977a48017c643415/deepamehta:

Fix Mapcontext workspace assignement, pt.2 (#998).

Newly created Mapcontext associations have no workspace assignment.
As a consequence these associations are not user-deletable anymore.

Corrupting a topicmap through manual deleting a "Topic Mapcontext" or "Association Mapcontext" association is not possible anymore.

Thank you JuergeN for pointing to this issue!

See #998.

comment:6 Changed 5 years ago by Jörg Richter <jri@…>

In b71dcbd8f493c534f7a6497fb790245adb54e2c6/deepamehta:

Revise reporting of corrupt topicmaps (#998).

Instead of logging massively repeated messages to the browser console (where the user is not aware of them) the broken associations are collected and reported once through an alert box.

See #998.

comment:7 Changed 4 years ago by jri

  • Status changed from accepted to closed
  • Resolution set to fixed
Note: See TracTickets for help on using tickets.