Ticket #1058 (closed Defect: fixed)

Opened 8 years ago

Last modified 8 years ago

Webclient start fails if topic ID in URL is invalid

Reported by: jri Owned by: jri
Priority: Major Milestone: Release 4.8.5
Component: DeepaMehta Standard Distribution Version: 4.8.4
Keywords: Cc: dgf, Malte, JuergeN
Complexity: 3 Area: Robustness
Module: deepamehta-webclient

Description

The client-side error is:

TopicmapViewmodelError: set_topic_selection(76941) failed. Topic not in topicmap or not visible.

E.g. this happens if you do this:

  1. Open a topicmap you have no write permission to.
  2. Do a search or reveal any topic through navigation. The revealed topic's ID now appears in the browser URL. Note: DM does not add the topic to the topicmap as you have no write permission.
  3. Press browser reload.

For a related (meanwhile solved) problem see #1017.

Change History

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

In 971b95e0339daedf801dadac72c4b7170609485c/deepamehta:

Webclient launch: check topic ID validity (#1058).

If the topic ID contained in the Webclient launch URL is not valid it is ignored.
The Webclient starts properly. No topic is selected.

A topic ID is regarded valid if all applies:

  • The topic is part of the selected topicmap, and is not hidden
  • The topic is READable by the current user

See #1058.

comment:2 Changed 8 years ago by jri

  • Status changed from new to accepted

comment:3 Changed 8 years ago by jri

  • Status changed from accepted to closed
  • Resolution set to fixed

Fixed in 4.8.5

Note: See TracTickets for help on using tickets.