0-two opened a new pull request, #1966:
URL: https://github.com/apache/wicket/pull/1966
Closes #1957
`MarkupNotFoundException` / `MarkupException("Markup not found…")` now
include the
page class and page-relative path. During an Ajax update they also say that
the
parent's markup has no tag with the component's wicket:id.
Before: Markup not found for Component: [Component id = missing]
After: Markup not found for Component: [Component id = missing], page:
org.apache.wicket.markup.MarkupNotFoundAjaxPage, path: missing. It was added to
an Ajax update, but the markup of its parent has no tag with
wicket:id="missing"
Testing:
- New test MarkupNotFoundMessageTest (fails before the change, passes after)
- Ran wicket-core-tests fully, plus the remaining modules
- Note : on Windows, ExampleTitlesTest in wicket-examples fails on master
too because it builds class names with '/' only. Unrelated to this pr so I'll
report it separately.
AI disclosure: The code was written with help from Claude Code (Claude Opus
5.5). I reviewed and tested every change.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]