Update of /var/cvs/applications/taglib/src/org/mmbase/bridge/jsp/taglib/pageflow
In directory james.mmbase.org:/tmp/cvs-serv3651/pageflow

Modified Files:
        Url.java 
Log Message:
added a warning


See also: 
http://cvs.mmbase.org/viewcvs/applications/taglib/src/org/mmbase/bridge/jsp/taglib/pageflow


Index: Url.java
===================================================================
RCS file: 
/var/cvs/applications/taglib/src/org/mmbase/bridge/jsp/taglib/pageflow/Url.java,v
retrieving revision 1.48
retrieving revision 1.49
diff -u -b -r1.48 -r1.49
--- Url.java    2 Oct 2008 09:41:01 -0000       1.48
+++ Url.java    6 Nov 2008 12:24:57 -0000       1.49
@@ -35,7 +35,7 @@
  * <p>
  * The creation of the URL is delegated to the MMBase framework.
  * </p>
- * @version $Id: Url.java,v 1.48 2008/10/02 09:41:01 michiel Exp $;
+ * @version $Id: Url.java,v 1.49 2008/11/06 12:24:57 michiel Exp $;
  * @since MMBase-1.9
  */
 public class Url implements Comparable, CharSequence, Casting.Unwrappable {
@@ -251,7 +251,10 @@
         try {
             String u = get(escapeAmps);
             log.debug("Produced " + u);
-            if (u == null) return "NULL_URL";
+            if (u == null) {
+                log.warn("Produces an url which is null! With " + page + " " + 
params + " " + frameworkParams);
+                return "NULL_URL";
+            }
             StringBuilder show = new StringBuilder();
             if (! useAbsoluteAttribute(show, u)) {
                 log.debug("Absolute attribute not applied on " + u);
_______________________________________________
Cvs mailing list
[email protected]
http://lists.mmbase.org/mailman/listinfo/cvs

Reply via email to