[JBoss JIRA] Created: (GTNPORTAL-1169) Likely issue on DataStorage 's cache , listeners
by Minh Hoang TO (JIRA)
Likely issue on DataStorage 's cache , listeners
------------------------------------------------
Key: GTNPORTAL-1169
URL: https://jira.jboss.org/jira/browse/GTNPORTAL-1169
Project: GateIn Portal
Issue Type: Bug
Affects Versions: 3.0.0-GA
Reporter: Minh Hoang TO
Assignee: Julien Viet
Social team reported that there is delay in creating PageNavigation. Below code snippet illustrates the scenario
String owerType = "group";
String ownerId = "blahblah";
PageNavigation pageNav = new PageNavigation(ownerType, ownerId);
dataStorage.create(pageNavi);
pageNav = dataStorage.getPageNavigation(ownerType, ownerId); ---> Here the pageNav is not NULL
for( int i =0; i < 100; i++)
{
pageNav = dataStorage.getPageNavigation(ownerType, ownerId);
if(pageNav != null)
{
break;
}
else{
//Print out something saying that pageNav is null
}
}
pageNav = dataStorage.getPageNavigation(ownerType, ownerId); ---> Here the pageNavigation is always non NULL, as about 45 seconds has elapsed
Within the loop, the pageNav is often null.
From UI, if user create a new navigation and click immediately on that navigation (Ex: Create a Space in Social), then there is NPE
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
15 years, 8 months
[JBoss JIRA] Created: (GTNPORTAL-1355) Locale is not set correctly in login form when login failed
by Gary Hu (JIRA)
Locale is not set correctly in login form when login failed
-----------------------------------------------------------
Key: GTNPORTAL-1355
URL: https://jira.jboss.org/browse/GTNPORTAL-1355
Project: GateIn Portal
Issue Type: Bug
Security Level: Public (Everyone can see)
Affects Versions: 3.0.0-GA
Reporter: Gary Hu
There are two scenarios to demonstrate the issue.
1. default locale and default OS LANG are both "en_US". If change the language to a different one other the default, and when login fails it shows the label text in English not the one selected previously. This happens to both Firefox and IE8 browsers.
To reproduce the issue:
1) open portal http://localhost:8080/portal
2) click the link "Change Language" at the top right corner, and change it to German
3) click "Anmeoden"(Sign in) and the login popup appears
4) fill in information not correct so the login fails and then be redirected to a different login page with the label showing English not in German.
2. default locale and default OS LANG are both "de_DE". If login fails it shows the label text in German as expected in IE8 but in English in Firefox.
1) open portal http://localhost:8080/portal
2) click "Anmeoden"(Sign in) and the login popup appears
3) fill in information not correct so the login fails and then be redirected to a different login page. If the browser is IE8, the label text shows German as expected. If the browser is Firefox the label
text shows in English.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
15 years, 8 months