[ 
https://issues.apache.org/jira/browse/WICKET-4143?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13130707#comment-13130707
 ] 

Johan commented on WICKET-4143:
-------------------------------

Somehow I cannot reopen the issue (there is no button to do so). I attached a 
screenshot where you can see the problem. I do not know why the quickstart 
seems to work on your computer. Since it does not have the 
getResourceSettings().setParentFolderPlaceholder() it actually cannot work. 
Maybe the copy on your workstation got mixed up with the quickstart from 
WICKET-4141?
                
> Invalid URLs generated when auto linking to resources in base packages
> ----------------------------------------------------------------------
>
>                 Key: WICKET-4143
>                 URL: https://issues.apache.org/jira/browse/WICKET-4143
>             Project: Wicket
>          Issue Type: Bug
>          Components: wicket
>    Affects Versions: 1.5.0, 1.5.1
>         Environment: Windows XP, Eclipse 3.7, Oracle JDK 6 
>            Reporter: Johan
>         Attachments: WICKET-4143-autolink-bug.zip, screen.png
>
>
> When automatic linking is enabled via
>   getMarkupSettings().setAutomaticLinking(true);
> and 
>   getResourceSettings().setParentFolderPlaceholder() 
> is not set
> and images from parent packages are referenced in a page's HTML,
> then Wicket replaces the relative image path with auto-generated, but broken 
> URLs in the markup output.
> Instead of generating non-working URLs Wicket should throw an 
> IllegalStateException complaining about the missing parentFolderPlaceholder 
> when a automatic link candidate is found in the source markup.
> The attached quickstart project demonstrates this.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to