Done
https://issues.apache.org/jira/browse/WW-4697

2016-10-11 9:28 GMT+02:00 Lukasz Lenart <lukaszlen...@apache.org>:
> So, you are using DMI ... hm ...
>
> 2016-10-11 9:18 GMT+02:00 Greg Huber <gregh3...@gmail.com>:
>> Yes!
>>
>> On 11 October 2016 at 08:10, Lukasz Lenart <lukaszlen...@apache.org> wrote:
>>
>>> I have asked about "struts.enable.DynamicMethodInvocation" - did you
>>> enable it? Because you are using url pattern similar to DMI.
>>>
>>>
>>> 2016-10-11 8:42 GMT+02:00 Greg Huber <gregh3...@gmail.com>:
>>> > DMI / SMI?
>>> >
>>> >
>>> > ParametersInterceptor > isExcluded(String paramName) {..}
>>> >
>>> > action:myAction!save logs on this regex possibly because of the !
>>> >
>>> > [.*(^|\.|\[|\'|"|get)class(\(\.|\[|\'|").*, ^(action|method):.*,
>>> > (^|\%\{)((#?)(top(\.|\['|\[")|\[\d\]\.)?)(dojo|struts|
>>> session|request|response|application|servlet(Request|
>>> Response|Context)|parameters|context|_memberAccess)(\.|\[).*]
>>> >
>>> > com.opensymphony.xwork2.security.DefaultExcludedPatternsChecker
>>> >
>>> >
>>> >
>>> > On 10 October 2016 at 12:56, Lukasz Lenart <lukaszlen...@apache.org>
>>> wrote:
>>> >
>>> >> Do you use DMI?
>>> >>
>>> >> 2016-10-10 11:16 GMT+02:00 Greg Huber <gregh3...@gmail.com>:
>>> >> > ....About the logging, I now get loads of these warnings on every
>>> >> > invocation?
>>> >> >
>>> >> > 2016-10-10 10:03:41,709 WARN
>>> >> > com.opensymphony.xwork2.interceptor.ParametersInterceptor
>>> >> > ParametersInterceptor:notifyDeveloper - Parameter
>>> [action:myAction!save]
>>> >> > matches excluded pattern [^(action|method):.*]!
>>> >> >
>>> >> >
>>> >> > Maybe its something to do with the DMI?
>>> >> >
>>> >> >
>>> >> > On 10 October 2016 at 10:03, Lukasz Lenart <lukaszlen...@apache.org>
>>> >> wrote:
>>> >> >
>>> >> >> Done, I have reduced level to WARN and added prefix about Developer
>>> >> >> Notification
>>> >> >>
>>> >> >> 2016-10-10 10:51 GMT+02:00 Lukasz Lenart <lukaszlen...@apache.org>:
>>> >> >> > This is expected and it happens only devMode - it isn't NPE. Maybe
>>> the
>>> >> >> > level is too high, WARN should be enough
>>> >> >> >
>>> >> >> > https://issues.apache.org/jira/browse/WW-4453
>>> >> >> >
>>> >> >> >
>>> >> >> > Regards
>>> >> >> > --
>>> >> >> > Łukasz
>>> >> >> > + 48 606 323 122 http://www.lenart.org.pl/
>>> >> >> >
>>> >> >> > 2016-10-09 11:21 GMT+02:00 Greg Huber <gregh3...@gmail.com>:
>>> >> >> >> I have also notice that I now get strange npe exceptions where it
>>> >> seems
>>> >> >> not
>>> >> >> >> to set values on my page bean.
>>> >> >> >>
>>> >> >> >> eg my bean:
>>> >> >> >>
>>> >> >> >> private Integer pageNum = new Integer(1);
>>> >> >> >> public Integer getPageNum() {
>>> >> >> >>     return pageNum;
>>> >> >> >> }
>>> >> >> >> bean.setPageNum(getBean().getPageNum());
>>> >> >> >>
>>> >> >> >> On the page the hidden field does not have the value:
>>> >> >> >>
>>> >> >> >> <input id="eventAdd_bean_pageNum" type="hidden"
>>> name="bean.pageNum">
>>> >> >> >>
>>> >> >> >> I went back to 2.5.2 and I do not get any exceptions, so its
>>> >> something
>>> >> >> new.
>>> >> >> >>
>>> >> >> >> <input id="eventAdd_bean_pageNum" type="hidden" value="1"
>>> >> >> name="bean.pageNum
>>> >> >> >> ">
>>> >> >> >>
>>> >> >> >>
>>> >> >> >> In my logs I now also get:
>>> >> >> >>
>>> >> >> >> 2016-10-09 10:19:49,584 ERROR org.apache.struts2.components.Date
>>> >> >> Date:end -
>>> >> >> >> Expression [bean.eventScheduledPubDate] passed to <s:date/> tag
>>> which
>>> >> >> was
>>> >> >> >> evaluated to [null](null) isn't instance of java.util.Date nor
>>> >> >> >> java.util.Calendar!
>>> >> >> >> 2016-10-09 10:19:49,587 ERROR org.apache.struts2.components.Date
>>> >> >> Date:end -
>>> >> >> >> Expression [bean.eventExpireDate] passed to <s:date/> tag which
>>> was
>>> >> >> >> evaluated to [null](null) isn't instance of java.util.Date nor
>>> >> >> >> java.util.Calendar!
>>> >> >> >> 2016-10-09 10:19:49,603 ERROR org.apache.struts2.components.Date
>>> >> >> Date:end -
>>> >> >> >> Expression [bean.updated] passed to <s:date/> tag which was
>>> >> evaluated to
>>> >> >> >> [null](null) isn't instance of java.util.Date nor
>>> java.util.Calendar!
>>> >> >> >>
>>> >> >> >>
>>> >> >> >>
>>> >> >> >>
>>> >> >> >> On 7 October 2016 at 09:19, Lukasz Lenart <
>>> lukaszlen...@apache.org>
>>> >> >> wrote:
>>> >> >> >>
>>> >> >> >>> Fixed :) I will give you some time and then I will prepare a new
>>> >> test
>>> >> >> >>> build :)
>>> >> >> >>>
>>> >> >> >>> 2016-10-07 9:29 GMT+02:00 Lukasz Lenart <lukaszlen...@apache.org
>>> >:
>>> >> >> >>> > I see the problem, conversion doesn't work and I think know
>>> why :\
>>> >> >> >>> fixing ....
>>> >> >> >>> >
>>> >> >> >>> > 2016-10-07 9:21 GMT+02:00 Greg Huber <gregh3...@gmail.com>:
>>> >> >> >>> >> On my dev box I get this error:
>>> >> >> >>> >>
>>> >> >> >>> >> Unexpected Exception caught setting 'uploadedFiles' on 'class
>>> >> >> >>> >> editor.Resources: Error setting expression 'uploadedFiles'
>>> with
>>> >> >> value
>>> >> >> >>> >> '/home/../MyProject/work/upload_ff205289_3c03_4a59_
>>> >> >> >>> 8898_55c11fed0b49_00000006.tmp'
>>> >> >> >>> >>
>>> >> >> >>> >> more detail:
>>> >> >> >>> >>
>>> >> >> >>> >> ognl.MethodFailedException: Method "setUploadedFiles" failed
>>> for
>>> >> >> object
>>> >> >> >>> >> editor.Resources@77de4446 [java.lang.NoSuchMethodException:
>>> >> >> >>> >> editor.Resources.setUploadedFiles(java.lang.String)]
>>> >> >> >>> >>
>>> >> >> >>> >> I have this method:
>>> >> >> >>> >>
>>> >> >> >>> >> private File[] uploadedFiles = null;
>>> >> >> >>> >>
>>> >> >> >>> >> public void setUploadedFiles(File[] uploadedFiles) {
>>> >> >> >>> >>         this.uploadedFiles = uploadedFiles;
>>> >> >> >>> >> }
>>> >> >> >>> >>
>>> >> >> >>> >>
>>> >> >> >>> >> It calls this method with a null?
>>> >> >> >>> >>
>>> >> >> >>> >>
>>> >> >> >>> >>
>>> >> >> >>> >>
>>> >> >> >>> >>
>>> >> >> >>> >> On 6 October 2016 at 20:31, Lukasz Lenart <
>>> >> lukaszlen...@apache.org>
>>> >> >> >>> wrote:
>>> >> >> >>> >>
>>> >> >> >>> >>> Hi,
>>> >> >> >>> >>>
>>> >> >> >>> >>> Please take a time and test the bits - any help is
>>> appreciated.
>>> >> >> Please
>>> >> >> >>> >>> report any problems back. I'll call for vote in a week if no
>>> >> >> problems
>>> >> >> >>> >>> will be spotted.
>>> >> >> >>> >>>
>>> >> >> >>> >>> Staging Maven repo
>>> >> >> >>> >>> https://repository.apache.org/content/groups/staging/
>>> >> >> >>> >>>
>>> >> >> >>> >>> Standalone artifacts
>>> >> >> >>> >>> https://dist.apache.org/repos/dist/dev/struts/2.5.4/
>>> >> >> >>> >>>
>>> >> >> >>> >>> Release notes
>>> >> >> >>> >>> https://cwiki.apache.org/confluence/display/WW/Version+
>>> >> Notes+2.5.4
>>> >> >> >>> >>>
>>> >> >> >>> >>>
>>> >> >> >>> >>> Thanks in advance
>>> >> >> >>> >>> --
>>> >> >> >>> >>> Łukasz
>>> >> >> >>> >>> + 48 606 323 122 http://www.lenart.org.pl/
>>> >> >> >>> >>>
>>> >> >> >>> >>> ------------------------------------------------------------
>>> >> >> ---------
>>> >> >> >>> >>> To unsubscribe, e-mail: dev-unsubscr...@struts.apache.org
>>> >> >> >>> >>> For additional commands, e-mail: dev-h...@struts.apache.org
>>> >> >> >>> >>>
>>> >> >> >>> >>>
>>> >> >> >>>
>>> >> >> >>> ------------------------------------------------------------
>>> >> ---------
>>> >> >> >>> To unsubscribe, e-mail: dev-unsubscr...@struts.apache.org
>>> >> >> >>> For additional commands, e-mail: dev-h...@struts.apache.org
>>> >> >> >>>
>>> >> >> >>>
>>> >> >>
>>> >> >> ------------------------------------------------------------
>>> ---------
>>> >> >> To unsubscribe, e-mail: dev-unsubscr...@struts.apache.org
>>> >> >> For additional commands, e-mail: dev-h...@struts.apache.org
>>> >> >>
>>> >> >>
>>> >>
>>> >> ---------------------------------------------------------------------
>>> >> To unsubscribe, e-mail: dev-unsubscr...@struts.apache.org
>>> >> For additional commands, e-mail: dev-h...@struts.apache.org
>>> >>
>>> >>
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: dev-unsubscr...@struts.apache.org
>>> For additional commands, e-mail: dev-h...@struts.apache.org
>>>
>>>

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

Reply via email to