Open GoogleCodeExporter opened 9 years ago
i'll take a look at this one.
Original comment by gk5...@kickstyle.net
on 20 Nov 2009 at 3:49
Can anyone edit the code in
com.google.sites.liberation.renderers.RendererUtils.getAuthorElement(RendererUti
ls.java:72)
and protect the line...
/**
* Creates a new hCard element for the given entry.
*/
static XmlElement getAuthorElement(BaseContentEntry<?> entry) {
checkNotNull(entry);
XmlElement element = new XmlElement("span");
element.setAttribute("class", "author");
XmlElement vcard = new XmlElement("span");
vcard.setAttribute("class", "vcard");
Person author = entry.getAuthors().get(0);
String name = author.getName();
String email = author.getEmail();
if (name == null) {
if (email == null) { // THIS LINE IS NEW
XmlElement link = getHyperLink("mailto: "unknown author"); // THIS LINE IS NEW
} else { // THIS LINE IS NEW
XmlElement link = getHyperLink("mailto: + email, email);
} // THIS LINE IS NEW
link.setAttribute("class", "email");
vcard.addElement(link);
} else {
XmlElement link = getHyperLink("mailto: + email, name);
link.setAttribute("class", "fn");
vcard.addElement(link);
}
return element.addElement(vcard);
}
Original comment by joseluis...@gmail.com
on 29 Apr 2010 at 9:48
Search for the page problem
Original comment by greestreet@gmail.com
on 12 May 2010 at 9:17
Just ran into this. Same error message. "Unknown user" is listed in the
revision history as the author of the offending page.
Original comment by j...@metrumrg.com
on 14 Feb 2011 at 7:07
Concur here
Original comment by k...@campbellmusclelab.org
on 17 Mar 2012 at 8:45
same here -- need to export an old intranet (with posts by several deleted
users) to our new intranet site. Old site exported fine with Revisions
unchecked, but hangs on export when Revisions is checked.
Original comment by hvonmark...@gmail.com
on 19 Jul 2012 at 9:45
I have the same issue please fix the bug
Original comment by marc.lec...@enensys.com
on 23 May 2013 at 2:22
Original issue reported on code.google.com by
robert.m...@gmail.com
on 16 Nov 2009 at 8:24