Author: andreas
Date: Fri May 9 07:55:18 2008
New Revision: 654834
URL: http://svn.apache.org/viewvc?rev=654834&view=rev
Log:
Replacing identity.getUser() with identity.getUserReference().
Modified:
lenya/branches/branch_1_2_x_shibboleth/src/webapp/lenya/pubs/blog/java/src/org/apache/lenya/cms/authoring/NewBlogEntryCreator.java
Modified: lenya/branches/branch_1_2_x_shibboleth/src/webapp/lenya/pubs/blog/java/src/org/apache/lenya/cms/authoring/NewBlogEntryCreator.java
URL: http://svn.apache.org/viewvc/lenya/branches/branch_1_2_x_shibboleth/src/webapp/lenya/pubs/blog/java/src/org/apache/lenya/cms/authoring/NewBlogEntryCreator.java?rev=654834&r1=654833&r2=654834&view=diff
==============================================================================
--- lenya/branches/branch_1_2_x_shibboleth/src/webapp/lenya/pubs/blog/java/src/org/apache/lenya/cms/authoring/NewBlogEntryCreator.java (original)
+++ lenya/branches/branch_1_2_x_shibboleth/src/webapp/lenya/pubs/blog/java/src/org/apache/lenya/cms/authoring/NewBlogEntryCreator.java Fri May 9 07:55:18 2008
@@ -101,7 +101,7 @@
// Replace author
Identity identity = (Identity)parameters.get("org.apache.lenya.ac.Identity");
- du.setElementValue(doc, "/echo:entry/echo:author/echo:name", identity.getUser().getId());
+ du.setElementValue(doc, "/echo:entry/echo:author/echo:name", identity.getUserReference().getId());
// Replace date created (and issued and modified, FIXME: issued should be set during first time publishing, modified should be set during re-publishing)
DateFormat datefmt = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss");
lmpx.com only provides a reader for public news (NNTP) servers. It is not
affiliated with the servers or forums shown here and is not responsible for
the content of articles, which is written by their respective authors.