- 07 Mar, 2012 40 commits
-
-
Arnaud Fontaine authored
When load() was called in checkConsistency where namespace_dict was not given and thus equal to the default function parameter value, exec would set the function namespace_dict parameter, thus the next call would have namespace_dict already set when it was given. This fixes testInvalidSourceCode when being ran for TestZodbExtensionComponent and TestZodbDocumentComponent in the same runUnitTest.
-
Arnaud Fontaine authored
Only consider .py and .xml files when importing BusinessTemplate files in FilesystemToZodbTemplateItem. This fixes tests failures with ``AttributeError: 'str' object has no attribute 'text_content''' due to .pyc files.
-
Arnaud Fontaine authored
-
Arnaud Fontaine authored
Fix hasErrorMessageList() of ZODB Component as error_message (component_validation_workflow variable) is always set.
-
Arnaud Fontaine authored
-
Arnaud Fontaine authored
-
Arnaud Fontaine authored
-
Arnaud Fontaine authored
-
Arnaud Fontaine authored
-
Arnaud Fontaine authored
-
Arnaud Fontaine authored
Modules to be handled by the Component import hook must have already been filtered properly in find_module().
-
Arnaud Fontaine authored
-
Arnaud Fontaine authored
-
Arnaud Fontaine authored
-
Arnaud Fontaine authored
-
Arnaud Fontaine authored
-
Arnaud Fontaine authored
-
Arnaud Fontaine authored
-
Arnaud Fontaine authored
-
Arnaud Fontaine authored
-
Arnaud Fontaine authored
-
Arnaud Fontaine authored
-
Arnaud Fontaine authored
-
Arnaud Fontaine authored
-
Arnaud Fontaine authored
-
Arnaud Fontaine authored
-
Arnaud Fontaine authored
Add ZODB Document BusinessTemplate tests as expected failure for Constraint and Test (not implemented yet).
-
Arnaud Fontaine authored
This fixes filesystem Document-related tests in testBusinessTemplate.
-
Arnaud Fontaine authored
Otherwise, following ZODB Document tests will fail because of the ZODB Document created but not removed in that test.
-
Arnaud Fontaine authored
Before, ConsistencyMessage were stored into a separate workflow variable, instead of using error_message workflow variable which contains instances of Message.
-
Arnaud Fontaine authored
-
Arnaud Fontaine authored
-
Arnaud Fontaine authored
-
Arnaud Fontaine authored
-
Arnaud Fontaine authored
The only purpose of having Interaction Workflow defined on ComponentTool _setObject and _delObject was for BusinessTemplate installation and uninstallation, however the reset was also triggered when a new draft Component was being added. Instead, perform the reset in BusinessTemplate DocumentTemplateItem.
-
Arnaud Fontaine authored
-
Arnaud Fontaine authored
-
Arnaud Fontaine authored
-
Arnaud Fontaine authored
-
Arnaud Fontaine authored
-