- 20 Mar, 2018 13 commits
-
-
Roque authored
- test duration is get from testsuite definition - refactoring and cleanup in runScalabilityTestSuite and benchmark - request timeout in metric thread /reviewed-on nexedi/erp5!607
-
Vincent Pelletier authored
-
Vincent Pelletier authored
Document why this method tolerates unhandled method types.
-
Vincent Pelletier authored
workflow_history attribute may not exist on bootstrapping (constructInstance), which leads AttributeError exception, which could have further side-effects as this is called during dynamic class initialisation. Also, original code from CMFCore.WorkflowTool, from which this code is derived for bootstrap reasons, catches KeyError (when history exists, just not for considered workflow), so follow the same pattern. Laslty, also catch IndexError in case the workflow history entry would exist empty - which would be the sign of a broken workflow history.
-
Vincent Pelletier authored
workflow_history attribute may not exist on bootstrapping (constructInstance), which could lead to acquisition, which could have further side-effects as this is called during dynamic class initialisation. Also, original code from CMFCore.WorkflowTool, from which this code is derived for bootstrap reasons, does the equivalent aq_base, so follow the same pattern.
-
Vincent Pelletier authored
LIMIT hides duplicates. We want to know if we ever violate the soft-constraint of path unicity in catalog, so stop setting a LIMIT. Also, for uid lookup, LIMIT is meaningless as this is ha hard unicity constraint (must be enforced by relational database for ERP5 to work). Also, simplify both the DTML and the SQL by having fewer ways to be invoked (backward-compatible).
-
Vincent Pelletier authored
When _reindexObjectList receives a document more than once (which may happen when multiple different-tag indexation activities are spawned for the same document), it would emit a meaningless error, saying that document /foo/bar stole the uid of document /foo/bar. Instead, fix duplicate tracking and skip such dulicates. Also, simplify & make _reindexObjectList more robust: - Always check path length. - Allocate uids before looking for duplicates in catalog (it may not be actually needed at this level nowadays). - Always check both uid-to-path and path-to-uid mappings. - Reuse existing mappings to detect duplicates among objects being reindexed, removing the need for assigned_uid_dict. - Avoid computing path more than once, as it's expensive.
-
Vincent Pelletier authored
ZSQLCatalog now requires having portal_ids. Keep support for clearing existing ones. Any existing "reserved" row encountered while indexing documents will be treated as a uid being attributed to more than one path.
-
Vincent Pelletier authored
-
Nicolas Wavrant authored
-
Tristan Cavelier authored
-
Romain Courteaud authored
See 78356c43
-
Tristan Cavelier authored
-
- 19 Mar, 2018 4 commits
-
-
Tristan Cavelier authored
TypeError: isinstance() arg 2 must be a class, type, or tuple of classes and types
-
Romain Courteaud authored
-
Roque authored
-
Roque authored
- bug fixing while getting instance_guid - minotr refactoring in request parameters
-
- 18 Mar, 2018 1 commit
-
-
Tristan Cavelier authored
-
- 16 Mar, 2018 15 commits
-
-
Romain Courteaud authored
-
Romain Courteaud authored
-
Romain Courteaud authored
-
Romain Courteaud authored
-
Romain Courteaud authored
-
Romain Courteaud authored
-
Romain Courteaud authored
-
Tristan Cavelier authored
-
Tristan Cavelier authored
-
Tristan Cavelier authored
on PostModule_createHTMLPostForSupportRequest
-
Tristan Cavelier authored
instead of PostModule_getAscendingRelatedPostListAsJson
-
Tristan Cavelier authored
split SupportRequest_getSupportTypeList with another script called SupportRequest_getSupportTypeListFromProjectValue
-
Tristan Cavelier authored
Prevent failure when opening the submit support request form. If the first project has no related sale supply, the form rendering was failing.
-
Tristan Cavelier authored
-
Tristan Cavelier authored
-
- 15 Mar, 2018 5 commits
-
-
Roque authored
- testnode saves in its config the repositories paths - minor refactoring and cleanup /reviewed-on nexedi/erp5!606
-
Roque authored
-
Roque authored
Small recent change to handle cookies in connections to frontend urls. * The refactoring of old testbrowser version was already reviewed and merge to master: nexedi/erp5@5a0b3763 and nexedi/erp5@388a508b. /reviewed-on nexedi/erp5!587
-
Roque authored
-
Vincent Pelletier authored
-
- 14 Mar, 2018 2 commits
-
-
Roque authored
- Thread classes to run commands and collect metrics for tests. - Refactoring in benchmark process and result /reviewed-on nexedi/erp5!588
-
Roque authored
- the commands to run the tests are launched using threads - a thread is used to ask instance for metrics periodically - refactoring for a more generic code - refactoring in log handling - old code related to created documents and create users removed - new script parameters - general refactoring and cleanup
-