summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFrédéric Péters <fpeters@entrouvert.com>2014-03-24 09:53:27 (GMT)
committerFrédéric Péters <fpeters@0d.be>2014-03-24 09:56:13 (GMT)
commit7f7c2558b08f4c6ea27981952d159d270766aeed (patch)
tree7c10ee758b95c6aa3c546ceb7ac89ae0290f14c2
parentb2ec35c6364eb09b1dd87dae6cb84e472314e81a (diff)
downloadplone.formwidget.contenttree-7f7c2558b08f4c6ea27981952d159d270766aeed.zip
plone.formwidget.contenttree-7f7c2558b08f4c6ea27981952d159d270766aeed.tar.gz
plone.formwidget.contenttree-7f7c2558b08f4c6ea27981952d159d270766aeed.tar.bz2
do not fail on non-string missing value (#4535)
-rw-r--r--plone/formwidget/contenttree/source.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/plone/formwidget/contenttree/source.py b/plone/formwidget/contenttree/source.py
index 893ca64..8a1cee5 100644
--- a/plone/formwidget/contenttree/source.py
+++ b/plone/formwidget/contenttree/source.py
@@ -180,7 +180,7 @@ class PathSource(object):
# brain. These will get hidden in the display templates
def _placeholderTerm(self, value):
return SimpleTerm(str(value),
- token='#error-missing-' + value,
+ token='#error-missing-' + str(value),
title=u"Hidden or missing item '%s'" % value)