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

ASF subversion and git services commented on WICKET-7112:
---------------------------------------------------------

Commit fd91611d1df8726e3b1836c045577baa09ff4cd1 in wicket's branch 
refs/heads/wicket-9.x from kbachl
[ https://gitbox.apache.org/repos/asf?p=wicket.git;h=fd91611d1d ]

WICKET-7112 Expand error messages in Component class (#894)

* Expand error messages in Component class

The error messages in the Component class have been augmented with more 
detailed information. These include class type, parent markup ID, parent 
relative path, and the original URL. This is to give a more comprehensive 
context surrounding the error, aiding debugging and issue resolution.

* Refactor error messages for markup components

The error messages in the Component class have been simplified by removing 
details about the parent markup ID, parent relative path, and original URL. 
Instead, the focus is now on the component's page class and relative path. The 
associated test has been adjusted to reflect these changes.

* WICKET-7112 Improve log message

---------

Co-authored-by: Martin Grigorov <[email protected]>

> Expand error messages in Component class
> ----------------------------------------
>
>                 Key: WICKET-7112
>                 URL: https://issues.apache.org/jira/browse/WICKET-7112
>             Project: Wicket
>          Issue Type: Improvement
>            Reporter: Korbinian Bachl
>            Priority: Minor
>
> Currently its very hard to detect the issue of warnings when the components 
> were added in a repeater with automatic IDs. Also the requesting URL should 
> be logged to it is easier to spot problems in deployed applications that dont 
> get hit in local development.
> https://github.com/apache/wicket/pull/894



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to