You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cocoon.apache.org by "Philippe Gassmann (JIRA)" <ji...@apache.org> on 2005/11/04 10:35:19 UTC

[jira] Created: (COCOON-1678) HTMLArea unable to set target and title to a "link"

HTMLArea unable to set target and title to a "link"
---------------------------------------------------

         Key: COCOON-1678
         URL: http://issues.apache.org/jira/browse/COCOON-1678
     Project: Cocoon
        Type: Bug
    Versions: 2.1.8-dev (Current SVN)    
    Reporter: Philippe Gassmann
    Priority: Critical


I do the following test on http://cocoon.zones.apache.org/demos/21branch/samples/blocks/forms/htmlarea : 

Type some text in the "in a table" HTMLArea.
Select a portion of the text, click on the link button.
Type the address : http://www.google.com
Type a title : test
Select a target.

Submit,
The result is : 

<result>
<data1><br /></data1>
	<data2>
	<html>
	<body>
	<p>
  a 
<a href="http://www.google.fr">new</a>
 test
</p>
</body>
</html>
</data2>
</result>

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


[jira] Closed: (COCOON-1678) HTMLArea unable to set target and title to a "link"

Posted by "Antonio Gallardo (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/jira/browse/COCOON-1678?page=all ]

Antonio Gallardo closed COCOON-1678.
------------------------------------

    Fix Version/s: 2.2-dev (Current SVN)
                   2.1.10-dev (current SVN)
       Resolution: Fixed

Thanks for the patch. It was applied. Feel free to reopen the issue if needed.

> HTMLArea unable to set target and title to a "link"
> ---------------------------------------------------
>
>                 Key: COCOON-1678
>                 URL: http://issues.apache.org/jira/browse/COCOON-1678
>             Project: Cocoon
>          Issue Type: Bug
>          Components: Blocks: Forms
>    Affects Versions: 2.1.8
>            Reporter: Philippe Gassmann
>         Assigned To: Antonio Gallardo
>            Priority: Minor
>             Fix For: 2.2-dev (Current SVN), 2.1.10-dev (current SVN)
>
>         Attachments: HTMLCleanerConfiguration.xml.patch
>
>
> I do the following test on http://cocoon.zones.apache.org/demos/21branch/samples/blocks/forms/htmlarea : 
> Type some text in the "in a table" HTMLArea.
> Select a portion of the text, click on the link button.
> Type the address : http://www.google.com
> Type a title : test
> Select a target.
> Submit,
> The result is : 
> <result>
> <data1><br /></data1>
> 	<data2>
> 	<html>
> 	<body>
> 	<p>
>   a 
> <a href="http://www.google.fr">new</a>
>  test
> </p>
> </body>
> </html>
> </data2>
> </result>

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Updated: (COCOON-1678) HTMLArea unable to set target and title to a "link"

Posted by "Jeroen Reijn (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/jira/browse/COCOON-1678?page=all ]

Jeroen Reijn updated COCOON-1678:
---------------------------------

    Attachment: HTMLCleanerConfiguration.xml.patch

OK i've applied a patch for the trunk. This patch could also be applied for the branch.

> HTMLArea unable to set target and title to a "link"
> ---------------------------------------------------
>
>                 Key: COCOON-1678
>                 URL: http://issues.apache.org/jira/browse/COCOON-1678
>             Project: Cocoon
>          Issue Type: Bug
>          Components: Blocks: Forms
>    Affects Versions: 2.1.8
>            Reporter: Philippe Gassmann
>         Assigned To: Cocoon Developers Team
>            Priority: Minor
>         Attachments: HTMLCleanerConfiguration.xml.patch
>
>
> I do the following test on http://cocoon.zones.apache.org/demos/21branch/samples/blocks/forms/htmlarea : 
> Type some text in the "in a table" HTMLArea.
> Select a portion of the text, click on the link button.
> Type the address : http://www.google.com
> Type a title : test
> Select a target.
> Submit,
> The result is : 
> <result>
> <data1><br /></data1>
> 	<data2>
> 	<html>
> 	<body>
> 	<p>
>   a 
> <a href="http://www.google.fr">new</a>
>  test
> </p>
> </body>
> </html>
> </data2>
> </result>

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Assigned: (COCOON-1678) HTMLArea unable to set target and title to a "link"

Posted by "Antonio Gallardo (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/jira/browse/COCOON-1678?page=all ]

Antonio Gallardo reassigned COCOON-1678:
----------------------------------------

    Assignee: Antonio Gallardo  (was: Cocoon Developers Team)

> HTMLArea unable to set target and title to a "link"
> ---------------------------------------------------
>
>                 Key: COCOON-1678
>                 URL: http://issues.apache.org/jira/browse/COCOON-1678
>             Project: Cocoon
>          Issue Type: Bug
>          Components: Blocks: Forms
>    Affects Versions: 2.1.8
>            Reporter: Philippe Gassmann
>         Assigned To: Antonio Gallardo
>            Priority: Minor
>         Attachments: HTMLCleanerConfiguration.xml.patch
>
>
> I do the following test on http://cocoon.zones.apache.org/demos/21branch/samples/blocks/forms/htmlarea : 
> Type some text in the "in a table" HTMLArea.
> Select a portion of the text, click on the link button.
> Type the address : http://www.google.com
> Type a title : test
> Select a target.
> Submit,
> The result is : 
> <result>
> <data1><br /></data1>
> 	<data2>
> 	<html>
> 	<body>
> 	<p>
>   a 
> <a href="http://www.google.fr">new</a>
>  test
> </p>
> </body>
> </html>
> </data2>
> </result>

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Commented: (COCOON-1678) HTMLArea unable to set target and title to a "link"

Posted by "Philippe Gassmann (JIRA)" <ji...@apache.org>.
    [ http://issues.apache.org/jira/browse/COCOON-1678?page=comments#action_12356759 ] 

Philippe Gassmann commented on COCOON-1678:
-------------------------------------------

Note : it happens in cocoon forms

> HTMLArea unable to set target and title to a "link"
> ---------------------------------------------------
>
>          Key: COCOON-1678
>          URL: http://issues.apache.org/jira/browse/COCOON-1678
>      Project: Cocoon
>         Type: Bug
>     Versions: 2.1.8-dev (Current SVN)
>     Reporter: Philippe Gassmann
>     Priority: Critical

>
> I do the following test on http://cocoon.zones.apache.org/demos/21branch/samples/blocks/forms/htmlarea : 
> Type some text in the "in a table" HTMLArea.
> Select a portion of the text, click on the link button.
> Type the address : http://www.google.com
> Type a title : test
> Select a target.
> Submit,
> The result is : 
> <result>
> <data1><br /></data1>
> 	<data2>
> 	<html>
> 	<body>
> 	<p>
>   a 
> <a href="http://www.google.fr">new</a>
>  test
> </p>
> </body>
> </html>
> </data2>
> </result>

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


[jira] Aktualisiert: (COCOON-1678) HTMLArea unable to set target and title to a "link"

Posted by "Jörg Heinicke (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/jira/browse/COCOON-1678?page=all ]

Jörg Heinicke updated COCOON-1678:
----------------------------------

    Component: Blocks: Forms
     Priority: Minor  (was: Critical)

> HTMLArea unable to set target and title to a "link"
> ---------------------------------------------------
>
>          Key: COCOON-1678
>          URL: http://issues.apache.org/jira/browse/COCOON-1678
>      Project: Cocoon
>         Type: Bug
>   Components: Blocks: Forms
>     Versions: 2.1.8-dev (Current SVN)
>     Reporter: Philippe Gassmann
>     Priority: Minor

>
> I do the following test on http://cocoon.zones.apache.org/demos/21branch/samples/blocks/forms/htmlarea : 
> Type some text in the "in a table" HTMLArea.
> Select a portion of the text, click on the link button.
> Type the address : http://www.google.com
> Type a title : test
> Select a target.
> Submit,
> The result is : 
> <result>
> <data1><br /></data1>
> 	<data2>
> 	<html>
> 	<body>
> 	<p>
>   a 
> <a href="http://www.google.fr">new</a>
>  test
> </p>
> </body>
> </html>
> </data2>
> </result>

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


[jira] Zugewiesen: (COCOON-1678) HTMLArea unable to set target and title to a "link"

Posted by "Jörg Heinicke (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/jira/browse/COCOON-1678?page=all ]

Jörg Heinicke reassigned COCOON-1678:
-------------------------------------

    Assign To: Cocoon Developers Team

> HTMLArea unable to set target and title to a "link"
> ---------------------------------------------------
>
>          Key: COCOON-1678
>          URL: http://issues.apache.org/jira/browse/COCOON-1678
>      Project: Cocoon
>         Type: Bug
>   Components: Blocks: Forms
>     Versions: 2.1.8-dev (Current SVN)
>     Reporter: Philippe Gassmann
>     Assignee: Cocoon Developers Team
>     Priority: Minor

>
> I do the following test on http://cocoon.zones.apache.org/demos/21branch/samples/blocks/forms/htmlarea : 
> Type some text in the "in a table" HTMLArea.
> Select a portion of the text, click on the link button.
> Type the address : http://www.google.com
> Type a title : test
> Select a target.
> Submit,
> The result is : 
> <result>
> <data1><br /></data1>
> 	<data2>
> 	<html>
> 	<body>
> 	<p>
>   a 
> <a href="http://www.google.fr">new</a>
>  test
> </p>
> </body>
> </html>
> </data2>
> </result>

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


[jira] Updated: (COCOON-1678) HTMLArea unable to set target and title to a "link"

Posted by "Jean-Baptiste Quenot (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/jira/browse/COCOON-1678?page=all ]

Jean-Baptiste Quenot updated COCOON-1678:
-----------------------------------------


Can you please provide a patch?

> HTMLArea unable to set target and title to a "link"
> ---------------------------------------------------
>
>          Key: COCOON-1678
>          URL: http://issues.apache.org/jira/browse/COCOON-1678
>      Project: Cocoon
>         Type: Bug
>   Components: Blocks: Forms
>     Versions: 2.1.8
>     Reporter: Philippe Gassmann
>     Assignee: Cocoon Developers Team
>     Priority: Minor

>
> I do the following test on http://cocoon.zones.apache.org/demos/21branch/samples/blocks/forms/htmlarea : 
> Type some text in the "in a table" HTMLArea.
> Select a portion of the text, click on the link button.
> Type the address : http://www.google.com
> Type a title : test
> Select a target.
> Submit,
> The result is : 
> <result>
> <data1><br /></data1>
> 	<data2>
> 	<html>
> 	<body>
> 	<p>
>   a 
> <a href="http://www.google.fr">new</a>
>  test
> </p>
> </body>
> </html>
> </data2>
> </result>

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


[jira] Commented: (COCOON-1678) HTMLArea unable to set target and title to a "link"

Posted by "Jeroen Reijn (JIRA)" <ji...@apache.org>.
    [ http://issues.apache.org/jira/browse/COCOON-1678?page=comments#action_12356761 ] 

Jeroen Reijn commented on COCOON-1678:
--------------------------------------

This is caused by the HTMLCleanerConfiguration found in: http://svn.apache.org/viewcvs.cgi/cocoon/blocks/forms/trunk/java/org/apache/cocoon/forms/datatype/convertor/HtmlCleanerConfiguration.xml?view=markup

<!-- linking -->
<element name="a">
  <attribute name="href"/>
</element>

If you add your attributes, it should work.

> HTMLArea unable to set target and title to a "link"
> ---------------------------------------------------
>
>          Key: COCOON-1678
>          URL: http://issues.apache.org/jira/browse/COCOON-1678
>      Project: Cocoon
>         Type: Bug
>     Versions: 2.1.8-dev (Current SVN)
>     Reporter: Philippe Gassmann
>     Priority: Critical

>
> I do the following test on http://cocoon.zones.apache.org/demos/21branch/samples/blocks/forms/htmlarea : 
> Type some text in the "in a table" HTMLArea.
> Select a portion of the text, click on the link button.
> Type the address : http://www.google.com
> Type a title : test
> Select a target.
> Submit,
> The result is : 
> <result>
> <data1><br /></data1>
> 	<data2>
> 	<html>
> 	<body>
> 	<p>
>   a 
> <a href="http://www.google.fr">new</a>
>  test
> </p>
> </body>
> </html>
> </data2>
> </result>

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira