Bug #5715

Prevent creation of monitors if the source and the target are not in the same configuration

Added by Hannu Niemistö over 2 years ago. Updated about 2 years ago.

Status:ClosedStart date:2015-03-12
Priority:4Due date:2015-03-12
Assignee:Hannu Niemistö% Done:

100%

Category:-Spent time:-
Target version:1.18.1
Release notes:Prevent user from creating diagram monitors by dragging properties to diagram if the source component of the monitor is not from the same model configuration as the as the target diagram. Allowing this caused export problems due to unexpected broken links between models.
Tags: diagram, monitor
Story points-
Velocity based estimate-
ReleaseSimantics 1.18.1Release relationshipAuto

Associated revisions

Revision 31069
Added by Hannu Niemistö over 2 years ago

(fixes #5715) Prevent creation of monitors if the source and the target are not in the same configuration

Revision 31071
Added by Tuukka Lehtonen over 2 years ago

Merged trunk@31069 to branches/simantics-1.18 on 2015-03-12 for 1.18.1 release.

refs #5715

Revision 31076
Added by Tuukka Lehtonen over 2 years ago

Fixed diagram copy-paste problem related to DnD monitors on other diagrams than the monitored component owner diagram.

  • Fixed StandardPasteHandler to provide better feedback to the user when diagram copy-paste fails for any database-related reason.
  • Changed DIA.HasMonitorComponent.Inverse from <R L0.IsRelatedTo to <R L0.IsWeaklyRelatedTo to allow users to copy diagrams to other models when the diagram contains a module which has DnD monitors on other diagrams. This would previously create non-weak external references from the monitored component owner diagram to the monitor-containing diagram(s). These external reference would then cause the copied diagram import to fail with an error like this:
    The following required items were missing from the database:
     -http://Projects/Development%20Project/Model/Configuration/NewFolder
     -%model/Configuration/NewFolder/NewGenericDiagram2/AL01
    

refs #5715

Revision 31077
Added by Tuukka Lehtonen over 2 years ago

Merged trunk@31076 to branches/simantics-1.18 on 2015-03-12 for 1.18.1 release.

refs #5715

History

#1 Updated by Hannu Niemistö over 2 years ago

  • Status changed from In Progress to Resolved
  • % Done changed from 0 to 100

Applied in changeset r31069.

#2 Updated by Tuukka Lehtonen over 2 years ago

  • Tags set to monitor, diagram
  • Release set to 17

#3 Updated by Tuukka Lehtonen about 2 years ago

  • Status changed from Resolved to Closed

#4 Updated by Tuukka Lehtonen about 2 years ago

  • Release notes set to Prevent user from creating diagram monitors by dragging properties to diagram if the source component of the monitor is not from the same model configuration as the as the target diagram.

#5 Updated by Tuukka Lehtonen about 2 years ago

  • Release notes changed from Prevent user from creating diagram monitors by dragging properties to diagram if the source component of the monitor is not from the same model configuration as the as the target diagram. to Prevent user from creating diagram monitors by dragging properties to diagram if the source component of the monitor is not from the same model configuration as the as the target diagram. Allowing this caused export problems due to unexpected broken links between models.

Also available in: Atom PDF