[
https://issues.apache.org/jira/browse/WICKET-7081?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17781777#comment-17781777
]
ASF subversion and git services commented on WICKET-7081:
---------------------------------------------------------
Commit 680d50ad4092a4c1de4446565da67d96e15d6995 in wicket's branch
refs/heads/reiern70/WICKET-7080 from Andrea Del Bene
[ https://gitbox.apache.org/repos/asf?p=wicket.git;h=680d50ad40 ]
WICKET-7081 opened packages for wicket-native-websocket-core
> Open packages to expose resources to other modules
> ---------------------------------------------------
>
> Key: WICKET-7081
> URL: https://issues.apache.org/jira/browse/WICKET-7081
> Project: Wicket
> Issue Type: Bug
> Affects Versions: 9.15.0, 10.0.0-M2
> Reporter: Andrea Del Bene
> Priority: Trivial
> Fix For: 9.16.0, 10.0.0-M3
>
> Attachments: myproject.zip
>
>
> JPMS encapsulates package resources making impossible for other modules to
> access them without explicitly opening their packages. The quickstart shows
> the problem with a simple page with a form used in a JPMS Java project.
> Running 'mvn test' we get the following exception:
>
> {quote}{{Caused by: java.util.MissingResourceException: Unable to find
> property: 'Form.CSS.hidden-fields' for component: form
> [class=org.apache.wicket.markup.html.form.Form]. Locale: null, style: null}}
> {{ at
> org.apache.wicket.core/org.apache.wicket.Localizer.getString(Localizer.java:268)}}
> {{ at
> org.apache.wicket.core/org.apache.wicket.Localizer.getString(Localizer.java:201)}}
> {{ at
> org.apache.wicket.core/org.apache.wicket.Localizer.getString(Localizer.java:131)}}
> {{ at
> org.apache.wicket.core/org.apache.wicket.Component.getString(Component.java:1847)}}
> {{ at
> org.apache.wicket.core/org.apache.wicket.Component.getString(Component.java:1834)}}
> {quote}
>
> our applications can't read property 'Form.CSS.hidden-fields=hidden-fields'
> from wicket-core bundle org.apache.wicket.Application.utf8.properties.
> Hence we should check packages from different modules (wicket-core,
> wicket-extentions, etc...) to open those containing resources that must be
> exposed to all other modules.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)