Book a Demo

Author Topic: sequence / interaction diagrams broken?  (Read 6748 times)

thunderous

  • EA Novice
  • *
  • Posts: 4
  • Karma: +0/-0
    • View Profile
sequence / interaction diagrams broken?
« on: September 16, 2011, 04:54:32 pm »
I am finding the interaction diagram unusable

- whenever I use a self-message or recussion, I can no longer select it to move, change or delete it.

- when I want to move message / calls around, I almost always get "Message Validation Error: Unable to move message, please check message lifecycles" message boxes.
« Last Edit: September 16, 2011, 04:55:04 pm by thunderous »

Geert Bellekens

  • EA Guru
  • *****
  • Posts: 13523
  • Karma: +574/-33
  • Make EA work for YOU!
    • View Profile
    • Enterprise Architect Consultant and Value Added Reseller
Re: sequence / interaction diagrams broken?
« Reply #1 on: September 16, 2011, 05:38:31 pm »
What version is this on?
Did you acually check the lifecycle property?
What does it say?

I just tested this on 9.1.909 and I can move self-messages without a problem. My lifecycle property is empty.

Geert

thunderous

  • EA Novice
  • *
  • Posts: 4
  • Karma: +0/-0
    • View Profile
Re: sequence / interaction diagrams broken?
« Reply #2 on: September 16, 2011, 07:59:09 pm »
This is the 9.1.909 (trial version as professional). I don't chnage any defauls. Lifecycle is empty.

- open a diagram
- set toolbox to Interaction
- create a Lifeline, just press return
- add a Self-Message to the lifeline. The lifecycle is empty.
-> I can't select the message. The lifeline is always selected.

- create a second Lifeline
- add a Message from Object1 to Object2 after the Self-Message
- add a Message from Object2 to Object1 after the Message
- try to move one of the Messages
-> "Message Validation Error ..."


« Last Edit: September 16, 2011, 08:30:48 pm by thunderous »

Geert Bellekens

  • EA Guru
  • *****
  • Posts: 13523
  • Karma: +574/-33
  • Make EA work for YOU!
    • View Profile
    • Enterprise Architect Consultant and Value Added Reseller
Re: sequence / interaction diagrams broken?
« Reply #3 on: September 16, 2011, 09:07:59 pm »
Ah, I see, you are trying to add sequence diagram stuff on another type of diagram.
Try again, but this time with "sequence diagram" as type of diagram...

It still is a bug, but a minor one...

Geert

thunderous

  • EA Novice
  • *
  • Posts: 4
  • Karma: +0/-0
    • View Profile
Re: sequence / interaction diagrams broken?
« Reply #4 on: September 16, 2011, 09:33:05 pm »
Ok, thanks a lot, that helps. I had missed that.

There still seems to be a problem with undo. When I raise the  activation level, move a message, and then do an undo, the message is returned to the previous position but not all of the activation levels are set back to their previous level.

a -> b
a <- b
a -> b (raise the activation level on this message)

then drag the 3rd message to above the 1st message and press undo, the diagram is not as it was before.

To get the changes undone, I have to press undo twice and then raise the activation level manually.
« Last Edit: September 16, 2011, 09:44:00 pm by thunderous »

thunderous

  • EA Novice
  • *
  • Posts: 4
  • Karma: +0/-0
    • View Profile
Re: sequence / interaction diagrams broken?
« Reply #5 on: September 16, 2011, 09:53:55 pm »
You don't need activations to produce an undo error. Almost the same setup.

a -1-> b
a <-2- b
b -3-> a

Dragging the 3rd message abobe the 1st message yields:

b -3-> a
a -1-> b
a <-2- b

Pressing undo does not change the order back:

b -3-> a
a -1-> b
a <-2- b

Pressing undo again does not help:

a -1-> b
a <-2- b

« Last Edit: September 17, 2011, 12:07:26 am by thunderous »

Geert Bellekens

  • EA Guru
  • *****
  • Posts: 13523
  • Karma: +574/-33
  • Make EA work for YOU!
    • View Profile
    • Enterprise Architect Consultant and Value Added Reseller
Re: sequence / interaction diagrams broken?
« Reply #6 on: September 16, 2011, 10:30:07 pm »
Yeah, that's the thing with undo in EA, it does almost nothing :-/
You can only undo the less important stuff like changing the layout of a diagram.
Anything important like deleting a class or operation cannot be undone.

Geert