SlingshotUserFactory.java changed?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-08-2010 03:09 PM
….site\SlingshotUserFactory.java:114: cannot find symbol
[javac] symbol : variable CM_DIVISION
[javac] location: class org.alfresco.web.site.SlingshotUserFactory
[javac] writer.writeValue(CM_DIVISION, user.getDivision());
This worked fine before however now errors compiling. Changes I made to this file were just:
writer.writeValue(CM_DIVISION, user.getDivision());
If I search the working set for JobTitle which is also in the same file I get the same number of results returned. The only think I notice is that the includes now are totally different on this class and it's surf based now. Otherwise looks very similar but not acting the same.
Thanks.
jR
- Labels:
-
Archive
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-08-2010 04:59 PM
Thanks,
Mike
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-10-2010 06:57 PM
Thanks.
JR
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-11-2010 09:35 AM
Cheers,
Mike
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-11-2010 10:35 AM
JR
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-11-2010 12:11 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-11-2010 12:16 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-11-2010 12:24 PM
The build machine does a clean svn checkout and build, so the number of files is probably correct.
Thanks,
Mike
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-11-2010 12:30 PM
Also noticed in ScriptUser.java that items like:
public void setInstantMsg(String value)
{
this.user.setInstantMsg(value);
}
are no longer in there where I also used to add changes for adding a new attribute to user.
Thanks.
JR
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-11-2010 01:53 PM
AlfrescoUserFactory.java is gone
ScriptUser.java doesn't seem to store most of the set and get functions anymore
user.java doesn't seem to store the prop's directly or have the set and get functions either
What I normally did:
I can still do this except for the items I listed are missing or look like the method of implementing things has changed. Any thoughts on how to implement adding an attribute to a user profile in the current release?
Looking thru the code and using InstantMsg as an example. I find the following files need to be edited to add a new attribute. Can anyone comfirm?
root/projects/remote-api/config/alfresco/templates/webscripts/org/alfresco/repository/person/person.lib.ftl"
root/projects/repository/config/alfresco/model/contentModel.xml
root/projects/repository/source/java/org/alfresco/model/ContentModel.java
root/projects/slingshot/config/alfresco/site-webscripts/org/alfresco/components/console/users.get.html.ftl
root/projects/slingshot/config/alfresco/site-webscripts/org/alfresco/components/dashlets/my-profile.get.html.ftl
root/projects/slingshot/config/alfresco/site-webscripts/org/alfresco/components/profile/userprofile.get.html.ftl
root/projects/slingshot/source/java/org/alfresco/web/site/SlingshotUserFactory.java
root/projects/slingshot/source/web/components/console/users.js
root/projects/slingshot/source/web/components/profile/profile.js
Thanks.
JR
