Task #3626
to develop the Application Admin maintenance
Status: | Work Completed-End life cycle | Start date: | September 26, 2013 | |
---|---|---|---|---|
Priority: | Normal | Due date: | September 27, 2013 | |
Assignee: | - | % Done: | 100% | |
Category: | - | Spent time: | 22.00 hours | |
Target version: | - |
History
#1 Updated by Ong Wei Kuan almost 11 years ago
- Status changed from New - Begin Life Cycle to Development / Work In Progress
- % Done changed from 0 to 20
completed application user create service.
#2 Updated by Ong Wei Kuan almost 11 years ago
- Subject changed from to develop the Application user maintenance to to develop the Application Admin maintenance
#3 Updated by Ong Wei Kuan almost 11 years ago
- % Done changed from 20 to 90
done create, edit, confirm and details page.. left main enquiry page...
#4 Updated by Ong Wei Kuan almost 11 years ago
all modules had been pushed to mercurial,
meet some problem when using staging database to test, therefore, need connect to maybank database for further testing..
will go to maybank on sunday (29/09/2013)..
#5 Updated by Ong Wei Kuan almost 11 years ago
- Assignee changed from Ong Wei Kuan to Ahmadi Hadi
modules is done.
But, met some issues.
Issue 1:
Cannot get the application Admin list from upass.
- The listProfilesByExamples(...) method return the application user list, which the access type is "U".
- cannot get the application id from the user profile, always return null
Issue 2:
Fail to updated/edit the user.
- In the updateProfileShallowly(...) method, it use the user Alias to get the existing profile , and use this existing profile to update the user.
- Hence, if the user alias was changed, it will throw error user not found.
Hi Hadi,
kindly assist on above two issues. Thank you.
#6 Updated by Ahmadi Hadi almost 11 years ago
- Assignee changed from Ahmadi Hadi to Ong Wei Kuan
Hi Wei Quan, please find my comments below...
Ong Wei Kuan wrote:
Issue 1:
Cannot get the application Admin list from upass.
- The listProfilesByExamples(...) method return the application user list, which the access type is "U".
- cannot get the application id from the user profile, always return null
I just pushed a changeset that adds a shortcut method to UPassControllerV2 for this purpose. The method is: listApplicationAdmins(...)
Issue 2:
Fail to updated/edit the user.
- In the updateProfileShallowly(...) method, it use the user Alias to get the existing profile , and use this existing profile to update the user.
- Hence, if the user alias was changed, it will throw error user not found.
updateProfileShallowly(...) is meant only for updating those immediate attributes found in the subclasses of UserProfile. If you need to update username or description, you need to call the already existing UA_ModifyUser(...) method.
#7 Updated by Ong Wei Kuan almost 11 years ago
- Status changed from Development / Work In Progress to Finished Development
- Assignee changed from Ong Wei Kuan to Anonymous
- % Done changed from 90 to 100
completed. cheers!!
Hi Lee Lee,
Since this is a totally new module and not in FSD, I send this task back to you first.
TQ.
#8 Updated by Tan Lee Yong almost 11 years ago
- Assignee changed from Anonymous to Man Siew Yong
Hi Man Siew,
Please work with Lee Lee to update the FSD.
#9 Updated by Man Siew Yong almost 11 years ago
- Assignee changed from Man Siew Yong to Anonymous
Done updated for the FSD.
Kindly review it. i have upload on alfresco.
#10 Updated by Tan Lee Yong almost 11 years ago
- Status changed from Finished Development to Work Completed-End life cycle