- 07 Mar, 2016 11 commits
-
-
Sebastien Robin authored
-
Sebastien Robin authored
-
Georgios Dagkakis authored
-
Georgios Dagkakis authored
BusinessTemplates: Allow export of files like Python Script, Web Page, Web Script etc. separately from the xml
-
Georgios Dagkakis authored
MessageTranslationTemplateItem: fix in _import so that the path of the .po files are the same as in build
-
Georgios Dagkakis authored
BusinessTemplate.py: Class CatalogKeyTemplateItemBase: fix so that in export the items are exported in the correct folder
-
Sebastien Robin authored
Fix unit test errors due to data remaining from other tests
-
Sebastien Robin authored
Like we already do for Documents, Tests and Extension, we are soon going to export as two files various types of document. It's usually one file for metadata, and one file for the content (code, text). Sometimes, we might want such kind of two file export for some bt having portal type and instance of such portal type in the same time. In such case, we have some intermediate steps where we have broken objects, and we need to change theses broken objets before portal type is fully initialized and installed.
-
Sebastien Robin authored
Such error was raised : BrokenModified: Can't change broken objects We were installing a broken object even though the portal type was just installed. This was due to a missing reset of components.
-
Sebastien Robin authored
-
Sebastien Robin authored
Following code, with foo having portal type Foo which is not installed yet (thus it is broken) : connection = self.getConnection(portal) foo = connection.importFile(file_obj) => this does a savepoint foo._p_changed = 1 Then next savepoint was raising : PicklingError: Can't pickle <class 'erp5.portal_type.Foo'>: it's not the same object as erp5.portal_type.Foo ) This was because we had : foo.__class__.mro() : (<class 'erp5.portal_type.Foo'>, <class 'ZODB.broken.PersistentBroken'>, <class 'ZODB.broken.Broken'>, <type 'persistent.Persistent'>, <class 'erp5.portal_type.Foo'>, <class 'Products.ERP5Type.dynamic.lazy_class.GhostBase'>, <class 'Products.ERP5Type.dynamic.lazy_class.ERP5BaseBroken'>, <class 'Products.ERP5Type.Base.Base'>, *TAIL) and erp5.portal_type.__getattribute__("Foo").mro() : (<class 'erp5.portal_type.Foo'>, <class 'Products.ERP5Type.dynamic.lazy_class.ERP5BaseBroken'>, <class 'ZODB.broken.Broken'>, <class 'Products.ERP5Type.Base.Base'>, *TAIL) Classes where different because new class with new inheritance was created by ZODB.serialize.ObjecReader.load_persistent which does : if issubclass(klass, Broken): # We got a broken class. We might need to make it # PersistentBroken if not issubclass(klass, broken.PersistentBroken): klass = broken.persistentBroken(klass) Since ERP5BaseBroken is patched to mostly be like a PersistentBroken, make sure we allow serialization to identify ERP5BaseBroken as a PersistenBroken class.
-
- 04 Mar, 2016 6 commits
-
-
Kazuhiko Shiozaki authored
-
Kazuhiko Shiozaki authored
erp5_discussion: make Discussion Post content fulltext searchable See merge request !66
-
Tristan Cavelier authored
-
Romain Courteaud authored
-
Nicolas Wavrant authored
Renaming base category "journal" to "ledger" Because "journal" is not French, and this base category can be used in different modules. This merge request also provides a tested method in erp5_upgrader to update the objects using the "journal" category during the post-upgrade. See merge request !54
-
Yusei Tahara authored
A bug fix of erp5_core/Folder_delete See merge request !65
-
- 03 Mar, 2016 3 commits
-
-
Cédric Le Ninivin authored
-
Nicolas Wavrant authored
Category Tool is very special for an ERP5, because it is part of the dynamic generation of objects' properties. Setting up a property sheet on it will break ERP5. As the renaming feature is related to the upgrade, we will attach the constraint on the Template Tool, as a way to group all the upgrade features at the same place
-
Yusei Tahara authored
-
- 02 Mar, 2016 12 commits
-
-
Xiaowu Zhang authored
-
Xiaowu Zhang authored
-
Nicolas Wavrant authored
-
Nicolas Wavrant authored
-
Romain Courteaud authored
-
Romain Courteaud authored
-
Romain Courteaud authored
-
Romain Courteaud authored
-
Yusei Tahara authored
Submit action must be disabled while solver is being updated. End user sometimes click too fast that submit action fails due to lack of 'my_tested_property_list'.
-
Romain Courteaud authored
Split each page into a separate gadget. Stop using patched renderjs.
-
Romain Courteaud authored
-
Yusei Tahara authored
-
- 01 Mar, 2016 2 commits
-
-
Tristan Cavelier authored
-
Yusei Tahara authored
-
- 29 Feb, 2016 2 commits
-
-
Tristan Cavelier authored
-
Tristan Cavelier authored
-
- 26 Feb, 2016 1 commit
-
-
Sebastien Robin authored
-
- 25 Feb, 2016 3 commits
-
-
Sebastien Robin authored
When a delivery was splitted, then the new delivery was also splitted, and so on, we were generiting ids like "1_split_0_split_0_split_0_split_0...". It ended having simulation having a path up to 240 characters on some projects due to this (near 255 catalog limit). For keeping some information on the split, only keep "_split_" one time in the id. If we really need to know exactly from which simulation movement a new splitted simulation movement is coming from, we should use something else than id.
-
Sebastien Robin authored
-
Kazuhiko Shiozaki authored
Now ERP5Site_reindex is not called during test setup, thus some tools added before portal_activities should be reindexed explicitly.
-