Return-Path: X-Original-To: apmail-wicket-users-archive@minotaur.apache.org Delivered-To: apmail-wicket-users-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id D65639E52 for ; Thu, 14 Jun 2012 01:09:10 +0000 (UTC) Received: (qmail 66990 invoked by uid 500); 14 Jun 2012 01:09:08 -0000 Delivered-To: apmail-wicket-users-archive@wicket.apache.org Received: (qmail 66963 invoked by uid 500); 14 Jun 2012 01:09:08 -0000 Mailing-List: contact users-help@wicket.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: users@wicket.apache.org Delivered-To: mailing list users@wicket.apache.org Received: (qmail 66951 invoked by uid 99); 14 Jun 2012 01:09:08 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 14 Jun 2012 01:09:08 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=5.0 tests=RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of r.krupinski@gmail.com designates 209.85.160.173 as permitted sender) Received: from [209.85.160.173] (HELO mail-gh0-f173.google.com) (209.85.160.173) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 14 Jun 2012 01:09:01 +0000 Received: by ghrr14 with SMTP id r14so1135420ghr.32 for ; Wed, 13 Jun 2012 18:08:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:from:date:message-id:subject:to:content-type; bh=pRpN03seqM3W8p7/U7cTfnK9LITk7uEp1pLZxCMEWZ0=; b=bgy+eT+Pvb+gJ5uJJkeLEYGJJGHWuUmNWl1z6SuLQeybAy3XKNFWaOiFUnAFuPpT/c 7WSdHfH18hIT++GwI3EGmYQGVMFgWfKdt0sUgPi/9IjV4aJRJPLqRyr1zlMlt/6vYiSH GvDtrFGablCYEtZAo8kI5G8P7dTsywulaAml5XZ61xqeGp66DlBQVS5uhysyeaeu/y4x FCJI0L/FnRoA47JuFi5OWMbqqzf6BRuFmwgIx908ilcb3r1XxQH/7awQha+AIpiHyv8w lVhtunB6NXE5upaj900+R10um+AaQp7sALNx8AL+L/ad+awOX22gPlL7PzXTjzwjnPCr rrOA== Received: by 10.236.73.4 with SMTP id u4mr36614003yhd.78.1339636121167; Wed, 13 Jun 2012 18:08:41 -0700 (PDT) MIME-Version: 1.0 Received: by 10.236.73.161 with HTTP; Wed, 13 Jun 2012 18:08:20 -0700 (PDT) From: =?UTF-8?B?UmFmYcWCIEtydXBpxYRza2k=?= Date: Thu, 14 Jun 2012 03:08:20 +0200 Message-ID: Subject: PackageResourceBlockedException after migration to 6.0.0-beta2 To: users@wicket.apache.org Content-Type: text/plain; charset=UTF-8 X-Virus-Checked: Checked by ClamAV on apache.org I've just changed wicket dependency from 1.5.6 to 6.0.0-beta2 and s/IClusterable/Serializable/ ...and this is what I got: Unexpected RuntimeException Last cause: Access denied to (static) package resource com/hashnot/nbp. See IPackageResourceGuard Root cause: org.apache.wicket.request.resource.PackageResource$PackageResourceBlockedException: Access denied to (static) package resource com/hashnot/nbp. See IPackageResourceGuard at org.apache.wicket.request.resource.PackageResource.internalGetResourceStream(PackageResource.java:459) [snip] This is the situation: mypackage.MyApplication{ void init(){ mountPage("nbp", MyPage.class) //other similar mounts } } mypackage.BasePage{ //base Page with links to all mounted pages } mypackage.nbp.MyPage extends BasePage{} (and of course the markup) All links between mounted pages are handled by BasePage class and its markup. >From the BasePage's point of view there is page mounted under "nbp" and a subpackage nbp. After I changed the mount from "nbp" to "nbp-rates" it started working, so it looks like in case of conflicting mount-path and relative package name there is a regression: * in 1.5.x linking to X meant linking to mounted page * in 6.0 it means linking to package Can someone confirm it? -- Pozdrawiam / Best Regards Rafal Krupinski --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org For additional commands, e-mail: users-help@wicket.apache.org