You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ofbiz.apache.org by ha...@apache.org on 2009/10/16 05:59:47 UTC

svn commit: r825757 - /ofbiz/trunk/applications/commonext/widget/CommonScreens.xml

Author: hansbak
Date: Fri Oct 16 03:59:46 2009
New Revision: 825757

URL: http://svn.apache.org/viewvc?rev=825757&view=rev
Log:
password change sometimes gives a 'non authorized' error on the getLastSystemInfoNote service

Modified:
    ofbiz/trunk/applications/commonext/widget/CommonScreens.xml

Modified: ofbiz/trunk/applications/commonext/widget/CommonScreens.xml
URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/commonext/widget/CommonScreens.xml?rev=825757&r1=825756&r2=825757&view=diff
==============================================================================
--- ofbiz/trunk/applications/commonext/widget/CommonScreens.xml (original)
+++ ofbiz/trunk/applications/commonext/widget/CommonScreens.xml Fri Oct 16 03:59:46 2009
@@ -61,9 +61,7 @@
                 <section>
                     <condition>
                         <and>
-                            <not><if-empty field="userLogin"/></not>
-                            <not><if-empty field="userLogin.hasLoggedOut"/></not>
-                            <if-compare field="userLogin.hasLoggedOut" operator="equals" value="N"/>
+                            <if-compare-field field="userLogin" operator="not-equals" to-field="nullValue"/>
                         </and>
                     </condition>
                     <actions>                



Re: svn commit: r825757 - /ofbiz/trunk/applications/commonext/widget/CommonScreens.xml

Posted by Erwan de FERRIERES <er...@nereide.biz>.
Hi Hans,

I think that your commit has broken the trunk, here is the log message 
when trying to log in :
org.ofbiz.widget.screen.ScreenRenderException: Error rendering screen 
[component://commonext/widget/CommonScreens.xml#ApplicationDecorator]: 
java.lang.IllegalArgumentException: Error calling service with name 
getLastSystemInfoNote: org.ofbiz.service.ServiceAuthException: User 
authorization is required for this service: getLastSystemInfoNote (Error 
calling service with name getLastSystemInfoNote: 
org.ofbiz.service.ServiceAuthException: User authorization is required 
for this service: getLastSystemInfoNote)



Le 16/10/2009 05:59, hansbak@apache.org a écrit :
> Author: hansbak
> Date: Fri Oct 16 03:59:46 2009
> New Revision: 825757
>
> URL: http://svn.apache.org/viewvc?rev=825757&view=rev
> Log:
> password change sometimes gives a 'non authorized' error on the getLastSystemInfoNote service
>
> Modified:
>      ofbiz/trunk/applications/commonext/widget/CommonScreens.xml
>
> Modified: ofbiz/trunk/applications/commonext/widget/CommonScreens.xml
> URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/commonext/widget/CommonScreens.xml?rev=825757&r1=825756&r2=825757&view=diff
> ==============================================================================
> --- ofbiz/trunk/applications/commonext/widget/CommonScreens.xml (original)
> +++ ofbiz/trunk/applications/commonext/widget/CommonScreens.xml Fri Oct 16 03:59:46 2009
> @@ -61,9 +61,7 @@
>                   <section>
>                       <condition>
>                           <and>
> -<not><if-empty field="userLogin"/></not>
> -<not><if-empty field="userLogin.hasLoggedOut"/></not>
> -<if-compare field="userLogin.hasLoggedOut" operator="equals" value="N"/>
> +<if-compare-field field="userLogin" operator="not-equals" to-field="nullValue"/>
>                           </and>
>                       </condition>
>                       <actions>
>
>
>

-- 
Erwan