Fixed with OFBIZ-10635
Mathieu, I fear you will have to update your patch, let's see...
Jacques
Le 11/01/2019 à 11:48, Jacques Le Roux a écrit :
Hi Deepak,
This works:
Index:
framework/webapp/src/main/java/org/apache/ofbiz/webapp/control/LoginWorker.java
Actually forget it, I needed that in a 1st attempt.
With the patch below it's almost OK OOTB, unrelated to this issue: OFBIZ-10789 "Webpos key buttons don't show when using an empty or having a slash
inside mountpoint name"
So using an empty mountpoint name is OK as long as you don't use the
Forgot to say, for that to work OOTB you need to set
stats.persist.visit=ftrue
stats.persist.visitor=ftrue
Le 11/01/2019 à 11:48, Jacques Le Roux a écrit :
Hi Deepak,
This works:
Index:
framework/webapp/src/main/java/org/apache/ofbiz/webapp/control/LoginWorker.java
Hi Deepak,
This works:
Index:
framework/webapp/src/main/java/org/apache/ofbiz/webapp/control/LoginWorker.java
===
---
framework/webapp/src/main/java/org/apache/ofbiz/webapp/control/LoginWorker.java
(révision 1851027)
+++
Hello,
Deepak Nigam writes:
> Thank you, Jacques, for looking into it.
>
> In my case, there is only one webapp with the empty mount point and I want
> to use the autoLogin cookie. But the code is written in such a way that in
> case of empty mount point 'webappInfo' object is coming null due
Thank you, Jacques, for looking into it.
In my case, there is only one webapp with the empty mount point and I want
to use the autoLogin cookie. But the code is written in such a way that in
case of empty mount point 'webappInfo' object is coming null due to which
autoLogin cookie is not getting
Hi Deepak,
It's not a problem if we create an autologin cookie even if it's not used, just
unclean.
So in this case we could force the same cookie values but the name and path to
"root".
But what happens if we have several empty mountpoints, is that a problem?
I guess if we deploy on root
Thanks Deepak,
I'll have a look ASAP
Jadques
Le 10/01/2019 à 09:26, Deepak Nigam a écrit :
Hello all,
In the method to set the autoLogin cookie, LoginWorker.autoLoginSet(),
system fetches the webAppInfo by using the
method ComponentConfig.getWebappInfo(). In this method, serverId and
Hello all,
In the method to set the autoLogin cookie, LoginWorker.autoLoginSet(),
system fetches the webAppInfo by using the
method ComponentConfig.getWebappInfo(). In this method, serverId and
applicationName are passed as the arguments.
*WebappInfo webappInfo =