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 (JIRA)" <ji...@apache.org> on 2010/02/07 18:30:28 UTC

[jira] Created: (OFBIZ-3450) When you get disconnected (time out) from a layered lookup, you then get afterward ugly screens

When you get disconnected (time out) from a layered lookup, you then get afterward ugly screens
-----------------------------------------------------------------------------------------------

                 Key: OFBIZ-3450
                 URL: https://issues.apache.org/jira/browse/OFBIZ-3450
             Project: OFBiz
          Issue Type: Sub-task
            Reporter: Jacques Le Roux
            Assignee: Jacques Le Roux




-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Closed: (OFBIZ-3450) When you get disconnected (time out) from a layered lookup, you then get afterward ugly screens

Posted by "Jacques Le Roux (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/OFBIZ-3450?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jacques Le Roux closed OFBIZ-3450.
----------------------------------

    Fix Version/s: Release Branch 10.04
                   SVN trunk
       Resolution: Fixed

> When you get disconnected (time out) from a layered lookup, you then get afterward ugly screens
> -----------------------------------------------------------------------------------------------
>
>                 Key: OFBIZ-3450
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-3450
>             Project: OFBiz
>          Issue Type: Sub-task
>            Reporter: Jacques Le Roux
>            Assignee: Jacques Le Roux
>            Priority: Minor
>             Fix For: Release Branch 10.04, SVN trunk
>
>         Attachments: OFBIZ-3450_SessionProblem.patch, OFBIZ-3450_SessionProblem.patch, OFBIZ-3693_IEBugFix.patch, OFBIZ-3693_IEBugFix.patch
>
>
> When user session is destroyed: Log into an application (accounting for example) and select a form - layered lookups work correct. In another tab log into another application and then log out. Then on the first tab (accounting) try to use a lookup. In the lookup screen you will get the login screen (that's OK) but once you enter your username and password you get a blank screen.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (OFBIZ-3450) When you get disconnected (time out) from a layered lookup, you then get afterward ugly screens

Posted by "Ankit Jain (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/OFBIZ-3450?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12869627#action_12869627 ] 

Ankit Jain commented on OFBIZ-3450:
-----------------------------------

HI Sascha 

Thanks for the above information & your patch. :) 

> When you get disconnected (time out) from a layered lookup, you then get afterward ugly screens
> -----------------------------------------------------------------------------------------------
>
>                 Key: OFBIZ-3450
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-3450
>             Project: OFBiz
>          Issue Type: Sub-task
>            Reporter: Jacques Le Roux
>            Assignee: Jacques Le Roux
>            Priority: Minor
>         Attachments: OFBIZ-3450_SessionProblem.patch, OFBIZ-3450_SessionProblem.patch
>
>
> When user session is destroyed: Log into an application (accounting for example) and select a form - layered lookups work correct. In another tab log into another application and then log out. Then on the first tab (accounting) try to use a lookup. In the lookup screen you will get the login screen (that's OK) but once you enter your username and password you get a blank screen.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (OFBIZ-3450) When you get disconnected (time out) from a layered lookup, you then get afterward ugly screens

Posted by "Jacques Le Roux (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/OFBIZ-3450?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12869934#action_12869934 ] 

Jacques Le Roux commented on OFBIZ-3450:
----------------------------------------

Sascha,

I was not able to apply your patch so I did it by hand. Anyway the 1st hunk is useless. It works well in FF, in IE it's better but you the find button does not work in the 2d lookup. I tried a hack (testing null value) but it did not work (no error but the button did no respond), I gave up quickly I must say.

I found also a little quirk with position. In Example the second lookup should be centered.

> When you get disconnected (time out) from a layered lookup, you then get afterward ugly screens
> -----------------------------------------------------------------------------------------------
>
>                 Key: OFBIZ-3450
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-3450
>             Project: OFBiz
>          Issue Type: Sub-task
>            Reporter: Jacques Le Roux
>            Assignee: Jacques Le Roux
>            Priority: Minor
>         Attachments: OFBIZ-3450_SessionProblem.patch, OFBIZ-3450_SessionProblem.patch, OFBIZ-3693_IEBugFix.patch
>
>
> When user session is destroyed: Log into an application (accounting for example) and select a form - layered lookups work correct. In another tab log into another application and then log out. Then on the first tab (accounting) try to use a lookup. In the lookup screen you will get the login screen (that's OK) but once you enter your username and password you get a blank screen.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (OFBIZ-3450) When you get disconnected (time out) from a layered lookup, you then get afterward ugly screens

Posted by "Jacques Le Roux (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/OFBIZ-3450?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12870419#action_12870419 ] 

Jacques Le Roux commented on OFBIZ-3450:
----------------------------------------

I closed because I did not reproduce the 2d case (in 1st comment). Maybe we will need to reopen though...

> When you get disconnected (time out) from a layered lookup, you then get afterward ugly screens
> -----------------------------------------------------------------------------------------------
>
>                 Key: OFBIZ-3450
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-3450
>             Project: OFBiz
>          Issue Type: Sub-task
>            Reporter: Jacques Le Roux
>            Assignee: Jacques Le Roux
>            Priority: Minor
>             Fix For: Release Branch 10.04, SVN trunk
>
>         Attachments: OFBIZ-3450_SessionProblem.patch, OFBIZ-3450_SessionProblem.patch, OFBIZ-3693_IEBugFix.patch, OFBIZ-3693_IEBugFix.patch
>
>
> When user session is destroyed: Log into an application (accounting for example) and select a form - layered lookups work correct. In another tab log into another application and then log out. Then on the first tab (accounting) try to use a lookup. In the lookup screen you will get the login screen (that's OK) but once you enter your username and password you get a blank screen.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (OFBIZ-3450) When you get disconnected (time out) from a layered lookup, you then get afterward ugly screens

Posted by "Sascha Rodekamp (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/OFBIZ-3450?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Sascha Rodekamp updated OFBIZ-3450:
-----------------------------------

    Attachment: OFBIZ-3693_IEBugFix.patch

Jep Jacques, i'm sorry someone comitted Tabs. And i replaced all tabs with spaces in my Patch thats why you can't apply this patch ...Heres a working update.

> When you get disconnected (time out) from a layered lookup, you then get afterward ugly screens
> -----------------------------------------------------------------------------------------------
>
>                 Key: OFBIZ-3450
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-3450
>             Project: OFBiz
>          Issue Type: Sub-task
>            Reporter: Jacques Le Roux
>            Assignee: Jacques Le Roux
>            Priority: Minor
>         Attachments: OFBIZ-3450_SessionProblem.patch, OFBIZ-3450_SessionProblem.patch, OFBIZ-3693_IEBugFix.patch, OFBIZ-3693_IEBugFix.patch
>
>
> When user session is destroyed: Log into an application (accounting for example) and select a form - layered lookups work correct. In another tab log into another application and then log out. Then on the first tab (accounting) try to use a lookup. In the lookup screen you will get the login screen (that's OK) but once you enter your username and password you get a blank screen.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (OFBIZ-3450) When you get disconnected (time out) from a layered lookup, you then get afterward ugly screens

Posted by "Ankit Jain (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/OFBIZ-3450?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12869919#action_12869919 ] 

Ankit Jain commented on OFBIZ-3450:
-----------------------------------

Hi Sascha,

I don't have IE thats why i didn't checked it, i checked it in FF, chrome & opera there its working fine .

Thanks for your help & patch. :)

> When you get disconnected (time out) from a layered lookup, you then get afterward ugly screens
> -----------------------------------------------------------------------------------------------
>
>                 Key: OFBIZ-3450
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-3450
>             Project: OFBiz
>          Issue Type: Sub-task
>            Reporter: Jacques Le Roux
>            Assignee: Jacques Le Roux
>            Priority: Minor
>         Attachments: OFBIZ-3450_SessionProblem.patch, OFBIZ-3450_SessionProblem.patch, OFBIZ-3693_IEBugFix.patch
>
>
> When user session is destroyed: Log into an application (accounting for example) and select a form - layered lookups work correct. In another tab log into another application and then log out. Then on the first tab (accounting) try to use a lookup. In the lookup screen you will get the login screen (that's OK) but once you enter your username and password you get a blank screen.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (OFBIZ-3450) When you get disconnected (time out) from a layered lookup, you then get afterward ugly screens

Posted by "Jacques Le Roux (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/OFBIZ-3450?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jacques Le Roux updated OFBIZ-3450:
-----------------------------------

    Priority: Minor  (was: Major)

> When you get disconnected (time out) from a layered lookup, you then get afterward ugly screens
> -----------------------------------------------------------------------------------------------
>
>                 Key: OFBIZ-3450
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-3450
>             Project: OFBiz
>          Issue Type: Sub-task
>            Reporter: Jacques Le Roux
>            Assignee: Jacques Le Roux
>            Priority: Minor
>
> When user session is destroyed: Log into an application (accounting for example) and select a form - layered lookups work correct. In another tab log into another application and then log out. Then on the first tab (accounting) try to use a lookup. In the lookup screen you will get the login screen (that's OK) but once you enter your username and password you get a blank screen.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (OFBIZ-3450) When you get disconnected (time out) from a layered lookup, you then get afterward ugly screens

Posted by "Sascha Rodekamp (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/OFBIZ-3450?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Sascha Rodekamp updated OFBIZ-3450:
-----------------------------------

    Attachment: OFBIZ-3450_SessionProblem.patch

Salut Jacques,
so last night i create a little (quiet simple) patch for the lost Session Problem. Yesterday it was to late to submit it ;-) but here it is.

@Ankit/ Atul

I found a little IE Bug not a big deal but for learning:

If you create a Prototype new Element Object and try to define a class for the element, like:

{code:xml} 
... new Element ('DIV'), {
    id: 'something'
    class: 'cssClass'
});

{/code}

It won't work in IE because the IE thinks you mean a JavaScript class and not an element attribute.
So you have to create the Object and then  add the css class with setAttribute('class', 'cssClass');. For IE7 and 6 the Attribute Key is className not class :-)

So not a big deal, just for your Information.

Have a nice day everybody.

Sascha

> When you get disconnected (time out) from a layered lookup, you then get afterward ugly screens
> -----------------------------------------------------------------------------------------------
>
>                 Key: OFBIZ-3450
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-3450
>             Project: OFBiz
>          Issue Type: Sub-task
>            Reporter: Jacques Le Roux
>            Assignee: Jacques Le Roux
>            Priority: Minor
>         Attachments: OFBIZ-3450_SessionProblem.patch
>
>
> When user session is destroyed: Log into an application (accounting for example) and select a form - layered lookups work correct. In another tab log into another application and then log out. Then on the first tab (accounting) try to use a lookup. In the lookup screen you will get the login screen (that's OK) but once you enter your username and password you get a blank screen.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (OFBIZ-3450) When you get disconnected (time out) from a layered lookup, you then get afterward ugly screens

Posted by "Sascha Rodekamp (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/OFBIZ-3450?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12869566#action_12869566 ] 

Sascha Rodekamp commented on OFBIZ-3450:
----------------------------------------

Hi Jacques,
jep that are two different thinks. I solve the case, when you are logged in. Opened a lookup and then you're session expired or you logout on another tab. 
Press the find button/pagination after this and the lookup will show the login page (because you haven't a valid session). After login on the lookup you will be redirected.

With the patch  the lookup noticed if the session is destroyed and redirect the whole page to the login formula (and do not only show the login in the lookup screen).

That's the issue that was first post in this thread. The issue you posted afterwards have something to do with external login keys. That's a little bit more difficult and i try to solve it in the next step.

Have a good day
Sascha


> When you get disconnected (time out) from a layered lookup, you then get afterward ugly screens
> -----------------------------------------------------------------------------------------------
>
>                 Key: OFBIZ-3450
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-3450
>             Project: OFBiz
>          Issue Type: Sub-task
>            Reporter: Jacques Le Roux
>            Assignee: Jacques Le Roux
>            Priority: Minor
>         Attachments: OFBIZ-3450_SessionProblem.patch
>
>
> When user session is destroyed: Log into an application (accounting for example) and select a form - layered lookups work correct. In another tab log into another application and then log out. Then on the first tab (accounting) try to use a lookup. In the lookup screen you will get the login screen (that's OK) but once you enter your username and password you get a blank screen.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (OFBIZ-3450) When you get disconnected (time out) from a layered lookup, you then get afterward ugly screens

Posted by "Sascha Rodekamp (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/OFBIZ-3450?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Sascha Rodekamp updated OFBIZ-3450:
-----------------------------------

    Attachment: OFBIZ-3693_IEBugFix.patch

Ankit there where a problem with the recursive Layer Call in the IE.

But here is the patch now the lookups works in the IE like before. Tested in FF, IE8 & IE7

> When you get disconnected (time out) from a layered lookup, you then get afterward ugly screens
> -----------------------------------------------------------------------------------------------
>
>                 Key: OFBIZ-3450
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-3450
>             Project: OFBiz
>          Issue Type: Sub-task
>            Reporter: Jacques Le Roux
>            Assignee: Jacques Le Roux
>            Priority: Minor
>         Attachments: OFBIZ-3450_SessionProblem.patch, OFBIZ-3450_SessionProblem.patch, OFBIZ-3693_IEBugFix.patch
>
>
> When user session is destroyed: Log into an application (accounting for example) and select a form - layered lookups work correct. In another tab log into another application and then log out. Then on the first tab (accounting) try to use a lookup. In the lookup screen you will get the login screen (that's OK) but once you enter your username and password you get a blank screen.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (OFBIZ-3450) When you get disconnected (time out) from a layered lookup, you then get afterward ugly screens

Posted by "Jacques Le Roux (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/OFBIZ-3450?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12869578#action_12869578 ] 

Jacques Le Roux commented on OFBIZ-3450:
----------------------------------------

Thanks for the clarification an fix Sascha,

Your last patch works well and is committed at r946596 in trunk and r946597 in R10.04

> When you get disconnected (time out) from a layered lookup, you then get afterward ugly screens
> -----------------------------------------------------------------------------------------------
>
>                 Key: OFBIZ-3450
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-3450
>             Project: OFBiz
>          Issue Type: Sub-task
>            Reporter: Jacques Le Roux
>            Assignee: Jacques Le Roux
>            Priority: Minor
>         Attachments: OFBIZ-3450_SessionProblem.patch, OFBIZ-3450_SessionProblem.patch
>
>
> When user session is destroyed: Log into an application (accounting for example) and select a form - layered lookups work correct. In another tab log into another application and then log out. Then on the first tab (accounting) try to use a lookup. In the lookup screen you will get the login screen (that's OK) but once you enter your username and password you get a blank screen.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (OFBIZ-3450) When you get disconnected (time out) from a layered lookup, you then get afterward ugly screens

Posted by "Jacques Le Roux (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/OFBIZ-3450?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12869958#action_12869958 ] 

Jacques Le Roux commented on OFBIZ-3450:
----------------------------------------

Thanks Sascha,

It works well indded in both FF and IE8 when I remove (by hand, easier for me) the following lines

-        } else {
-            identifyLookup(this.globalRef);

Are you sure there could be any side-effects by removing these lines? You added them at http://svn.apache.org/viewvc?rev=928292&view=rev. You fixed the cross button issue at http://svn.apache.org/viewvc?rev=933170&view=rev  and it works without the lines above. So I think it's safe, please confirm...


> When you get disconnected (time out) from a layered lookup, you then get afterward ugly screens
> -----------------------------------------------------------------------------------------------
>
>                 Key: OFBIZ-3450
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-3450
>             Project: OFBiz
>          Issue Type: Sub-task
>            Reporter: Jacques Le Roux
>            Assignee: Jacques Le Roux
>            Priority: Minor
>         Attachments: OFBIZ-3450_SessionProblem.patch, OFBIZ-3450_SessionProblem.patch, OFBIZ-3693_IEBugFix.patch, OFBIZ-3693_IEBugFix.patch
>
>
> When user session is destroyed: Log into an application (accounting for example) and select a form - layered lookups work correct. In another tab log into another application and then log out. Then on the first tab (accounting) try to use a lookup. In the lookup screen you will get the login screen (that's OK) but once you enter your username and password you get a blank screen.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (OFBIZ-3450) When you get disconnected (time out) from a layered lookup, you then get afterward ugly screens

Posted by "Jacques Le Roux (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/OFBIZ-3450?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12869629#action_12869629 ] 

Jacques Le Roux commented on OFBIZ-3450:
----------------------------------------

Sascha, Ankit,

Should we not do something about Sascha's comment on IE? Sorry I did not test in IE :(

> When you get disconnected (time out) from a layered lookup, you then get afterward ugly screens
> -----------------------------------------------------------------------------------------------
>
>                 Key: OFBIZ-3450
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-3450
>             Project: OFBiz
>          Issue Type: Sub-task
>            Reporter: Jacques Le Roux
>            Assignee: Jacques Le Roux
>            Priority: Minor
>         Attachments: OFBIZ-3450_SessionProblem.patch, OFBIZ-3450_SessionProblem.patch
>
>
> When user session is destroyed: Log into an application (accounting for example) and select a form - layered lookups work correct. In another tab log into another application and then log out. Then on the first tab (accounting) try to use a lookup. In the lookup screen you will get the login screen (that's OK) but once you enter your username and password you get a blank screen.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (OFBIZ-3450) When you get disconnected (time out) from a layered lookup, you then get afterward ugly screens

Posted by "Sascha Rodekamp (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/OFBIZ-3450?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Sascha Rodekamp updated OFBIZ-3450:
-----------------------------------

    Attachment: OFBIZ-3450_SessionProblem.patch

Just a quick add ... i forget to check the login before creating the lookup.

> When you get disconnected (time out) from a layered lookup, you then get afterward ugly screens
> -----------------------------------------------------------------------------------------------
>
>                 Key: OFBIZ-3450
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-3450
>             Project: OFBiz
>          Issue Type: Sub-task
>            Reporter: Jacques Le Roux
>            Assignee: Jacques Le Roux
>            Priority: Minor
>         Attachments: OFBIZ-3450_SessionProblem.patch, OFBIZ-3450_SessionProblem.patch
>
>
> When user session is destroyed: Log into an application (accounting for example) and select a form - layered lookups work correct. In another tab log into another application and then log out. Then on the first tab (accounting) try to use a lookup. In the lookup screen you will get the login screen (that's OK) but once you enter your username and password you get a blank screen.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (OFBIZ-3450) When you get disconnected (time out) from a layered lookup, you then get afterward ugly screens

Posted by "Atul Vani (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/OFBIZ-3450?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12869680#action_12869680 ] 

Atul Vani commented on OFBIZ-3450:
----------------------------------

Hi Jacques, Sascha, Ankit, 

I tested it on IE8, works like a charm :)
and thanks for the info Sascha.

> When you get disconnected (time out) from a layered lookup, you then get afterward ugly screens
> -----------------------------------------------------------------------------------------------
>
>                 Key: OFBIZ-3450
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-3450
>             Project: OFBiz
>          Issue Type: Sub-task
>            Reporter: Jacques Le Roux
>            Assignee: Jacques Le Roux
>            Priority: Minor
>         Attachments: OFBIZ-3450_SessionProblem.patch, OFBIZ-3450_SessionProblem.patch
>
>
> When user session is destroyed: Log into an application (accounting for example) and select a form - layered lookups work correct. In another tab log into another application and then log out. Then on the first tab (accounting) try to use a lookup. In the lookup screen you will get the login screen (that's OK) but once you enter your username and password you get a blank screen.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (OFBIZ-3450) When you get disconnected (time out) from a layered lookup, you then get afterward ugly screens

Posted by "Jacques Le Roux (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/OFBIZ-3450?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12869547#action_12869547 ] 

Jacques Le Roux commented on OFBIZ-3450:
----------------------------------------

Hi Sascha,

If I follow the scenario described in this issue, I still get the same kind of error after having applied your patch. Even after having cleared the browser cache (since it seems sometimes I'm not able to get the same behaviour than you). BTW, I get the same behaviour with Opera (I use FF on XP by default). Could someone else try please? 

Thanks

> When you get disconnected (time out) from a layered lookup, you then get afterward ugly screens
> -----------------------------------------------------------------------------------------------
>
>                 Key: OFBIZ-3450
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-3450
>             Project: OFBiz
>          Issue Type: Sub-task
>            Reporter: Jacques Le Roux
>            Assignee: Jacques Le Roux
>            Priority: Minor
>         Attachments: OFBIZ-3450_SessionProblem.patch
>
>
> When user session is destroyed: Log into an application (accounting for example) and select a form - layered lookups work correct. In another tab log into another application and then log out. Then on the first tab (accounting) try to use a lookup. In the lookup screen you will get the login screen (that's OK) but once you enter your username and password you get a blank screen.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (OFBIZ-3450) When you get disconnected (time out) from a layered lookup, you then get afterward ugly screens

Posted by "Sascha Rodekamp (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/OFBIZ-3450?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12869670#action_12869670 ] 

Sascha Rodekamp commented on OFBIZ-3450:
----------------------------------------

Jep i saw some 'new' Bugs related to the IE ... i will have a closer look tomorrow and hope that i can fix all of them :-) It's fun to make JS Code for FF but for the IE it's hard work ;-) I think that is most time consuming ...

> When you get disconnected (time out) from a layered lookup, you then get afterward ugly screens
> -----------------------------------------------------------------------------------------------
>
>                 Key: OFBIZ-3450
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-3450
>             Project: OFBiz
>          Issue Type: Sub-task
>            Reporter: Jacques Le Roux
>            Assignee: Jacques Le Roux
>            Priority: Minor
>         Attachments: OFBIZ-3450_SessionProblem.patch, OFBIZ-3450_SessionProblem.patch
>
>
> When user session is destroyed: Log into an application (accounting for example) and select a form - layered lookups work correct. In another tab log into another application and then log out. Then on the first tab (accounting) try to use a lookup. In the lookup screen you will get the login screen (that's OK) but once you enter your username and password you get a blank screen.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Issue Comment Edited: (OFBIZ-3450) When you get disconnected (time out) from a layered lookup, you then get afterward ugly screens

Posted by "Sascha Rodekamp (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/OFBIZ-3450?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12869501#action_12869501 ] 

Sascha Rodekamp edited comment on OFBIZ-3450 at 5/20/10 2:58 AM:
-----------------------------------------------------------------

Salut Jacques,
so last night i create a little (quiet simple) patch for the lost Session Problem. Yesterday it was to late to submit it ;-) but here it is.

@Ankit/ Atul

I found a little IE Bug not a big deal but for learning:

If you create a Prototype new Element Object and try to define a class for the element, like:

{code:xml} 
var nE = new Element ('DIV'), {
    id: 'something'
    class: 'cssClass'
});

{/code}

It won't work in IE because the IE thinks you mean a JavaScript class and not an element attribute.
So you have to create the Object and then  add the css class with setAttribute('class', 'cssClass');. For IE7 and 6 the Attribute Key is className not class :-)

So not a big deal, just for your Information.

Have a nice day everybody.

Sascha

      was (Author: sascha):
    Salut Jacques,
so last night i create a little (quiet simple) patch for the lost Session Problem. Yesterday it was to late to submit it ;-) but here it is.

@Ankit/ Atul

I found a little IE Bug not a big deal but for learning:

If you create a Prototype new Element Object and try to define a class for the element, like:

{code:xml} 
... new Element ('DIV'), {
    id: 'something'
    class: 'cssClass'
});

{/code}

It won't work in IE because the IE thinks you mean a JavaScript class and not an element attribute.
So you have to create the Object and then  add the css class with setAttribute('class', 'cssClass');. For IE7 and 6 the Attribute Key is className not class :-)

So not a big deal, just for your Information.

Have a nice day everybody.

Sascha
  
> When you get disconnected (time out) from a layered lookup, you then get afterward ugly screens
> -----------------------------------------------------------------------------------------------
>
>                 Key: OFBIZ-3450
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-3450
>             Project: OFBiz
>          Issue Type: Sub-task
>            Reporter: Jacques Le Roux
>            Assignee: Jacques Le Roux
>            Priority: Minor
>         Attachments: OFBIZ-3450_SessionProblem.patch
>
>
> When user session is destroyed: Log into an application (accounting for example) and select a form - layered lookups work correct. In another tab log into another application and then log out. Then on the first tab (accounting) try to use a lookup. In the lookup screen you will get the login screen (that's OK) but once you enter your username and password you get a blank screen.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (OFBIZ-3450) When you get disconnected (time out) from a layered lookup, you then get afterward ugly screens

Posted by "Jacques Le Roux (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/OFBIZ-3450?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12867877#action_12867877 ] 

Jacques Le Roux commented on OFBIZ-3450:
----------------------------------------

Also when you call a lookup from another aplpication from a lookup. As sometimes you need to connect to the other application (though you are connected in the curent application) you get an ugly screen and are trapped. For instance try to call the order lookup from https://localhost:28443/assetmaint/control/EditFixedAssetMaint without having been connected to the order manager application before


> When you get disconnected (time out) from a layered lookup, you then get afterward ugly screens
> -----------------------------------------------------------------------------------------------
>
>                 Key: OFBIZ-3450
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-3450
>             Project: OFBiz
>          Issue Type: Sub-task
>            Reporter: Jacques Le Roux
>            Assignee: Jacques Le Roux
>            Priority: Minor
>
> When user session is destroyed: Log into an application (accounting for example) and select a form - layered lookups work correct. In another tab log into another application and then log out. Then on the first tab (accounting) try to use a lookup. In the lookup screen you will get the login screen (that's OK) but once you enter your username and password you get a blank screen.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (OFBIZ-3450) When you get disconnected (time out) from a layered lookup, you then get afterward ugly screens

Posted by "Jacques Le Roux (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/OFBIZ-3450?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jacques Le Roux updated OFBIZ-3450:
-----------------------------------

    Description: When user session is destroyed: Log into an application (accounting for example) and select a form - layered lookups work correct. In another tab log into another application and then log out. Then on the first tab (accounting) try to use a lookup. In the lookup screen you will get the login screen (that's OK) but once you enter your username and password you get a blank screen.

> When you get disconnected (time out) from a layered lookup, you then get afterward ugly screens
> -----------------------------------------------------------------------------------------------
>
>                 Key: OFBIZ-3450
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-3450
>             Project: OFBiz
>          Issue Type: Sub-task
>            Reporter: Jacques Le Roux
>            Assignee: Jacques Le Roux
>
> When user session is destroyed: Log into an application (accounting for example) and select a form - layered lookups work correct. In another tab log into another application and then log out. Then on the first tab (accounting) try to use a lookup. In the lookup screen you will get the login screen (that's OK) but once you enter your username and password you get a blank screen.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (OFBIZ-3450) When you get disconnected (time out) from a layered lookup, you then get afterward ugly screens

Posted by "Sascha Rodekamp (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/OFBIZ-3450?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12869968#action_12869968 ] 

Sascha Rodekamp commented on OFBIZ-3450:
----------------------------------------

No that is not a problem, because the lookup identification happens when the lookup is created / closed. So this identifiycation is just a dublicate entry.

Cheers

Sascha

> When you get disconnected (time out) from a layered lookup, you then get afterward ugly screens
> -----------------------------------------------------------------------------------------------
>
>                 Key: OFBIZ-3450
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-3450
>             Project: OFBiz
>          Issue Type: Sub-task
>            Reporter: Jacques Le Roux
>            Assignee: Jacques Le Roux
>            Priority: Minor
>         Attachments: OFBIZ-3450_SessionProblem.patch, OFBIZ-3450_SessionProblem.patch, OFBIZ-3693_IEBugFix.patch, OFBIZ-3693_IEBugFix.patch
>
>
> When user session is destroyed: Log into an application (accounting for example) and select a form - layered lookups work correct. In another tab log into another application and then log out. Then on the first tab (accounting) try to use a lookup. In the lookup screen you will get the login screen (that's OK) but once you enter your username and password you get a blank screen.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.