You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ofbiz.apache.org by Arpit Singh Pandya <ar...@hotwaxmedia.com> on 2009/12/03 07:36:38 UTC
Lookups are not Working.
Hello All,
I am facing problem on lookup screen. Lookup are not working on any screen.
Jacques , it seems that as you made changes in lookup.ftl for locale,
locale is not getting from parameters, it is giving following error on
console
"Expression parameters.userLogin.lastLocale is undefined".
Please have a look on it.
Please let me know if any body also facing same Problem.
Thanks And Regards
--
Arpit Singh Pandya
Re: Lookups are not Working.
Posted by Jacques Le Roux <ja...@les7arts.com>.
Thanks for report Arpit,
I should have a look today...
I saw that when reviewing but did not find any issues, so there is at least one...
Jacques
From: "Arpit Singh Pandya" <ar...@hotwaxmedia.com>
> Hello All,
>
> I am facing problem on lookup screen. Lookup are not working on any screen.
>
> Jacques , it seems that as you made changes in lookup.ftl for locale,
> locale is not getting from parameters, it is giving following error on
> console
>
> "Expression parameters.userLogin.lastLocale is undefined".
> Please have a look on it.
>
> Please let me know if any body also facing same Problem.
>
> Thanks And Regards
> --
> Arpit Singh Pandya
>
Re: Lookups are not Working.
Posted by Arpit Singh Pandya <ar...@hotwaxmedia.com>.
Hello Jacques,
The recent changes might not be reflected on demo, but locally I am
facing this problem with lookup on each screen.
just hit https://localhost:8443/ordermgr/control/orderentry and go for
any lookup it will appear blank screen and on console get the error for
Locale.
Thanks and Regards
-
Arpit
Jacques Le Roux wrote:
> Great, please give a scenario to use in demo server...
>
> Jacques
>
> From: "Mukesh Marathe" <mu...@hotwaxmedia.com>
>> Jacques Le Roux wrote:
>>> Hi Arpit, Surya,
>>>
>>> I can't reproduce locally, nor on demo server, could you please give
>>> me more details?
>>> Which countrie/languages are you using? Maybe there is the clue,
>>> though I tried yesterday with hi_IN and got no errors, nor today
>>>
>>> Thanks
>>>
>>> Jacques
>>>
>>> From: "Surya Kusumakar" <ku...@gmail.com>
>>>> Hello Arpit,
>>>>
>>>> I am also facing same problem.
>>>>
>>>> --
>>>> Thanks
>>>> Surya Kusumakar
>>>>
>>>>
>>>> Arpit Singh Pandya wrote:
>>>>> Hello All,
>>>>>
>>>>> I am facing problem on lookup screen. Lookup are not working on
>>>>> any screen.
>>>>>
>>>>> Jacques , it seems that as you made changes in lookup.ftl for
>>>>> locale, locale is not getting from parameters, it is giving
>>>>> following error on console
>>>>>
>>>>> "Expression parameters.userLogin.lastLocale is undefined".
>>>>> Please have a look on it.
>>>>>
>>>>> Please let me know if any body also facing same Problem.
>>>>>
>>>>> Thanks And Regards
>>>>
>>>
>> Hello All,
>>
>> I am also facing the same problem on lookup screens. Lookups not
>> working on any screen at all.
>>
>> Regards
>> Mukesh Marathe
>>
>
Re: Lookups are not Working.
Posted by Arpit Singh Pandya <ar...@hotwaxmedia.com>.
Thanks Jacques ! :-)
Regards
--
Arpit Singh Pandya
Jacques Le Roux wrote:
> Fixed at r886723
>
> I spotted it yesterday, but as it was working I did not care.
> ant clean-all makes it appear
>
> Jacques
>
> From: "Erwan de FERRIERES" <er...@nereide.biz>
>> Jacques,
>>
>> have clear you browser cache and tried with a fresh OFBiz install ?
>>
>> Le 03/12/2009 09:55, Jacques Le Roux a écrit :
>>> Erwan,
>>>
>>> I already tried (4 languages, 2 themes : Bizness and Flat)
>>> I checked I have not missed any file (unversionned)
>>> I work on Windows, but I can't see any relations
>>>
>>> You reproduce also ?
>>>
>>> Jacques
>>>
>>> From: "Erwan de FERRIERES" <er...@nereide.biz>
>>>> Jacques,
>>>>
>>>> just try to change theme or locale.
>>>>
>>>> Cheers,
>>>>
>>>> Le 03/12/2009 08:49, Jacques Le Roux a écrit :
>>>>
>>>> ../..
>>>>
>>>> --
>>>> Erwan
>>>>
>>>
>>>
>>>
>>
>> --
>> Erwan
>>
>
>
Re: Lookups are not Working.
Posted by Jacques Le Roux <ja...@les7arts.com>.
Browser cache was the reason (I should have think about it since it was related to javascript)
Jacques
From: "Jacques Le Roux" <ja...@les7arts.com>
> It seems that even Sascha spotted it but neglicted (for the same unrational reason?)
> Look at main.ftl change in r886723...
>
> Anyway not a big deal...
>
> Jacques
>
> From: "Jacques Le Roux" <ja...@les7arts.com>
>> Fixed at r886723
>>
>> I spotted it yesterday, but as it was working I did not care.
>> ant clean-all makes it appear
>>
>> Jacques
>>
>> From: "Erwan de FERRIERES" <er...@nereide.biz>
>>> Jacques,
>>>
>>> have clear you browser cache and tried with a fresh OFBiz install ?
>>>
>>> Le 03/12/2009 09:55, Jacques Le Roux a écrit :
>>>> Erwan,
>>>>
>>>> I already tried (4 languages, 2 themes : Bizness and Flat)
>>>> I checked I have not missed any file (unversionned)
>>>> I work on Windows, but I can't see any relations
>>>>
>>>> You reproduce also ?
>>>>
>>>> Jacques
>>>>
>>>> From: "Erwan de FERRIERES" <er...@nereide.biz>
>>>>> Jacques,
>>>>>
>>>>> just try to change theme or locale.
>>>>>
>>>>> Cheers,
>>>>>
>>>>> Le 03/12/2009 08:49, Jacques Le Roux a écrit :
>>>>>
>>>>> ../..
>>>>>
>>>>> --
>>>>> Erwan
>>>>>
>>>>
>>>>
>>>>
>>>
>>> --
>>> Erwan
>>>
>>
>>
>
>
Re: Lookups are not Working.
Posted by Jacques Le Roux <ja...@les7arts.com>.
It seems that even Sascha spotted it but neglicted (for the same unrational reason?)
Look at main.ftl change in r886723...
Anyway not a big deal...
Jacques
From: "Jacques Le Roux" <ja...@les7arts.com>
> Fixed at r886723
>
> I spotted it yesterday, but as it was working I did not care.
> ant clean-all makes it appear
>
> Jacques
>
> From: "Erwan de FERRIERES" <er...@nereide.biz>
>> Jacques,
>>
>> have clear you browser cache and tried with a fresh OFBiz install ?
>>
>> Le 03/12/2009 09:55, Jacques Le Roux a écrit :
>>> Erwan,
>>>
>>> I already tried (4 languages, 2 themes : Bizness and Flat)
>>> I checked I have not missed any file (unversionned)
>>> I work on Windows, but I can't see any relations
>>>
>>> You reproduce also ?
>>>
>>> Jacques
>>>
>>> From: "Erwan de FERRIERES" <er...@nereide.biz>
>>>> Jacques,
>>>>
>>>> just try to change theme or locale.
>>>>
>>>> Cheers,
>>>>
>>>> Le 03/12/2009 08:49, Jacques Le Roux a écrit :
>>>>
>>>> ../..
>>>>
>>>> --
>>>> Erwan
>>>>
>>>
>>>
>>>
>>
>> --
>> Erwan
>>
>
>
Re: Lookups are not Working.
Posted by Jacques Le Roux <ja...@les7arts.com>.
Fixed at r886723
I spotted it yesterday, but as it was working I did not care.
ant clean-all makes it appear
Jacques
From: "Erwan de FERRIERES" <er...@nereide.biz>
> Jacques,
>
> have clear you browser cache and tried with a fresh OFBiz install ?
>
> Le 03/12/2009 09:55, Jacques Le Roux a écrit :
>> Erwan,
>>
>> I already tried (4 languages, 2 themes : Bizness and Flat)
>> I checked I have not missed any file (unversionned)
>> I work on Windows, but I can't see any relations
>>
>> You reproduce also ?
>>
>> Jacques
>>
>> From: "Erwan de FERRIERES" <er...@nereide.biz>
>>> Jacques,
>>>
>>> just try to change theme or locale.
>>>
>>> Cheers,
>>>
>>> Le 03/12/2009 08:49, Jacques Le Roux a écrit :
>>>
>>> ../..
>>>
>>> --
>>> Erwan
>>>
>>
>>
>>
>
> --
> Erwan
>
Re: Lookups are not Working.
Posted by Erwan de FERRIERES <er...@nereide.biz>.
Jacques,
have clear you browser cache and tried with a fresh OFBiz install ?
Le 03/12/2009 09:55, Jacques Le Roux a écrit :
> Erwan,
>
> I already tried (4 languages, 2 themes : Bizness and Flat)
> I checked I have not missed any file (unversionned)
> I work on Windows, but I can't see any relations
>
> You reproduce also ?
>
> Jacques
>
> From: "Erwan de FERRIERES" <er...@nereide.biz>
>> Jacques,
>>
>> just try to change theme or locale.
>>
>> Cheers,
>>
>> Le 03/12/2009 08:49, Jacques Le Roux a écrit :
>>
>> ../..
>>
>> --
>> Erwan
>>
>
>
>
--
Erwan
Re: Lookups are not Working.
Posted by Jacques Le Roux <ja...@les7arts.com>.
Erwan,
I already tried (4 languages, 2 themes : Bizness and Flat)
I checked I have not missed any file (unversionned)
I work on Windows, but I can't see any relations
You reproduce also ?
Jacques
From: "Erwan de FERRIERES" <er...@nereide.biz>
> Jacques,
>
> just try to change theme or locale.
>
> Cheers,
>
> Le 03/12/2009 08:49, Jacques Le Roux a écrit :
>
> ../..
>
> --
> Erwan
>
Re: Lookups are not Working.
Posted by Erwan de FERRIERES <er...@nereide.biz>.
Jacques,
just try to change theme or locale.
Cheers,
Le 03/12/2009 08:49, Jacques Le Roux a écrit :
../..
--
Erwan
Re: Lookups are not Working.
Posted by Jacques Le Roux <ja...@les7arts.com>.
Thanks for the links Ashish
Jacques
From: "Ashish Vijaywargiya" <vi...@gmail.com>
> Small Typo (off topic but important to note down) - Hindu* -> It would be
> "Hindi" http://en.wikipedia.org/wiki/Hindi.
> For more details on Hindu word please refer:
> http://en.wikipedia.org/wiki/Hindu
>
> --
> Ashish
>
>
>
>> As I already said 2 times, I don't reproduce locally. I tried in English,
>> French, Nederland and Hindu (because there is not yet a hi.js file)
>> Scenario, environment, etc. ?
>>
>> Jacques
>>
>>
>
Re: Lookups are not Working.
Posted by Ashish Vijaywargiya <vi...@gmail.com>.
Small Typo (off topic but important to note down) - Hindu* -> It would be
"Hindi" http://en.wikipedia.org/wiki/Hindi.
For more details on Hindu word please refer:
http://en.wikipedia.org/wiki/Hindu
--
Ashish
> As I already said 2 times, I don't reproduce locally. I tried in English,
> French, Nederland and Hindu (because there is not yet a hi.js file)
> Scenario, environment, etc. ?
>
> Jacques
>
>
Re: Lookups are not Working.
Posted by Jacques Le Roux <ja...@les7arts.com>.
I can't even reproduce in Hindi which has no js file
I have looked for parties with success using https://localhost:8443/ordermgr/control/LookupUserLoginAndPartyDetails
Jacques
From: "Bilgin Ibryam" <bi...@gmail.com>
>>
>> As I already said 2 times, I don't reproduce locally. I tried in
>> English, French, Nederland and Hindu (because there is not yet a hi.js
>> file)
>> Scenario, environment, etc. ?
>>
>> Jacques
> It happens when there is no value in userLogin.lastLocale
> So after a clean install, before any language selection.
>
> adding ?if_exists or a ?default("blabla") to
> parameters.userLogin.lastLocale will solve the problem temporarily, but
> it will still do a request to a non existing js file.
>
> Bilgin
>
Re: Lookups are not Working.
Posted by Bilgin Ibryam <bi...@gmail.com>.
>
> As I already said 2 times, I don't reproduce locally. I tried in
> English, French, Nederland and Hindu (because there is not yet a hi.js
> file)
> Scenario, environment, etc. ?
>
> Jacques
It happens when there is no value in userLogin.lastLocale
So after a clean install, before any language selection.
adding ?if_exists or a ?default("blabla") to
parameters.userLogin.lastLocale will solve the problem temporarily, but
it will still do a request to a non existing js file.
Bilgin
Re: Lookups are not Working.
Posted by Jacques Le Roux <ja...@les7arts.com>.
From: "Mukesh Marathe" <mu...@hotwaxmedia.com>
> Jacques Le Roux wrote:
>> Great, please give a scenario to use in demo server...
>>
>> Jacques
>>
>> From: "Mukesh Marathe" <mu...@hotwaxmedia.com>
>>> Jacques Le Roux wrote:
>>>> Hi Arpit, Surya,
>>>>
>>>> I can't reproduce locally, nor on demo server, could you please give me more details?
>>>> Which countrie/languages are you using? Maybe there is the clue, though I tried yesterday with hi_IN and got no errors, nor
>>>> today
>>>>
>>>> Thanks
>>>>
>>>> Jacques
>>>>
>>>> From: "Surya Kusumakar" <ku...@gmail.com>
>>>>> Hello Arpit,
>>>>>
>>>>> I am also facing same problem.
>>>>>
>>>>> --
>>>>> Thanks
>>>>> Surya Kusumakar
>>>>>
>>>>>
>>>>> Arpit Singh Pandya wrote:
>>>>>> Hello All,
>>>>>>
>>>>>> I am facing problem on lookup screen. Lookup are not working on any screen.
>>>>>>
>>>>>> Jacques , it seems that as you made changes in lookup.ftl for locale, locale is not getting from parameters, it is giving
>>>>>> following error on console
>>>>>>
>>>>>> "Expression parameters.userLogin.lastLocale is undefined".
>>>>>> Please have a look on it.
>>>>>>
>>>>>> Please let me know if any body also facing same Problem.
>>>>>>
>>>>>> Thanks And Regards
>>>>>
>>>>
>>> Hello All,
>>>
>>> I am also facing the same problem on lookup screens. Lookups not working on any screen at all.
>>>
>>> Regards
>>> Mukesh Marathe
>>>
>>
> Hi Jacques,
> The recent changes might not be deployed on demo server but locally I am facing this problem.
> Here is the logs and lookup.ftl has been modified at this rev. 886143
>
> ---- exception report ----------------------------------------------------------
> Error rendering included template at location [component://common/webcommon/includes/lookup.ftl]:
> freemarker.core.InvalidReferenceException: Expression parameters.userLogin.lastLocale is undefined on line 34, column 94 in
> component://common/webcommon/includes/lookup.ftl.
> Exception: freemarker.core.InvalidReferenceException
> Message: Expression parameters.userLogin.lastLocale is undefined on line 34, column 94 in
> component://common/webcommon/includes/lookup.ftl.
As I already said 2 times, I don't reproduce locally. I tried in English, French, Nederland and Hindu (because there is not yet a
hi.js file)
Scenario, environment, etc. ?
Jacques
>
> Regards
> Mukesh Marathe
>
Re: Lookups are not Working.
Posted by Mukesh Marathe <mu...@hotwaxmedia.com>.
Jacques Le Roux wrote:
> Great, please give a scenario to use in demo server...
>
> Jacques
>
> From: "Mukesh Marathe" <mu...@hotwaxmedia.com>
>> Jacques Le Roux wrote:
>>> Hi Arpit, Surya,
>>>
>>> I can't reproduce locally, nor on demo server, could you please give
>>> me more details?
>>> Which countrie/languages are you using? Maybe there is the clue,
>>> though I tried yesterday with hi_IN and got no errors, nor today
>>>
>>> Thanks
>>>
>>> Jacques
>>>
>>> From: "Surya Kusumakar" <ku...@gmail.com>
>>>> Hello Arpit,
>>>>
>>>> I am also facing same problem.
>>>>
>>>> --
>>>> Thanks
>>>> Surya Kusumakar
>>>>
>>>>
>>>> Arpit Singh Pandya wrote:
>>>>> Hello All,
>>>>>
>>>>> I am facing problem on lookup screen. Lookup are not working on
>>>>> any screen.
>>>>>
>>>>> Jacques , it seems that as you made changes in lookup.ftl for
>>>>> locale, locale is not getting from parameters, it is giving
>>>>> following error on console
>>>>>
>>>>> "Expression parameters.userLogin.lastLocale is undefined".
>>>>> Please have a look on it.
>>>>>
>>>>> Please let me know if any body also facing same Problem.
>>>>>
>>>>> Thanks And Regards
>>>>
>>>
>> Hello All,
>>
>> I am also facing the same problem on lookup screens. Lookups not
>> working on any screen at all.
>>
>> Regards
>> Mukesh Marathe
>>
>
Hi Jacques,
The recent changes might not be deployed on demo server but locally
I am facing this problem.
Here is the logs and lookup.ftl has been modified at this rev. 886143
---- exception report
----------------------------------------------------------
Error rendering included template at location
[component://common/webcommon/includes/lookup.ftl]:
freemarker.core.InvalidReferenceException: Expression
parameters.userLogin.lastLocale is undefined on line 34, column 94 in
component://common/webcommon/includes/lookup.ftl.
Exception: freemarker.core.InvalidReferenceException
Message: Expression parameters.userLogin.lastLocale is undefined on line
34, column 94 in component://common/webcommon/includes/lookup.ftl.
Regards
Mukesh Marathe
Re: Lookups are not Working.
Posted by Jacques Le Roux <ja...@les7arts.com>.
Great, please give a scenario to use in demo server...
Jacques
From: "Mukesh Marathe" <mu...@hotwaxmedia.com>
> Jacques Le Roux wrote:
>> Hi Arpit, Surya,
>>
>> I can't reproduce locally, nor on demo server, could you please give
>> me more details?
>> Which countrie/languages are you using? Maybe there is the clue,
>> though I tried yesterday with hi_IN and got no errors, nor today
>>
>> Thanks
>>
>> Jacques
>>
>> From: "Surya Kusumakar" <ku...@gmail.com>
>>> Hello Arpit,
>>>
>>> I am also facing same problem.
>>>
>>> --
>>> Thanks
>>> Surya Kusumakar
>>>
>>>
>>> Arpit Singh Pandya wrote:
>>>> Hello All,
>>>>
>>>> I am facing problem on lookup screen. Lookup are not working on any
>>>> screen.
>>>>
>>>> Jacques , it seems that as you made changes in lookup.ftl for
>>>> locale, locale is not getting from parameters, it is giving
>>>> following error on console
>>>>
>>>> "Expression parameters.userLogin.lastLocale is undefined".
>>>> Please have a look on it.
>>>>
>>>> Please let me know if any body also facing same Problem.
>>>>
>>>> Thanks And Regards
>>>
>>
> Hello All,
>
> I am also facing the same problem on lookup screens. Lookups not working
> on any screen at all.
>
> Regards
> Mukesh Marathe
>
Re: Lookups are not Working.
Posted by Mukesh Marathe <mu...@hotwaxmedia.com>.
Jacques Le Roux wrote:
> Hi Arpit, Surya,
>
> I can't reproduce locally, nor on demo server, could you please give
> me more details?
> Which countrie/languages are you using? Maybe there is the clue,
> though I tried yesterday with hi_IN and got no errors, nor today
>
> Thanks
>
> Jacques
>
> From: "Surya Kusumakar" <ku...@gmail.com>
>> Hello Arpit,
>>
>> I am also facing same problem.
>>
>> --
>> Thanks
>> Surya Kusumakar
>>
>>
>> Arpit Singh Pandya wrote:
>>> Hello All,
>>>
>>> I am facing problem on lookup screen. Lookup are not working on any
>>> screen.
>>>
>>> Jacques , it seems that as you made changes in lookup.ftl for
>>> locale, locale is not getting from parameters, it is giving
>>> following error on console
>>>
>>> "Expression parameters.userLogin.lastLocale is undefined".
>>> Please have a look on it.
>>>
>>> Please let me know if any body also facing same Problem.
>>>
>>> Thanks And Regards
>>
>
Hello All,
I am also facing the same problem on lookup screens. Lookups not working
on any screen at all.
Regards
Mukesh Marathe
Re: Lookups are not Working.
Posted by Jacques Le Roux <ja...@les7arts.com>.
Hi Arpit, Surya,
I can't reproduce locally, nor on demo server, could you please give me more details?
Which countrie/languages are you using? Maybe there is the clue, though I tried yesterday with hi_IN and got no errors, nor today
Thanks
Jacques
From: "Surya Kusumakar" <ku...@gmail.com>
> Hello Arpit,
>
> I am also facing same problem.
>
> --
> Thanks
> Surya Kusumakar
>
>
> Arpit Singh Pandya wrote:
>> Hello All,
>>
>> I am facing problem on lookup screen. Lookup are not working on any
>> screen.
>>
>> Jacques , it seems that as you made changes in lookup.ftl for locale,
>> locale is not getting from parameters, it is giving following error on
>> console
>>
>> "Expression parameters.userLogin.lastLocale is undefined".
>> Please have a look on it.
>>
>> Please let me know if any body also facing same Problem.
>>
>> Thanks And Regards
>
Re: Lookups are not Working.
Posted by Surya Kusumakar <ku...@gmail.com>.
Hello Arpit,
I am also facing same problem.
--
Thanks
Surya Kusumakar
Arpit Singh Pandya wrote:
> Hello All,
>
> I am facing problem on lookup screen. Lookup are not working on any
> screen.
>
> Jacques , it seems that as you made changes in lookup.ftl for locale,
> locale is not getting from parameters, it is giving following error on
> console
>
> "Expression parameters.userLogin.lastLocale is undefined".
> Please have a look on it.
>
> Please let me know if any body also facing same Problem.
>
> Thanks And Regards