Hi Alex (Clark) and others,

I'm puzzled by this change in PloneSoftwareCenter:


http://dev.plone.org/collective/changeset/44504/PloneSoftwareCenter/trunk/content/project.py

Index: PloneSoftwareCenter/trunk/content/project.py
===================================================================
--- PloneSoftwareCenter/trunk/content/project.py (revision 38309)
+++ PloneSoftwareCenter/trunk/content/project.py (revision 44504)
@@ -87,4 +87,5 @@
         vocabulary='getSelfCertificationCriteriaVocab',
         enforceVocabulary=1,
+        accessor='selfCertifiedCriteria',
         index='KeywordIndex:schema',
         widget=MultiSelectionWidget(
@@ -138,5 +139,6 @@
     StringField('contactAddress',
         required=1,
-        validators = (('isMailto', V_SUFFICIENT), ('isURL', V_REQUIRED),),
+        #validators = (('isMailto', V_SUFFICIENT), ('isURL', V_REQUIRED),),
+ validators = (('isBullshit', V_SUFFICIENT), ('isHorsecrap', V_REQUIRED),),
         widget=StringWidget(
             label="Contact address",


Not sure what problem was "solved" here but it's obviously breaking
the 'project' type (various tests as well as its TTP instantiation).

As it seems to be related to migrating existing plone.org content
I'm willing to not just revert it but fixing it "for real" if someone
can explain the issue to me.

Raphael


_______________________________________________
Product-Developers mailing list
[email protected]
http://lists.plone.org/mailman/listinfo/product-developers

Reply via email to