Project

General

Profile

Actions

feature request #10361

closed

Managed terms and term collections should not be editable in taxeditor

Added by Andreas Müller about 1 year ago. Updated 12 months ago.

Status:
Closed
Priority:
Highest
Assignee:
Category:
taxeditor
Target version:
Start date:
Due date:
% Done:

100%

Estimated time:
Severity:
normal

Description

They can be recognized by calling TermBase.isManaged(). This holds for DefinedTermBase and TermCollection including TermVocabulary.
So, both, the vocabulary editor as well as the term tree editor should be adapted. Also the Character editor may need adaption.


Related issues

Related to EDIT - feature request #10133: Improve ontology state vocabulariesClosedAndreas Müller

Actions
Related to EDIT - feature request #9771: Implement Cdm2Cdm for vocabulariesClosedAndreas Müller

Actions
Actions #1

Updated by Andreas Müller about 1 year ago

I added the transient method isManaged() to all TermBase

Actions #2

Updated by Andreas Müller about 1 year ago

  • Priority changed from New to Highest
Actions #3

Updated by Katja Luther about 1 year ago

  • Status changed from New to Resolved
  • Assignee changed from Katja Luther to Andreas Müller

This should be fixed.

Actions #4

Updated by Andreas Müller about 1 year ago

  • Target version changed from Release 5.49 to Release 5.40
Actions #5

Updated by Andreas Müller about 1 year ago

  • Status changed from Resolved to Feedback
  • Assignee changed from Andreas Müller to Katja Luther
  • % Done changed from 0 to 60

Generally it works, but it is still possible to move a term, to create a new term in a vocabulary and to delete a term. All this should not be possible.

In term trees it does not really seem to be possible to move a term (e.g. to another tree), however, the drag&drop symbols that are shown suggest that it is possible. But nothing seems to happen when trying to drop a node.

Actions #6

Updated by Katja Luther about 1 year ago

Andreas Müller wrote in #note-5:

Generally it works, but it is still possible to move a term, to create a new term in a vocabulary and to delete a term. All this should not be possible.

In term trees it does not really seem to be possible to move a term (e.g. to another tree), however, the drag&drop symbols that are shown suggest that it is possible. But nothing seems to happen when trying to drop a node.

Currently the "EXT" values are in authorityType_tmp and so the Dtos are not filled correctly.

Actions #7

Updated by Andreas Müller about 1 year ago

Actions #8

Updated by Andreas Müller about 1 year ago

Actions #9

Updated by Andreas Müller about 1 year ago

Katja Luther wrote in #note-6:

Andreas Müller wrote in #note-5:

Generally it works, but it is still possible to move a term, to create a new term in a vocabulary and to delete a term. All this should not be possible.

In term trees it does not really seem to be possible to move a term (e.g. to another tree), however, the drag&drop symbols that are shown suggest that it is possible. But nothing seems to happen when trying to drop a node.

Currently the "EXT" values are in authorityType_tmp and so the Dtos are not filled correctly.

I adapted this for the DBs on test. For production it is necessary to release first.

Actions #10

Updated by Katja Luther about 1 year ago

  • Status changed from Feedback to Resolved
  • Assignee changed from Katja Luther to Andreas Müller

Andreas Müller wrote in #note-9:

Katja Luther wrote in #note-6:

Andreas Müller wrote in #note-5:

Generally it works, but it is still possible to move a term, to create a new term in a vocabulary and to delete a term. All this should not be possible.

In term trees it does not really seem to be possible to move a term (e.g. to another tree), however, the drag&drop symbols that are shown suggest that it is possible. But nothing seems to happen when trying to drop a node.

Currently the "EXT" values are in authorityType_tmp and so the Dtos are not filled correctly.

I adapted this for the DBs on test. For production it is necessary to release first.

You adapted the DBs on Pesi-HPC, I tested with my development environment with all changes stashed and I think now everything works:

drag & drop was not available anymore and creating a new term in a managed vocabulary can not be done, same for deleting a term.

Actions #11

Updated by Andreas Müller about 1 year ago

  • Status changed from Resolved to Feedback
  • Assignee changed from Andreas Müller to Katja Luther

It is still possible to add media.

It seems still to be possible to drop a (non managed) term into a managed vocabulary, but shouldn't. Also with "move" the managed vocabulary can still be selected.

Actions #12

Updated by Katja Luther almost 1 year ago

d&d and move should be fixed with last commit.

Actions #13

Updated by Katja Luther 12 months ago

  • Status changed from Feedback to Resolved
  • Assignee changed from Katja Luther to Andreas Müller

Also the editing of media is not allowed anymore.

Actions #14

Updated by Andreas Müller 12 months ago

  • Status changed from Resolved to Closed
  • Assignee changed from Andreas Müller to Katja Luther
  • % Done changed from 60 to 100

Works as expected, now.

Actions

Also available in: Atom PDF