Werid stuf

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

Werid stuf

Jacques Le Roux
Administrator
I think I have got an issue with case (no)sensitivity  in Windows :/. After many svn up, I had an instance still not loading with
the buzziness theme by default with a fresh new Postgres DB. Then I looked into the ant run-installk log and found.

[java] 2009-05-07 23:46:42,125 (main) [   EntityDataLoader.java:130:WARN ] Could not get URL for Component ResourceHandler:
org.ofbiz.base.component.ComponentException: File Resource not found:
D:/workspace/ofbizRun/themes/bizznesstime/data/BizznessTimeThemeData.xml

I then did (commands following in the same terminal):
<<D:\Workspace\ofbizRun>svn di themes/bizznesstime/data/BizznessTimeThemeData.xml
svn: 'themes\bizznesstime\data\BizznessTimeThemeData.xml' is not under version control

D:\Workspace\ofbizRun>svn up themes/bizznesstime/data/BizznessTimeThemeData.xml
A    themes\bizznesstime\data\BizznessTimeThemeData.xml
Updated to revision 772791.>>

It solved my problem (certainly relted to r772089)

 I had also a problem when changing a  theme and OFBiz no returning automatically to the last-viewed page. Finally I thought it was
fixed by an "ant clean-all', but it's still hapenning.

Also I remember having found issues when trying to use the "come-back feature" (last-view, etc. stuff) from 2 or more FF3 tabs
(OFBiz is then confused I guess)

Also sometimes when you switch from an application to another, the login screen popup but always shows with the BizznessTime theme
and not the current selected theme. BTW Hans's fix at r772136 (update of login screen better in new bizz scheme) seems to not work
anymore.

Often you begin a task and end up doing much more than you whish before reaching your goal. Sorry to bother, I had to share this
feeling...

Jacques


Reply | Threaded
Open this post in threaded view
|

Re: Werid stuf

Adrian Crum
Jacques Le Roux wrote:
> Also sometimes when you switch from an application to another, the login
> screen popup but always shows with the BizznessTime theme and not the
> current selected theme. BTW Hans's fix at r772136 (update of login
> screen better in new bizz scheme) seems to not work anymore.

That makes sense. If you're not logged in, then OFBiz will use the
default theme.

-Adrian

Reply | Threaded
Open this post in threaded view
|

Re: Werid stuf

Jacques Le Roux
Administrator
Yes you are right, but it's weird because you are in an apllication with flat grey, clic on a tab, it shows login with bizznesstime,
and then back again to flat grey

Jacques

From: "Adrian Crum" <[hidden email]>
> Jacques Le Roux wrote:
>> Also sometimes when you switch from an application to another, the login screen popup but always shows with the BizznessTime
>> theme and not the current selected theme. BTW Hans's fix at r772136 (update of login screen better in new bizz scheme) seems to
>> not work anymore.
>
> That makes sense. If you're not logged in, then OFBiz will use the default theme.
>
> -Adrian
>


Reply | Threaded
Open this post in threaded view
|

Re: Werid stuf

David E Jones-3

That's what it is supposed to do. There are actually two settings for  
default theme:

1. when no user is logged in
2. when a user is logged in but has no theme set

You can override #2 for a specific account, but in the case of #1 it  
doesn't know who the user is, so it will always be the system default  
theme.

-David


On May 7, 2009, at 5:27 PM, Jacques Le Roux wrote:

> Yes you are right, but it's weird because you are in an apllication  
> with flat grey, clic on a tab, it shows login with bizznesstime, and  
> then back again to flat grey
>
> Jacques
>
> From: "Adrian Crum" <[hidden email]>
>> Jacques Le Roux wrote:
>>> Also sometimes when you switch from an application to another, the  
>>> login screen popup but always shows with the BizznessTime theme  
>>> and not the current selected theme. BTW Hans's fix at r772136  
>>> (update of login screen better in new bizz scheme) seems to not  
>>> work anymore.
>>
>> That makes sense. If you're not logged in, then OFBiz will use the  
>> default theme.
>>
>> -Adrian
>
>

Reply | Threaded
Open this post in threaded view
|

Re: Werid stuf

Jacques Le Roux
Administrator
Actually it makes me always wonder why sometimes this login screen pop up when switching from an application to another. But I must
say that I'm aslo playing with URLs which is maybe the reason...
I have also to familiarize with the differences between preferences and default for themes (and maybe other stuff), not really
obvious, but yes makes sense!

Jacques

From: "David E Jones" <[hidden email]>

> That's what it is supposed to do. There are actually two settings for  default theme:
>
> 1. when no user is logged in
> 2. when a user is logged in but has no theme set
>
> You can override #2 for a specific account, but in the case of #1 it  doesn't know who the user is, so it will always be the
> system default  theme.
>
> -David
>
>
> On May 7, 2009, at 5:27 PM, Jacques Le Roux wrote:
>
>> Yes you are right, but it's weird because you are in an apllication  with flat grey, clic on a tab, it shows login with
>> bizznesstime, and  then back again to flat grey
>>
>> Jacques
>>
>> From: "Adrian Crum" <[hidden email]>
>>> Jacques Le Roux wrote:
>>>> Also sometimes when you switch from an application to another, the  login screen popup but always shows with the BizznessTime
>>>> theme  and not the current selected theme. BTW Hans's fix at r772136  (update of login screen better in new bizz scheme) seems
>>>> to not  work anymore.
>>>
>>> That makes sense. If you're not logged in, then OFBiz will use the  default theme.
>>>
>>> -Adrian
>>
>>
>


Reply | Threaded
Open this post in threaded view
|

Re: Werid stuf

Scott Gray-2
In reply to this post by David E Jones-3
Couldn't we store the user's preferred theme in a cookie so they can  
see it before they log in?

Regards
Scott

On 8/05/2009, at 11:32 AM, David E Jones wrote:

>
> That's what it is supposed to do. There are actually two settings  
> for default theme:
>
> 1. when no user is logged in
> 2. when a user is logged in but has no theme set
>
> You can override #2 for a specific account, but in the case of #1 it  
> doesn't know who the user is, so it will always be the system  
> default theme.
>
> -David
>
>
> On May 7, 2009, at 5:27 PM, Jacques Le Roux wrote:
>
>> Yes you are right, but it's weird because you are in an apllication  
>> with flat grey, clic on a tab, it shows login with bizznesstime,  
>> and then back again to flat grey
>>
>> Jacques
>>
>> From: "Adrian Crum" <[hidden email]>
>>> Jacques Le Roux wrote:
>>>> Also sometimes when you switch from an application to another,  
>>>> the login screen popup but always shows with the BizznessTime  
>>>> theme and not the current selected theme. BTW Hans's fix at  
>>>> r772136 (update of login screen better in new bizz scheme) seems  
>>>> to not work anymore.
>>>
>>> That makes sense. If you're not logged in, then OFBiz will use the  
>>> default theme.
>>>
>>> -Adrian
>>
>>
>


smime.p7s (3K) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: Werid stuf

Ashish Vijaywargiya-5
 >> Couldn't we store the user's preferred theme in a cookie so they can
see it before they log in?
 
+1

--
Ashish

Scott Gray wrote:
> Couldn't we store the user's preferred theme in a cookie so they can
> see it before they log in?
>
> Regards
> Scott
>
> On 8/05/2009, at 11:32 AM, David E Jones wrote:
>
>

smime.p7s (4K) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: Werid stuf

Jacques Le Roux
Administrator
Sound like a good idea : +1

Jacques

From: "Ashish Vijaywargiya" <[hidden email]>

> >> Couldn't we store the user's preferred theme in a cookie so they can
> see it before they log in?
>
> +1
>
> --
> Ashish
>
> Scott Gray wrote:
>> Couldn't we store the user's preferred theme in a cookie so they can
>> see it before they log in?
>>
>> Regards
>> Scott
>>
>> On 8/05/2009, at 11:32 AM, David E Jones wrote:
>>
>>
>

Reply | Threaded
Open this post in threaded view
|

Re: Werid stuf

gobrien
In reply to this post by Jacques Le Roux
Jacques,

I'm seeing exactly this behavior and I'm NOT playing with URLs. For example, if I log into catalog manager and then select party manager it pops me to the login screen. I login and proceed. On the demo ofbiz it doesn't require this extra login. Any idea what I broke?

Thanks,

Gareth.

Jacques Le Roux wrote
Actually it makes me always wonder why sometimes this login screen pop up when switching from an application to another. But I must say that I'm aslo playing with URLs which is maybe the reason...
Reply | Threaded
Open this post in threaded view
|

Re: Werid stuf

hans_bakker
Hi Gareth,

At the moment when you start an application for the first time you need
a username/password., then it is not required anymore.
Why it does not behave like that in the demo version is, i quess, that
other people were already before you with the first login....

Regards,
Hans
AntWebsystems.com

On 10/26/2011 04:45 PM, gobrien wrote:

> Jacques,
>
> I'm seeing exactly this behavior and I'm NOT playing with URLs. For example,
> if I log into catalog manager and then select party manager it pops me to
> the login screen. I login and proceed. On the demo ofbiz it doesn't require
> this extra login. Any idea what I broke?
>
> Thanks,
>
> Gareth.
>
>
> Jacques Le Roux wrote:
>> Actually it makes me always wonder why sometimes this login screen pop up
>> when switching from an application to another. But I must say that I'm
>> aslo playing with URLs which is maybe the reason...
>>
> --
> View this message in context: http://ofbiz.135035.n4.nabble.com/Werid-stuf-tp202232p3939986.html
> Sent from the OFBiz - Dev mailing list archive at Nabble.com.