- 21 May, 2019 3 commits
-
-
Vincent Pelletier authored
Provide a way to generate ids on specific documents when they make sense. Reduces the risk of conflicts that portal_ids's in-ZODB id generator creates. Reset generator state on any copy (both copy/pase and clone), but not on move (cut/paste and setId).
-
Vincent Pelletier authored
These two classes inherits from two classes implementing CopyContainer API: - ours, via low-priority bases - another one, via higher-priority bases, because these classes need some non-ERP5 methods to override ERP5 methods. So after defining these classes, resolve inheritance priority by binding all CopyContainer methods provided by their ERP5 base class, overriding the ones provided by their non-ERP5 bases while still allowing their ERP5 base class to override the CopyContainer method.
-
Vincent Pelletier authored
Allows for safe migration to another id generator, by preventing silent success of any piece of code still using the former generator, allowing its detection and resolution before duplicate ids are emitted. As a consequence, also allows on-demand and partial migration of id generators.
-
- 20 May, 2019 1 commit
-
-
Romain Courteaud authored
-
- 16 May, 2019 4 commits
-
-
Rafael Monnerat authored
-
Yusei Tahara authored
erp5_trade: Fix PackingList_getODTDataDict.py. Get source reference from supply paths. Movements are not predicates.
-
Vincent Pelletier authored
-
Vincent Pelletier authored
Otherwise, this test fails because of duplicate uids.
-
- 15 May, 2019 5 commits
-
-
Romain Courteaud authored
Display precalculated listbox content returned after a form validation error. Ensure the cell error_text is displayed and can be removed.
-
Romain Courteaud authored
Return the submitted value in case if present in the REQUEST. Return the cell error_text if present. Execute the listbox listmethod in case of ValidationError. Ensure that it is rendered with the same query parameters.
-
Romain Courteaud authored
-
Romain Courteaud authored
This commit does not change the behaviour of the gadget. The goal is only to make the next commit more readable.
-
Vincent Pelletier authored
Even if it does not lead to ConflictError being raised, updating _max_uid has a cost and a transaction-serialising effect (most noticeable with NEO). This value is not used (outside of a bootstrap value for portal_ids generator), so stop doing this unnecessary work. Also, fold produceUid into its only caller. Also, change the folded pattern to react to an empty buffer rather than test for emptiness before each access.
-
- 13 May, 2019 3 commits
-
-
Jérome Perrin authored
The way of truncating the index file was an error in git 2.11.0, but it was not an error with git 2.17.0. /reviewed-on nexedi/erp5!863
-
Romain Courteaud authored
-
Romain Courteaud authored
-
- 10 May, 2019 1 commit
-
-
Vincent Pelletier authored
-
- 06 May, 2019 2 commits
-
-
Romain Courteaud authored
-
Romain Courteaud authored
Follow xhtml_style CSS.
-
- 03 May, 2019 5 commits
-
-
Romain Courteaud authored
-
Romain Courteaud authored
-
Romain Courteaud authored
-
Romain Courteaud authored
-
Romain Courteaud authored
This is nearly a copy/paste of renderJS error rendering.
-
- 02 May, 2019 5 commits
-
-
Tristan Cavelier authored
While rendering a field_list gadget in non-editable mode, the `text_content` parameter was given only in the first `render` call. /bug #20190204-39AF19 https://nexedijs.erp5.net/#/bug_module/20190204-39AF19 /reviewed-on !860
-
Tristan Cavelier authored
-
Romain Courteaud authored
-
Romain Courteaud authored
-
Sebastien Robin authored
Before we were using up to 10 testnodes per test suite. Push it to 15 testnodes to have chance to run big test suite (like whole ERP5 tests) in less than 2 hours.
-
- 29 Apr, 2019 3 commits
-
-
Sebastien Robin authored
-
Sebastien Robin authored
-
Georgios Dagkakis authored
/reviewed-on !859
-
- 26 Apr, 2019 2 commits
-
-
Romain Courteaud authored
-
Arnaud Fontaine authored
ZODB Components: Use regex to check whether a class of the same name as the Component reference is defined. Until now, there was a very basic string check which didn't handle such cases: class DocumentReferenceAnything(): pass class DocumentReference(): pass => _message_reference_class_not_defined was incorrectly raised as the first class was considered.
-
- 25 Apr, 2019 1 commit
-
-
Sebastien Robin authored
This allows to know the node working on test, thus we can redraft lines when a runTestSuite command fails
-
- 24 Apr, 2019 5 commits
-
-
Sebastien Robin authored
Before we were looking only create date of test results to give priority of work to do for a test nodes. So we had cases where some test suites with medium priority had 5 testnodes, and test suites with high priority having only 3 testnodes. So clearly distribute the work depending on the maximum quantity of testnode we want.
-
Sebastien Robin authored
Right now we have this scenario: - test result line is started - sometimes, runTestSuite fails (like timeout), failure is reported but test result line remains started (we don't know yet which line is associated with testnode) - when a test result line is "started" since more than 4 hours, test result line is redrafted - test can be reexecuted Speed up by removing the need of waiting alarm, by knowing which test result line is executed by which test node, and by redrafting immediately the test result line on test node failure
-
Vincent Pelletier authored
Put auto-generated _getAcquireLocalRoles at the end of mro, removing it from Base. Also, document why it is treated specially here. Also, add _getAcquireLocalRoles methods on a few leaf classes whose instances fake being portal types, without actually being proper document instances. At least, the ones which are detected in unit tests. The proper fix would likely rather be to make them proper document classes, but this carries data migration concerns which go beyond the scope of this regression fix (_getAcquireLocalRoles was not possible to override anymore).
-
Vincent Pelletier authored
-
Vincent Pelletier authored
-