Dotclear

Ticket #1276 (closed defect: worksforme)

Opened 14 years ago

Last modified 12 years ago

2.4 Beta 1: Links don't work when typing in XHTML mode

Reported by: ben_griffith Owned by: xave
Priority: highest Milestone:
Component: module:core Version: dev
Severity: normal Keywords: links, xhtml, external link
Cc:

Description

While testing DC 2.4 the official Beta 1, I tested "Ticket #1169 (closed defect: fixed)". Open DC 2.4 Beta1 and choose New Entry Change Text formatting: to XHTML Type some text in * Content: Mark this text and click on the "Link" button to give your text and external link. The Link window pops up. Result: If you type  http://mylink.com, then link will appear If you type  http://www.mylink.com, then this link will not appear.

Additional note: Ticket #1169 hasn't been fixed

Attachments

linkbug.jpg Download (20.6 KB) - added by ben_griffith 14 years ago.
You can see what I mean by reading the text in content

Change History

Changed 14 years ago by ben_griffith

You can see what I mean by reading the text in content

comment:1 Changed 14 years ago by franck

  • Status changed from new to onhold

I can't reproduced the bug (when URL contains a www) with the last nightly.

So far the ticket #1169 has been fixed after the release of the Beta 1.

comment:2 Changed 14 years ago by franck

  • Status changed from onhold to closed
  • Resolution set to worksforme

comment:3 Changed 14 years ago by ben_griffith

  • Status changed from closed to reopened
  • Resolution worksforme deleted

@Franck

Please visit:  http://www.sevenwinds.co.uk/24/index.php?post/2011/10/12/Test-with-links-in-XHTML

You have to write in XHTML to reproduce the problem. #1169 is indeed solved, but now the link address itself is broken. This is what you get, if you use the "Insert link" button and you type an URL with  http://www....

{{{<p>Test with <a href="" hreflang="en" title="test">www</a>.</p> <p>Test with <a href="" title="with www">www and title</a>.</p> <p>Test without <a href=" http://sevenwinds.co.uk">www</a>.</p> <p>Test without <a href=" http://sevenwinds.co.uk" title="test without www">www but with title</a>.</p> <p>Test without<a href=" http://sevenwinds.co.uk" hreflang="en" title="www but with title and language"> www but with title and language</a>.</p>

}}}

Please have a look again into this issue. Thanks and merci!

comment:4 Changed 14 years ago by ben_griffith

I forgot to write, I just tested it with 2.4.0-beta1-r746

comment:5 Changed 14 years ago by philippe

I cannot reproduce the bug either.

Tried with and without visual editor, with and without title and hreflang, all links are correctly inserted...

comment:6 Changed 14 years ago by ben_griffith

I have uploaded a small video to show the problem:  http://www.sevenwinds.co.uk/DC24links.zip . It has 3 MB.
It's a WMV (Windows Media file) because all others like MPEG or MPG made my 1:40 minutes to a 40 MB file.

Please write to me if you can't open the file and I will create a format of your choice.

comment:7 Changed 14 years ago by ben_griffith

I spent some minutes testing the problem in Beta 751 and noticed that the error only appears, if you type the link address like  http://www.test.com!

It doesn't happen, when you copy and paste an address.

I changed the popup_link.php from the working 2.3 version, but this file is not the reason. I'm no programmer, sorry, otherwise I would look deeper into it.

comment:8 Changed 13 years ago by franck

  • Milestone changed from 2.4 to A definir

comment:9 Changed 13 years ago by franck

ben_griffith, could you test again with the current release (2.4.4) and tell us if you have the same behaviour?

comment:10 Changed 13 years ago by franck

  • Status changed from reopened to closed
  • Resolution set to worksforme

I cannot reproduce this bug (note that I don't copy and paste any of url in the following code), see:

<p>Test with <a title="test" href="www.test.com">www</a>.</p>
<p>Test with <a title="with www" hreflang="en" href="http://www.test.com">www and title</a>.</p>
<p>Test without <a hreflang="en" href="test.com">www</a>.</p>
<p>Test without <a title="test without www" href="test.com">www but with title</a>.</p>
<p>And finally, a new test with http://www.test.com, <a href="http://www.test.com">here</a>.</p>

It seems to work as expected.

comment:11 Changed 12 years ago by franck

  • Milestone A definir deleted
Note: See TracTickets for help on using tickets.

Sites map