You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ofbiz.apache.org by Jacques Le Roux <ja...@les7arts.com> on 2008/08/03 11:47:09 UTC

Re: svn commit: r682104 - /ofbiz/trunk/framework/widget/src/org/ofbiz/widget/screen/ModelScreenAction.java

Thanks a lot for all this work Adam !

I'm not sure it's related but today I'm not able to quickly open OFBiz using
https://localhost:8443/catalog/control/login?USERNAME=admin&PASSWORD=ofbiz
as I was doing before. The same applies on HWM demo server using this link
https://demo.hotwaxmedia.com/catalog/control/login/main?USERNAME=admin&PASSWORD=ofbiz
which was working before. It stays now on the login screen without any error message.

But if I click on the Catalog tab I open the application getting this URLas result (without having to login more)
https://localhost:18443/catalog/control/main?externalLoginKey=EL381737174319

I did not find any recent relevant changes in the Product controller so far, weird...

Jacques

> Author: doogie
> Date: Sat Aug  2 22:19:45 2008
> New Revision: 682104
>
> URL: http://svn.apache.org/viewvc?rev=682104&view=rev
> Log:
> One last update.
>
> Modified:
>    ofbiz/trunk/framework/widget/src/org/ofbiz/widget/screen/ModelScreenAction.java
>
> Modified: ofbiz/trunk/framework/widget/src/org/ofbiz/widget/screen/ModelScreenAction.java
> URL:
> http://svn.apache.org/viewvc/ofbiz/trunk/framework/widget/src/org/ofbiz/widget/screen/ModelScreenAction.java?rev=682104&r1=682103&r2=682104&view=diff
> ==============================================================================
> --- ofbiz/trunk/framework/widget/src/org/ofbiz/widget/screen/ModelScreenAction.java (original)
> +++ ofbiz/trunk/framework/widget/src/org/ofbiz/widget/screen/ModelScreenAction.java Sat Aug  2 22:19:45 2008
> @@ -456,7 +456,7 @@
>                     combinedMap.putAll(context);
>                     serviceContext = dc.makeValidContext(serviceNameExpanded, ModelService.IN_PARAM, combinedMap);
>                 } else if (UtilValidate.isNotEmpty(autoFieldMapString) && !"false".equals(autoFieldMapString)) {
> -                    FlexibleMapAccessor fieldFma = new FlexibleMapAccessor(autoFieldMapString);
> +                    FlexibleMapAccessor<Object> fieldFma = new FlexibleMapAccessor<Object>(autoFieldMapString);
>                     Map<String, Object> autoFieldMap = UtilGenerics.toMap(fieldFma.get(context));
>                     if (autoFieldMap != null) {
>                         serviceContext =
> this.modelScreen.getDispatcher(context).getDispatchContext().makeValidContext(serviceNameExpanded, ModelService.IN_PARAM,
> autoFieldMap);
>
>


Re: svn commit: r682104 - /ofbiz/trunk/framework/widget/src/org/ofbiz/widget/screen/ModelScreenAction.java

Posted by Jacques Le Roux <ja...@les7arts.com>.
Ha, finally something was needed (since I updated to last I thought the "ant clean" fixed the pb ) ?

Anyway it works :o)

Jacques

From: "Adam Heath" <do...@brainfood.com>
> BJ Freeman wrote:
>> there is a report in user ML that hotwax demo is not working
>> describe the same thing as Jacques
> 
> Fixed in revision 682228.
>

Re: svn commit: r682104 - /ofbiz/trunk/framework/widget/src/org/ofbiz/widget/screen/ModelScreenAction.java

Posted by BJ Freeman <bj...@free-man.net>.
thanks for you efforts

Adam Heath sent the following on 8/3/2008 3:30 PM:
> BJ Freeman wrote:
>> there is a report in user ML that hotwax demo is not working
>> describe the same thing as Jacques
> 
> Fixed in revision 682228.
> 
> 
> 


Re: svn commit: r682104 - /ofbiz/trunk/framework/widget/src/org/ofbiz/widget/screen/ModelScreenAction.java

Posted by Adam Heath <do...@brainfood.com>.
BJ Freeman wrote:
> there is a report in user ML that hotwax demo is not working
> describe the same thing as Jacques

Fixed in revision 682228.

Re: svn commit: r682104 - /ofbiz/trunk/framework/widget/src/org/ofbiz/widget/screen/ModelScreenAction.java

Posted by BJ Freeman <bj...@free-man.net>.
there is a report in user ML that hotwax demo is not working
describe the same thing as Jacques


Adam Heath sent the following on 8/3/2008 2:01 PM:
> Jacques Le Roux wrote:
>> Thanks a lot for all this work Adam !
>>
>> I'm not sure it's related but today I'm not able to quickly open OFBiz
>> using
>> https://localhost:8443/catalog/control/login?USERNAME=admin&PASSWORD=ofbiz
>>
>> as I was doing before. The same applies on HWM demo server using this
>> link
>> https://demo.hotwaxmedia.com/catalog/control/login/main?USERNAME=admin&PASSWORD=ofbiz
>>
>> which was working before. It stays now on the login screen without any
>> error message.
>>
>> But if I click on the Catalog tab I open the application getting this
>> URLas result (without having to login more)
>> https://localhost:18443/catalog/control/main?externalLoginKey=EL381737174319
>>
>>
>> I did not find any recent relevant changes in the Product controller
>> so far, weird...
> 
> Seems to work for me.  Did you happen to clean first?  Where there any
> errors printed in the log?
> 
> 
> 


Re: svn commit: r682104 - /ofbiz/trunk/framework/widget/src/org/ofbiz/widget/screen/ModelScreenAction.java

Posted by Jacques Le Roux <ja...@les7arts.com>.
Hi Adam,

Ant clean did it. To be done in HWM demo server too

Thanks

Jacques

From: "Adam Heath" <do...@brainfood.com>
> Jacques Le Roux wrote:
>> Thanks a lot for all this work Adam !
>> 
>> I'm not sure it's related but today I'm not able to quickly open OFBiz 
>> using
>> https://localhost:8443/catalog/control/login?USERNAME=admin&PASSWORD=ofbiz
>> as I was doing before. The same applies on HWM demo server using this link
>> https://demo.hotwaxmedia.com/catalog/control/login/main?USERNAME=admin&PASSWORD=ofbiz 
>> 
>> which was working before. It stays now on the login screen without any 
>> error message.
>> 
>> But if I click on the Catalog tab I open the application getting this 
>> URLas result (without having to login more)
>> https://localhost:18443/catalog/control/main?externalLoginKey=EL381737174319 
>> 
>> 
>> I did not find any recent relevant changes in the Product controller so 
>> far, weird...
> 
> Seems to work for me.  Did you happen to clean first?  Where there any 
> errors printed in the log?
>

Re: svn commit: r682104 - /ofbiz/trunk/framework/widget/src/org/ofbiz/widget/screen/ModelScreenAction.java

Posted by Adam Heath <do...@brainfood.com>.
Jacques Le Roux wrote:
> Thanks a lot for all this work Adam !
> 
> I'm not sure it's related but today I'm not able to quickly open OFBiz 
> using
> https://localhost:8443/catalog/control/login?USERNAME=admin&PASSWORD=ofbiz
> as I was doing before. The same applies on HWM demo server using this link
> https://demo.hotwaxmedia.com/catalog/control/login/main?USERNAME=admin&PASSWORD=ofbiz 
> 
> which was working before. It stays now on the login screen without any 
> error message.
> 
> But if I click on the Catalog tab I open the application getting this 
> URLas result (without having to login more)
> https://localhost:18443/catalog/control/main?externalLoginKey=EL381737174319 
> 
> 
> I did not find any recent relevant changes in the Product controller so 
> far, weird...

Seems to work for me.  Did you happen to clean first?  Where there any 
errors printed in the log?

Re: svn commit: r682104 - /ofbiz/trunk/framework/widget/src/org/ofbiz/widget/screen/ModelScreenAction.java

Posted by Jacques Le Roux <ja...@les7arts.com>.
Yes it's between 681992 and 682104. I reverted (merged back) to 681992 and found the previous behaviour back....

Jacques

From: "Jacques Le Roux" <ja...@les7arts.com>
To: <de...@ofbiz.apache.org>
Sent: Sunday, August 03, 2008 11:47 AM
Subject: Re: svn commit: r682104 - /ofbiz/trunk/framework/widget/src/org/ofbiz/widget/screen/ModelScreenAction.java


> Thanks a lot for all this work Adam !
>
> I'm not sure it's related but today I'm not able to quickly open OFBiz using
> https://localhost:8443/catalog/control/login?USERNAME=admin&PASSWORD=ofbiz
> as I was doing before. The same applies on HWM demo server using this link
> https://demo.hotwaxmedia.com/catalog/control/login/main?USERNAME=admin&PASSWORD=ofbiz
> which was working before. It stays now on the login screen without any error message.
>
> But if I click on the Catalog tab I open the application getting this URLas result (without having to login more)
> https://localhost:18443/catalog/control/main?externalLoginKey=EL381737174319
>
> I did not find any recent relevant changes in the Product controller so far, weird...
>
> Jacques
>
>> Author: doogie
>> Date: Sat Aug  2 22:19:45 2008
>> New Revision: 682104
>>
>> URL: http://svn.apache.org/viewvc?rev=682104&view=rev
>> Log:
>> One last update.
>>
>> Modified:
>>    ofbiz/trunk/framework/widget/src/org/ofbiz/widget/screen/ModelScreenAction.java
>>
>> Modified: ofbiz/trunk/framework/widget/src/org/ofbiz/widget/screen/ModelScreenAction.java
>> URL:
>> http://svn.apache.org/viewvc/ofbiz/trunk/framework/widget/src/org/ofbiz/widget/screen/ModelScreenAction.java?rev=682104&r1=682103&r2=682104&view=diff
>> ==============================================================================
>> --- ofbiz/trunk/framework/widget/src/org/ofbiz/widget/screen/ModelScreenAction.java (original)
>> +++ ofbiz/trunk/framework/widget/src/org/ofbiz/widget/screen/ModelScreenAction.java Sat Aug  2 22:19:45 2008
>> @@ -456,7 +456,7 @@
>>                     combinedMap.putAll(context);
>>                     serviceContext = dc.makeValidContext(serviceNameExpanded, ModelService.IN_PARAM, combinedMap);
>>                 } else if (UtilValidate.isNotEmpty(autoFieldMapString) && !"false".equals(autoFieldMapString)) {
>> -                    FlexibleMapAccessor fieldFma = new FlexibleMapAccessor(autoFieldMapString);
>> +                    FlexibleMapAccessor<Object> fieldFma = new FlexibleMapAccessor<Object>(autoFieldMapString);
>>                     Map<String, Object> autoFieldMap = UtilGenerics.toMap(fieldFma.get(context));
>>                     if (autoFieldMap != null) {
>>                         serviceContext =
>> this.modelScreen.getDispatcher(context).getDispatchContext().makeValidContext(serviceNameExpanded, ModelService.IN_PARAM,
>> autoFieldMap);
>>
>>
>