Created wicket-6377. 
Thanks for the quick response. 

> Am 24.05.2017 um 23:07 schrieb Andrea Del Bene <an.delb...@gmail.com>:
> 
> Hi,
> 
> I think it's actually a bug. Could you open an issue on JIRA?
> 
> Andrea.
> 
> PS: thank you for investigating the issue!
> 
>> On 24/05/2017 18:45, Claudia Hirt wrote:
>> Sorry, I think my description was a little unspecific.
>> 
>> The problem appears with the following HTML-code:
>> 
>> <a href="#top">
>>    <span wicket:id="top"></span>
>> </a>
>> 
>> with autolinking set to true.
>> 
>> This leads to the following exception:
>> org.apache.wicket.markup.MarkupException: Unable to find component with id 
>> 'top' in [WebMarkupContainer [Component id = _autolink_-335431082]]
>>    Expected: '_autolink_-335431082:top'.
>> 
>> WICKET-6289 doesn't really break it, there's nothing wrong with it. But the 
>> bugfix in this issue was to create an autocomponent which is a 
>> WebMarkupContainer. I think it was some kind of link before, which didn't 
>> cause any trouble.
>> But is it really correct that AutoLinkResolver even tries to replace an 
>> anchor link?
>> 
>> I also created a quickstart project to reproduce the problem:
>> https://github.com/sunshineKE/test.autolinking
>> 
>> Best regards, Claudia
>> 
>> 
>>> Am 23.05.2017 um 22:31 schrieb Martin Grigorov:
>>> Hi,
>>> 
>>> It is not very clear how your code looks like.
>>> Could you please provide more information the setup and how WICKET-6289
>>> breaks it ?
>>> A quickstart application would be the best way to show us! You can share it
>>> via GitHub/BitBucket or even attach it to a ticket in JIRA!
>>> Thank you!
>>> 
>>> Martin Grigorov
>>> Wicket Training and Consulting
>>> https://twitter.com/mtgrigorov
>>> 
>>>> On Tue, May 23, 2017 at 9:47 PM, Claudia Hirt <hirt-clau...@gmx.de> wrote:
>>>> 
>>>> Hi all,
>>>> 
>>>> there's something I came across when trying to migrate an application to
>>>> Wicket 7.7.
>>>> When using an anchor link like <a href="#top"> with autmatic linking
>>>> activated (getMarkupSettings().setAutomaticLinking(true)) the
>>>> AutolinkResolver breaks my hierarchy. This does not appear when
>>>> encapsulating the <a> tag inside a <wicket:link> Tag.
>>>> I saw that this appears since Bugfix from https://issues.apache.org/jira
>>>> /browse/WICKET-6289 was implemented.
>>>> 
>>>> Do I really have to use <wicket:link> for this kind of anchors or is it a
>>>> Bug?
>>>> 
>>>> Best regards,
>>>> Claudia
>>>> 
>>>> 
>>>> 
>>>> ---------------------------------------------------------------------
>>>> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
>>>> For additional commands, e-mail: users-h...@wicket.apache.org
>>>> 
>>>> 
>> 
>> 
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
>> For additional commands, e-mail: users-h...@wicket.apache.org
>> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
> For additional commands, e-mail: users-h...@wicket.apache.org
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org

Reply via email to