Association Problems in Forte?

Discussions about integrations with other 3th party tools

Moderator: Moderators

Association Problems in Forte?

Postby Jim McClure » Wed Dec 05, 2001 2:35 pm

Hi,
I am having another thoroughly bizarre problem:

- I create a new (empty) project in Forte

- I create a new class diagram in the UML Modeling tab

- I draw two (new) classes on this diagram: Owner and Car (I did this just
for testing).

- I then draw an association between Owner and Car so that 1 owner can own
0..* cars. I put in the multiplicities and name each end of the association
(the end terminating at the Car class I call "cars" and the end terminating
at the Owner class I call "owner") and

-- voila! --

MagicDraw puts BOTH of the association elements in the Owner class, and
nothing in the Car class.

Performing exactly the same steps in MagicDraw itself (e.g., in standalone
mode rather than from inside Forte) works perfectly-- i.e., Owner gets a
Collection element named 'cars' and Car gets an Owner reference named
'owner.'

What is going on??!!

I have done these tests over and over in the thought that I might be losing
my sanity, but the problem is easily repeatable. I have no idea why the
software is behaving this way...
Jim
P.S. What I have noticed is that as soon as I right-click on the Owner end
of the assocation and start to Edit Name, MagicDraw puts on "unnamed"
attribute into Owner. It then never updates or moves this attribute. I don't
know whether this observation will be any help in figuring out what is
wrong...



Jim McClure
 
Posts Rating:

Re: Association Problems in Forte?

Postby Mindaugas Ringys » Thu Dec 06, 2001 9:55 am

Hi Jim,

We found the same problem. The fix will come with the next MagicDraw
version(not 5.0). I am afraid there is no workaround for that.


Thanks for the bug report.

--

Mindaugas Ringys
Project Leader
No Magic Lithuanian Development Center
Gedimino g. 47- 408, 3000 Kaunas, Lithuania
P.O. box 2166, LT- 3000, Kaunas, Lithuania
Phone: +370 7 324032 Fax: +370 7 320670
e-mail : mindis
WWW: http://www.nomagic.com
--
OO software design can be an appealing challenge if you have
the best UML modeling tool: http://www.magicdraw.com





Mindaugas Ringys
 
Posts Rating:

Re: Association Problems in Forte?

Postby Andrew McVeigh » Thu Dec 06, 2001 1:02 pm

I have also found problems with the integration with JBuilder5. It seems to
delete all realization relationships between classes of interfaces when an
update is done from MD5.

i.e. A Car implements the Vehicle interface in MD, shown by a realization
line from the Car class to the Vehicle lollipop. Now, go in JBuilder5, edit
the Car class and add "model: String". Click on "update magicdraw" and go
back to MD. Voila, the realization relationship has vanished. Very
worrying.

Andrew
London, UK

"Mindaugas Ringys" <mindis> wrote in message
news:9uo0tc$mg5$1...
> Hi Jim,
>
> We found the same problem. The fix will come with the next MagicDraw
> version(not 5.0). I am afraid there is no workaround for that.
>
>
> Thanks for the bug report.
>
> --
>



Andrew McVeigh
 
Posts Rating:

Re: Association Problems in Forte?

Postby Mindaugas Ringys » Fri Dec 07, 2001 4:15 am

Hi Andrew,

Please recompile source files before executing Update UML model command.
JBuilder API returns wrong information about class if source is not
recompiled. In final 5.0 version you will get warning message about that
during Update command execution.

Thanks for your feedback.

--

Mindaugas Ringys
Project Leader
No Magic Lithuanian Development Center
Gedimino g. 47- 408, 3000 Kaunas, Lithuania
P.O. box 2166, LT- 3000, Kaunas, Lithuania
Phone: +370 7 324032 Fax: +370 7 320670
e-mail : mindis
WWW: http://www.nomagic.com
--
OO software design can be an appealing challenge if you have
the best UML modeling tool: http://www.magicdraw.com
"Andrew McVeigh" <andrewmcveigh> wrote in message
news:9uof00$nm9$1...
> I have also found problems with the integration with JBuilder5. It seems
to
> delete all realization relationships between classes of interfaces when an
> update is done from MD5.
>
> i.e. A Car implements the Vehicle interface in MD, shown by a realization
> line from the Car class to the Vehicle lollipop. Now, go in JBuilder5,
edit
> the Car class and add "model: String". Click on "update magicdraw" and go
> back to MD. Voila, the realization relationship has vanished. Very
> worrying.
>
> Andrew
> London, UK
>
> "Mindaugas Ringys" <mindis> wrote in message
> news:9uo0tc$mg5$1...
> > Hi Jim,
> >
> > We found the same problem. The fix will come with the next MagicDraw
> > version(not 5.0). I am afraid there is no workaround for that.
> >
> >
> > Thanks for the bug report.
> >
> > --
> >
>
>
>


Mindaugas Ringys
 
Posts Rating:


Return to Integrations

Who is online

Users browsing this forum: No registered users and 0 guests

cron