Update of /var/cvs/applications/richtext/src/org/mmbase/richtext/processors/xml
In directory
james.mmbase.org:/tmp/cvs-serv8833/src/org/mmbase/richtext/processors/xml
Modified Files:
Wiki.java
Log Message:
lowered log
See also:
http://cvs.mmbase.org/viewcvs/applications/richtext/src/org/mmbase/richtext/processors/xml
Index: Wiki.java
===================================================================
RCS file:
/var/cvs/applications/richtext/src/org/mmbase/richtext/processors/xml/Wiki.java,v
retrieving revision 1.12
retrieving revision 1.13
diff -u -b -r1.12 -r1.13
--- Wiki.java 4 Jun 2008 12:15:27 -0000 1.12
+++ Wiki.java 10 Jun 2008 11:35:19 -0000 1.13
@@ -29,7 +29,7 @@
* id of the node).
*
* @author Michiel Meeuwissen
- * @version $Id: Wiki.java,v 1.12 2008/06/04 12:15:27 michiel Exp $
+ * @version $Id: Wiki.java,v 1.13 2008/06/10 11:35:19 michiel Exp $
* @todo something goes wrong if same node relation multiple times.
*/
@@ -177,10 +177,12 @@
}
String className = a.getAttribute("class");
a.removeAttribute("class");
+ String id = a.getAttribute("id");
+ if ("".equals(id)) continue;
Node link = findById(a, links, fieldName, usedIds);
if (link == null) {
- String id = a.getAttribute("id");
- log.service("No relation found with id'" + id + "'.
Implicitely creating one now.");
+
+ log.service("No relation found with id '" + id + "'.
Implicitely creating one now.");
Node node = getNode(cloud, id, fieldName);
if (node != null) {
try {
@@ -195,7 +197,7 @@
log.warn(e);
}
} else {
- log.warn("No node found for " + id + "");
+ log.debug("No node found for " + id + "");
}
} else {
link.setStringValue("class", className);
_______________________________________________
Cvs mailing list
[email protected]
http://lists.mmbase.org/mailman/listinfo/cvs