Book a Demo

Author Topic: Hyperlinks in NOTES (864) not working?  (Read 4478 times)

Paolo F Cantoni

  • EA Guru
  • *****
  • Posts: 8626
  • Karma: +259/-129
  • Inconsistently correct systems DON'T EXIST!
    • View Profile
Hyperlinks in NOTES (864) not working?
« on: February 04, 2011, 01:21:39 pm »
Is it just me or can anyone else NOT create hyperlinks within the notes fields?

The dialog comes up and I can complete it, but nothing is placed in the notes afterward.

Can any one confirm that they can with build 8.0 (856864)?

I'd like to confirm it's a real bug before I report it.

If possible, can some kind soul with a version that works, please post the text of the hyperlink in the note so I can at least create then manually?


TIA,
Paolo
[edit]I meant build 864...  I'm sure I thought 864 but I (obviously) typed 856  :-?[/edit]
« Last Edit: February 05, 2011, 12:03:31 am by PaoloFCantoni »
Inconsistently correct systems DON'T EXIST!
... Therefore, aim for consistency; in the expectation of achieving correctness....
-Semantica-
Helsinki Principle Rules!

Uffe

  • EA Practitioner
  • ***
  • Posts: 1859
  • Karma: +133/-14
  • Flutes: 1; Clarinets: 1; Saxes: 5 and counting
    • View Profile
Re: Hyperlinks in NOTES (856) not working?
« Reply #1 on: February 04, 2011, 07:58:13 pm »
Hi!


I'm using 8.0 (864), and it works there.
First off, you need to select the text in the Note, then bring up the link dialog - if you try to add the link without having any text selected, you end up with nothing (like you describe). This is because the link itself is not displayed, it needs a text label - pretty much like HTML.

Here's what a note with a "Web Site" link looks like in XMI:
Code: [Select]
<packagedElement xmi:type="uml:Package" xmi:id="EAPK_768A8BCF_8565_45e8_8321_E16FD320A811" name="Link in Note" visibility="public">
    <ownedComment xmi:type="uml:Comment" xmi:id="EAID_AA4CC489_85C0_4ecb_A20B_D26E2F1723D5"
     body="Some text <a href="$inet://http://www.google.com"><font color="#0000ff"><u>and a link</u></font></a>."/>
</packagedElement>

This is a note with the text "Some text and a link.", where the "and a link" part covers an http link to www.google.com.

Hope that helps.

Cheers,


/Uffe
My theories are always correct, just apply them to the right reality.

Uffe

  • EA Practitioner
  • ***
  • Posts: 1859
  • Karma: +133/-14
  • Flutes: 1; Clarinets: 1; Saxes: 5 and counting
    • View Profile
Re: Hyperlinks in NOTES (856) not working?
« Reply #2 on: February 04, 2011, 08:04:27 pm »
OK, I just realized that maybe when you said Notes fields, you meant Notes fields - not Notes themselves.  :-[

I tested this in 8.0 (864), and here's the scoop.

You can create a hyperlink inside a Note field, as above.
The link is not displayed as a link in a diagram, nor is it clickable.
If you switch on formatted Notes for the Element, the link is displayed properly, but is not clickable.
If you create a separate Note and link it to the Element's Note, again, the link is displayed properly, but is not clickable.

In other words, it doesn't work in 864.

Sorry about my confusion there.

Cheers,


/Uffe
« Last Edit: February 04, 2011, 08:08:03 pm by Uffe »
My theories are always correct, just apply them to the right reality.

Paolo F Cantoni

  • EA Guru
  • *****
  • Posts: 8626
  • Karma: +259/-129
  • Inconsistently correct systems DON'T EXIST!
    • View Profile
Re: Hyperlinks in NOTES (856) not working?
« Reply #3 on: February 05, 2011, 03:26:06 am »
Quote
OK, I just realized that maybe when you said Notes fields, you meant Notes fields - not Notes themselves.  :-[
Hi Uffe,

Yes, when I say something, I usually mean it precisely...   ;D

Thanks for pointing me in the right direction (selecting text before creating Hyperlink)  I'd forgotten that.  I still think it's EAUI NOT to allow you to set the hyperlink text in the dialog and I'll report a bug to that effect.

Also, there seems to be no way to edit the hyperlink once created.  If you place the cursor on the hyperlink and hit the hyperlink button the hyperlink is removed.

However, I reported the bugs you saw when the feature was first deployed, many releases ago.  Would you be so kind as to add another bug report on that subject?

Paolo
Inconsistently correct systems DON'T EXIST!
... Therefore, aim for consistency; in the expectation of achieving correctness....
-Semantica-
Helsinki Principle Rules!

skiwi

  • EA Expert
  • ****
  • Posts: 2081
  • Karma: +46/-82
    • View Profile
Re: Hyperlinks in NOTES (864) not working?
« Reply #4 on: February 07, 2011, 07:02:44 am »
I agree that this behaviour is not in alignment with the commonly found methods of entering a hyperlink.

The text that forms the hyperlink should be part of the dialogue box, thus if no text is entered it should be possible to provide the text then and there.

I totally agree about the issue of editing the hyperlink. This is just poor if not careless implementation (or specification - attention to detail?)
Orthogonality rules
Position and Team disestablished, thanks austerity.
Now itinerant.