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

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
8 messages Options
Reply | Threaded
Open this post in threaded view
|

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

Jacques Le Roux
Administrator
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);
>
>

Reply | Threaded
Open this post in threaded view
|

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

Adam Heath-2
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?
Reply | Threaded
Open this post in threaded view
|

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

BJ Freeman
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?
>
>
>

Reply | Threaded
Open this post in threaded view
|

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

Adam Heath-2
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.
Reply | Threaded
Open this post in threaded view
|

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

Jacques Le Roux
Administrator
In reply to this post by Jacques Le Roux
Yes it's between 681992 and 682104. I reverted (merged back) to 681992 and found the previous behaviour back....

Jacques

From: "Jacques Le Roux" <[hidden email]>
To: <[hidden email]>
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);
>>
>>
>

Reply | Threaded
Open this post in threaded view
|

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

Jacques Le Roux
Administrator
In reply to this post by Adam Heath-2
Hi Adam,

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

Thanks

Jacques

From: "Adam Heath" <[hidden email]>

> 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?
>
Reply | Threaded
Open this post in threaded view
|

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

Jacques Le Roux
Administrator
In reply to this post by Adam Heath-2
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" <[hidden email]>
> 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.
>
Reply | Threaded
Open this post in threaded view
|

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

BJ Freeman
In reply to this post by Adam Heath-2
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.
>
>
>