Ticket #294 (closed Defect: fixed)

Opened 13 years ago

Last modified 13 years ago

Webclient doesn't start

Reported by: jri Owned by: jri
Priority: Critical Milestone: Release 4.1
Component: DeepaMehta Standard Distribution Version: 4.0.12-SNAPSHOT
Keywords: Cc: dgf, Malte
Complexity: 5 Area:
Module: deepamehta-topicmaps

Description (last modified by jri) (diff)

The browser's error console shows:

POST http://localhost:8080/core/topic 401 (Unauthorized)

This happens with the "accesscontrol" branch when DM was started without DB.

Problem cause:
The default topicmap can't be created. Its creation is initiated at client-side via a POST request. By default POST requests are not allowed before logged in (#293).
(Same applies to the creation of the default workspace.)

Solution:
Creation of the default topicmap (and the default workspace) must be done at server-side on POST_INSTALL_PLUGIN.

Workaround:
Set dm4.security.write_requires_login to false in global POM and restart DM.

Change History

comment:1 Changed 13 years ago by jri

  • Status changed from new to accepted
  • Version set to 4.0.12-SNAPSHOT
  • Description modified (diff)

comment:2 Changed 13 years ago by Jörg Richter

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

Extend Topicmaps service (#294).

2 new service methods:

  • void createTopicmap(String name, String topicmapRendererUri)
  • void registerTopicmapRenderer(TopicmapRenderer? renderer)

New concept: Topicmap renderers have a server-side part as well.
This is specified by new interface TopicmapRenderer?.

In Preparation for bug fix #294.
Not yet fixed.

See ticket 294.

comment:3 Changed 13 years ago by jri

  • Status changed from closed to reopened
  • Resolution fixed deleted

Was closed by mistake

comment:4 Changed 13 years ago by Jörg Richter

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

Move topicmap creation to server-side (#294).

Note: in contrast to the original description there is no problem with workspace creation.
Workspaces are created at server-side already.

Close ticket 294.

comment:5 Changed 13 years ago by Jörg Richter

Extend Topicmaps service (#294).

2 new service methods:

  • void createTopicmap(String name, String topicmapRendererUri)
  • void registerTopicmapRenderer(TopicmapRenderer? renderer)

New concept: Topicmap renderers have a server-side part as well.
This is specified by new interface TopicmapRenderer?.

In Preparation for bug fix #294.
Not yet fixed.

See ticket 294.

comment:6 Changed 13 years ago by Jörg Richter

Move topicmap creation to server-side (#294).

Note: in contrast to the original description there is no problem with workspace creation.
Workspaces are created at server-side already.

Close ticket 294.

Note: See TracTickets for help on using tickets.