I have spent some time investigating this issue, and I have finally found that
the actual problem lies at
https://github.com/apache/syncope/blob/SYNCOPE-1323/client/console/src/main/java/org/apache/syncope/client/console/wizards/AjaxWizard.java#L198
e.g.
I guess those two should really use Optional.ofNullable():
https://github.com/apache/wicket/blob/master/wicket-core/src/main/java/org/apache/wicket/request/cycle/RequestCycle.java#L886-L892
On Wed, Jun 13, 2018 at 2:33 PM Francesco Chicchiriccò
wrote:
> I have spent some time investigating this
@Martin The result is garantueed to be non-null in these lines, how should
ofNullable() make any difference?
@Francesco FormTester submits via Ajax request only in case of an AjaxButton or
AjaxSubmitLink, which ist not the case with AjaxButtonBar. As fallback the
whole form is submitted
Hi,
minor correction:
If no an AjaxButton or AjaxSubmitLink, FormTester submits the button via
a non-Ajax request.
Thus no AjaxRequestTarget can be found.
Have fun
Sven
Am 13.06.2018 um 18:58 schrieb Sven Meier:
@Martin The result is garantueed to be non-null in these lines, how
should
I created a quickstart for this, but I imagine you're long since aware of it.
But, what am I supposed to do about sun.nio.fs.UnixPath throwing a
java.io.NotSerializableException (passed in to FileSystemResourceReference)?
The page still works, but the server log gets really nasty, really quick,
Hi,
create your FileSystemResourceReference without the path argument and
override #getResource():
@Override
public IResource getResource()
{
return new FileSystemResource(/* --- create a path --- */);
}
Have fun
Sven
Am 13.06.2018 um 21:48 schrieb sorinev:
I
Perfect, that worked. What's the side effect of this vs the other way, if
any?
--
Sent from: http://apache-wicket.1842946.n4.nabble.com/Users-forum-f1842947.html
-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For
On Wed, Jun 13, 2018 at 7:59 PM Sven Meier wrote:
> @Martin The result is garantueed to be non-null in these lines, how should
> ofNullable() make any difference?
>
Right! Just checked that Class.isInstance(null) would return false.
The problem is in AjaxFallbackButton methods.
With WICKET-6504 we improved FileSystemResource to use
LoadableDetachableModel instead of just path.
Maybe the same should be done for the ResourceReference too ?
On Thu, Jun 14, 2018 at 4:24 AM Maxim Solodovnik
wrote:
> You can have String path (instead of Path path)
> And it will works as
On Thu, Jun 14, 2018 at 8:40 AM Martin Grigorov
wrote:
>
>
> On Wed, Jun 13, 2018 at 7:59 PM Sven Meier wrote:
>
>> @Martin The result is garantueed to be non-null in these lines, how
>> should ofNullable() make any difference?
>>
>
> Right! Just checked that Class.isInstance(null) would return
You can have String path (instead of Path path)
And it will works as expected :)
WBR, Maxim
(from mobile, sorry for the typos)
On Thu, Jun 14, 2018, 04:23 sorinev wrote:
> Perfect, that worked. What's the side effect of this vs the other way, if
> any?
>
> --
> Sent from:
>
11 matches
Mail list logo