History | Log In     View a printable version of the current page.  
Issue Details (XML | Word | Printable)

Key: UP-1478
Type: Bug Bug
Status: Resolved Resolved
Resolution: Fixed
Priority: Minor Minor
Assignee: Dan Mindler
Reporter: Dan Mindler
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
uPortal

userName not set correctly on login; is always Guest

Created: 17/Apr/06 11:21 AM   Updated: 05/Mar/08 08:04 AM
Component/s: Aggregated Layouts
Affects Version/s: 2.4.4
Fix Version/s: 2.4.5

Original Estimate: Unknown Remaining Estimate: Unknown Time Spent: Unknown
File Attachments: 1. Text File ppatch.txt (1.0 kb)



 Description  « Hide
The following problem description was identified on the mailing list:


"I'm using uP 2.4.4 with AL. After login of a user, I see always "Guest".

I saw in the IntegratedModes.xsl that this value is assigned on param userName.
In PersonDir.xml I set alias displayName with the right value.

It's strage becouse in up 2.4.3 it works but not in up 2.4.4. "

A change was made to UserInstance.java[1] in the processUserLayoutParameters() method that removed code to set the userName.

+ String userName = person.getFullName();
+ if (userName != null && userName.trim().length() > 0)
+ themePrefs.putParameterValue("userName", userName);


[1] http://developer.ja-sig.org/source/viewrep/jasig/portal/source/org/jasig/portal/UserInstance.java?r1=1.112.2.3&r2=1.112.2.4

 All   Comments   Work Log   Change History      Sort Order:
Dan Mindler [17/Apr/06 11:22 AM]
Patch to UserInstance.java

Andrew Petro [21/Aug/07 06:46 PM]
This issue appears to be fixed in 2-4-patches.