This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0"?> | |
<object name="portal_workflow" meta_type="Plone Workflow Tool"> | |
<property | |
name="title">Contains workflow definitions for your portal</property> | |
<bindings> | |
<default> | |
<bound-workflow workflow_id="simple_publication_workflow"/> | |
</default> | |
</bindings> | |
</object> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@@ -10,14 +10,17 @@ from collective.transmogrifier.utils import defaultMatcher | |
from OFS.interfaces import IPropertyManager | |
from Products.GenericSetup.utils import PropertyManagerHelpers, NodeAdapterBase | |
+import logging | |
+logger = logging.getLogger('quintagroup.transmogrifier.propertymanager') | |
+ | |
class Helper(PropertyManagerHelpers, NodeAdapterBase): | |
""" We need this class because PropertyManagerHelpers in _initProperties | |
method uses _convertToBoolean and _getNodeText methods from |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--------------- quintagroup/transmogrifier/adapters/importing.py --------------- | |
index 70f21ae..57e3bcd 100644 | |
@@ -11,9 +11,23 @@ from collective.transmogrifier.interfaces import ITransmogrifier | |
from quintagroup.transmogrifier.interfaces import IImportDataCorrector | |
+from xml.parsers.expat import ExpatError | |
+ | |
EXISTING_UIDS = {} | |
REFERENCE_QUEUE = {} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@@ -88,7 +88,8 @@ if PYTHON_VERSION < (2, 6): | |
# patch for this bug in tarfile module - http://bugs.python.org/issue1719898 | |
if PYTHON_VERSION == (2, 4): | |
- from tarfile import nts, GNUTYPE_SPARSE, normpath | |
+ from tarfile import nts, GNUTYPE_SPARSE | |
+ from os.path import normpath | |
def frombuf(cls, buf): | |
"""Construct a TarInfo object from a 512 byte string buffer. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{% for c in breadcrumbs %} | |
<a href="{{ c.url }}">{{ c.title }}</a> | |
{% if not loop.last %}>>{% endif %} | |
{% endfor %} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- a/src/collective/composition/composition.py | |
+++ b/src/collective/composition/composition.py | |
@@ -91,19 +91,37 @@ class Composition(dexterity.Container): | |
#TODO: Think of a way to register available tiles | |
# And from here, just ask which tiles are available for this | |
# context | |
- available.append({'tile_type': "collective.composition.richtext", | |
+ available.append({'tile_type': "collective.composition.tiles.richtext", | |
'icon': '', | |
'title': "Rich text tile", |
NewerOlder