struts-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Lukasz Lenart <lukaszlen...@apache.org>
Subject Re: [GitHub] struts pull request: WW-4540: Strict DMI
Date Wed, 23 Sep 2015 09:33:37 GMT
2015-09-23 8:17 GMT+02:00 Lukasz Lenart <lukaszlenart@apache.org>:
>> There is just one issue left: Setting strict-method-invocation="false"
>> affects only actions configured in XML. When PackageConfig is created by
>> XmlConfigurationProvider that field is set but
>> PackageBasedActionConfigBuilder from convention-plugin does not set it.
>>
>> There could be 2 ways to solve this:
>> - provide another package-level annotation @StrictMethodInvocation.
>> - PackageBasedActionConfigBuilder could read existing PackageConfig to
>> figure out if it was set in xml.
>
> Thanks, I will try to figure out if it is possible

Done, disabling Strict DMI affects also Convention plugin

https://github.com/lukaszlenart/struts/commit/b8381057190c3abebbc3a65c404fd5de5f2c6c52


Regards
-- 
Ɓukasz
+ 48 606 323 122 http://www.lenart.org.pl/

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@struts.apache.org
For additional commands, e-mail: dev-help@struts.apache.org


Mime
View raw message