An error occurred fetching the project authors.
- 18 Mar, 2016 1 commit
-
-
Georgios Dagkakis authored
-
- 07 Mar, 2016 4 commits
-
-
Georgios Dagkakis authored
BusinessTemplates: Allow export of files like Python Script, Web Page, Web Script etc. separately from the xml
-
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.
-
- 29 Oct, 2015 1 commit
-
-
Jérome Perrin authored
-
- 25 Sep, 2015 1 commit
-
-
Jérome Perrin authored
Quick way to isolate tests
-
- 10 Mar, 2015 1 commit
-
-
Gabriel Monnerat authored
-
- 13 Jan, 2015 1 commit
-
-
Jérome Perrin authored
-
- 17 Nov, 2014 1 commit
-
-
Sebastien Robin authored
* This add support of * in following fields: - Paths of Objects whose Workflow Histories should be Exported - Path of Objects whose Last Workflow History only should be Exported * Before, only "**" was supported, like "aa/**" or "aa/bb**"
-
- 16 Oct, 2014 2 commits
-
-
Julien Muchembled authored
-
Julien Muchembled authored
-
- 11 Sep, 2014 1 commit
-
-
Julien Muchembled authored
Because on DVCS with branches, history is not always linear, we must stop using increasing integer for revisions because they cause too many conflicts and a higher revision number does not necessarily means the a BT newer. They're now a cryptographic hash of all the contents of the Business Template, and they're computed automatically: - by genbt5list - at download - at building (by default) - at export
-
- 05 Sep, 2014 1 commit
-
-
Julien Muchembled authored
-
- 04 Sep, 2014 1 commit
-
-
Gabriel Monnerat authored
-
- 26 Feb, 2014 1 commit
-
-
Arnaud Fontaine authored
These are completely useless and create conflicts with VCSs.
-
- 30 Jan, 2014 1 commit
-
-
- 07 Oct, 2013 2 commits
-
-
Tatuya Kamada authored
-
Tatuya Kamada authored
How it happened while upgrading PathTemplateItem: 1. Try to remove the existing broken object and succeed removing 2. However it is a broken object so self.unindexCatalog() is never called and the old catalog is remaining 3. Add new object of PathTemplateItem and try to reindex the object 4. Since old catalog is remaining, the catalog uid and object uid is different so catalogObjectList fails with FATAL error. The test is tests/BusinessTemplate.py#test_UpgradeBrokenObject.
-
- 10 Sep, 2013 3 commits
-
-
Arnaud Fontaine authored
Avoid an extra step for developers by keeping the last Workflow History for Components by default.
-
Arnaud Fontaine authored
-
Arnaud Fontaine authored
Only the source code and the last workflow history is actually relevant, so remove all Workflow History except the last one to minimize diffs. This adds a property to BusinessTemplate for generic behavior, overriden for ZODB Components to ignore all Workflows except component_validation_workflow.
-
- 09 Sep, 2013 4 commits
-
-
Arnaud Fontaine authored
-
Arnaud Fontaine authored
-
Arnaud Fontaine authored
* Upon bt5 installation, install portal_type* items before bt5 {Document, Extensions...} as corresponding Portal Type are required once they have been migrated to ZODB Components. * Likewise portal_{property_sheets, types}, portal_components must be created automatically *before* installing any bt5. This is required when Products will be migrated but also for bt5 items before bootstrapping erp5_core bt5. * Set Permissions in ComponentTool instanciation and revoke all permissions, then allow only some of them for security sake. * When creating ERP5 site with unit tests, add ERP5TypeTestCase to Developer Role ASAP so that there is no Permission issue when installing bootstrap bt5 and test bt5s containing ZODB Components.
-
Arnaud Fontaine authored
Also, upon installation of bt5s, install WorkflowItem before Components as it is needed to restore history. Another solution would have been to validate() ZODB Components automatically upon bt5 installation but it would mean losing 'modified' state information and also imply that *all of them* will be validated even if a developer wants to publish non-validated ZODB Components.
-
- 26 Jul, 2013 1 commit
-
-
Arnaud Fontaine authored
When importing back ace.js containing a last line with whitespaces only, the last line was not imported, and thus the file could never been downloaded completely as its really size was less than the one on the File ZODB object.
-
- 21 May, 2013 1 commit
-
-
Jérome Perrin authored
Alias properties with storage id are enough, we don't need to declare those properties.
-
- 04 Apr, 2013 1 commit
-
-
Jérome Perrin authored
We were not able to export and import back roles of a document when more than one local role group id was used.
-
- 13 Sep, 2012 1 commit
-
-
Ivan Tyagov authored
Remove not used proeprty.
-
- 16 Aug, 2012 1 commit
-
-
Leonardo Rochael Almeida authored
While installing a BT5 make sure not to install duplicate keys for the following ZSQLCatalog properties: - sql_catalog_search_keys - sql_catalog_related_keys - sql_catalog_scriptable_keys - sql_catalog_role_keys - sql_catalog_local_role_keys
-
- 12 Jul, 2012 1 commit
-
-
Ivan Tyagov authored
way it's exported / imported and tested.
-
- 21 Jun, 2012 3 commits
-
-
Ivan Tyagov authored
-
Ivan Tyagov authored
-
Jérome Perrin authored
-
- 15 May, 2012 1 commit
-
-
Julien Muchembled authored
This is a followup to commit 8995b645 ("always start transactions with begin() and make tic() commit automatically"): there is now no need to use self.stepTic() instead of self.tic()
-
- 11 May, 2012 1 commit
-
-
Julien Muchembled authored
-
- 17 Apr, 2012 1 commit
-
-
Sebastien Robin authored
To enable DeadlockDebugger in test, we setup a default product_config, and this was breaking testBusinessTemplate and testDynamicClassGeneration. Also, stop duplicating code and use a mixin class for the "login" mehtod used by both tests.
-
- 07 Mar, 2012 2 commits
-
-
Arnaud Fontaine authored
This is similar to portal skins priority, except that versions and priorities are defined on ERP5Site (as 'VERSION | PRIORITY' where PRIORITY is a float) as there is not one Folder for each version in contrary to portal skins. On the Business Template itself, versions and priorities can be defined like 'VERSION | PRIORITY' or simply 'VERSION' (where PRIORITY is assumed to be 0.0). Upon installation, it will be merged into ERP5Site property in descending order (by priority first and then by version for versions with the same priority).
-
Arnaud Fontaine authored
-