Re: web sockets messages + page identities

2019-04-04 Thread Martin Grigorov
Hi Ernesto, Please file a ticket. TextMessage and BinaryMessage can be improved. I have to see whether IWebSocketConnection can be improved too. But due to API changes this could be done only for Wicket 9.x. On Wed, Apr 3, 2019 at 4:19 PM Ernesto Reinaldo Barreiro wrote: > I meant my

Re: Problem with ThreadContext.getSession when session dies

2019-04-04 Thread Patrick Schwarzer
Hi Sven, thanks for the reply. The problem is, that at the end of the request in onDetach wicket tries to write content of pages into the session (see storeTouchedPages in Stack-Trace), which is already dead. To identify if wicket needs to store content into session, it checked the

Re: Problem with ThreadContext.getSession when session dies

2019-04-04 Thread Martin Grigorov
Hi Patrick, On Thu, Apr 4, 2019 at 10:16 AM Patrick Schwarzer < patrick.schwar...@tomtec.de> wrote: > Hi Sven, > > > > thanks for the reply. > > > > The problem is, that at the end of the request in onDetach wicket tries to > write content of pages into the session (see storeTouchedPages in >

Re: web sockets messages + page identities

2019-04-04 Thread Ernesto Reinaldo Barreiro
Hi Martin, Many thanks for feedback. I will file a ticket. > Please file a ticket. > TextMessage and BinaryMessage can be improved. > I have to see whether IWebSocketConnection can be improved too. > I see AbstractWebSocketConnection contains AbstractWebSocketProcessor and this one a pageId.

AjaxDownloadBehavior with location=blob and greek filenames problems

2019-04-04 Thread mscoon
Hi all, When using the AjaxDownloadBehavior with Location=Blob and a greek filename, the filename is url encoded. E.g. if the file is "αρχείο.txt" (as defined in ResourceStreamResource.setFilename()), the downloaded file is "%CE%B1%CF%81%CF%87%CE%B5%CE%AF%CE%BF.txt" which is the url encoded

Re: Problem with ThreadContext.getSession when session dies

2019-04-04 Thread Patrick Schwarzer
Hi Martin, thanks for the explanation. After some further research we identified the reason for the problem. Shiro 1.3.2 has a bug, explained here: https://issues.apache.org/jira/browse/SHIRO-637. In case, there is no session any more, Shiro calls to getSession(false) returned a cached

Re: AjaxDownloadBehavior with location=blob and greek filenames problems

2019-04-04 Thread Martin Grigorov
Hi, Please create a ticket in JIRA and we will take a look at it! On Thu, Apr 4, 2019 at 3:52 PM mscoon wrote: > Hi all, > > When using the AjaxDownloadBehavior with Location=Blob and a greek > filename, the filename is url encoded. > > E.g. if the file is "αρχείο.txt" (as defined in >

Re: AjaxDownloadBehavior with location=blob and greek filenames problems

2019-04-04 Thread Sven Meier
Hi, You're right, our JavaScript should decode the filename. Please open a Jira issue. Have fun Sven > > On 04.04.2019 at 14:52,wrote: > > > Hi all, When using the AjaxDownloadBehavior with Location=Blob and a greek > filename,