- 07 Dec, 2010 20 commits
-
-
Julien Muchembled authored
Since r40640, portal type classes are reinitialized at the end of transaction, but the test is still valid in multithreaded setups, where classes may be ghostified at any moment by another thread. testBoundMethodCaching and testClassHierarchyAfterReset somehow test the same thing, but in different ways. git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@41204 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
Julien Muchembled authored
Note this also fixes TestERP5Type.test_04_CategoryAccessors A shorter test case would be: def test(self): self.login() self.portal.portal_types.Person.foo = 0 self.portal.person_module.newContent(portal_type='Person') transaction.abort() self.portal.portal_types.Person.foo = 0 self.portal.portal_categories.region.newContent() self.portal.person_module.newContent(portal_type='Person') transaction.commit() # raise ConflictError without this fix (provided Person portal type does not have 'type_class' attribute at the beginning). git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@41203 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
Łukasz Nowak authored
git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@41202 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
Łukasz Nowak authored
git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@41201 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
Kazuhiko Shiozaki authored
git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@41200 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
Łukasz Nowak authored
git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@41196 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
Łukasz Nowak authored
flexibility but less error prone magic - move getDevelopEggName to class, to reuse shared information about test git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@41193 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
Arnaud Fontaine authored
not missing, which may arise when the BT has not been upgraded yet git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@41192 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
Arnaud Fontaine authored
* Add portal_property_sheets to the Tools. git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@41191 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
Kazuhiko Shiozaki authored
git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@41190 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
Gabriel Monnerat authored
* Added feature to be possible filter the Listbox according to the Portal Type git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@41189 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
Łukasz Nowak authored
Test shall be simple, without advanced detection in test itself. If there is a need to test different things in different environment it shall be configured before running test to have stable assertions. git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@41188 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
Arnaud Fontaine authored
* Modify dynamic_class_generation_interaction_workflow to reset the dynamic modules when calling setTypePropertySheetList(). * Fix description of Constraints portal types for ZODB Property Sheets. git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@41184 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
Arnaud Fontaine authored
TypePropertySheetList which now contains both ZODB and filesystem Property Sheets (where the former is used in favor of the latter) git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@41183 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
Nicolas Dumazet authored
is more complex than that. Revert for now. git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@41182 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
Nicolas Dumazet authored
git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@41181 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
Nicolas Dumazet authored
git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@41180 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
Nicolas Dumazet authored
git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@41179 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
Kazuhiko Shiozaki authored
git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@41178 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
Kazuhiko Shiozaki authored
git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@41177 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
- 06 Dec, 2010 20 commits
-
-
Nicolas Delaby authored
git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@41173 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
Nicolas Delaby authored
git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@41172 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
Nicolas Delaby authored
git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@41171 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
Kazuhiko Shiozaki authored
git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@41169 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
Kazuhiko Shiozaki authored
git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@41168 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
Gabriel Monnerat authored
git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@41167 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
Nicolas Delaby authored
Add missing actions on Open Internal Order Line (copy/paste from Internal Order Line) git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@41166 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
Nicolas Delaby authored
git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@41165 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
Nicolas Delaby authored
git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@41164 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
Nicolas Delaby authored
Must be configured with association between portal_type and workflow on Business Template level. This authorise to associate this interaction with portal_types which are not embedded by erp5_trade git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@41162 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
Nicolas Delaby authored
git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@41161 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
Nicolas Delaby authored
git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@41160 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
Nicolas Delaby authored
git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@41159 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
Kazuhiko Shiozaki authored
git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@41158 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
Gabriel Monnerat authored
git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@41157 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
Nicolas Delaby authored
git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@41156 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
Julien Muchembled authored
git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@41155 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
Julien Muchembled authored
This fixes TestERP5Type.test_03_NewTempObject Note this condition is useless for non-temporary objects, because that _setObject already does many checks. git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@41154 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
Gabriel Monnerat authored
git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@41153 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
Julien Muchembled authored
git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@41152 20353a03-c40f-0410-a6d1-a30d3c3de9de
-