- 20 Mar, 2018 11 commits
-
-
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 nexedi/erp5@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
-
Roque authored
-
Vincent Pelletier authored
- 14 Mar, 2018 4 commits
-
-
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
-
Roque authored
- hardcoded software release url removed (http with password protection for now) - scalability runner handles frontend request. It asks for a local master frontend apache software installation and instance request. - testsuite brings the urls corresponding to instance, bootstrap, metrics collection. - vinculation between scalability runner and runScalability script. Process manager is used to run the script as a command. - scalability runner manages the test result cases and loops among different testsuite configurations. - userhosts software is used to run the command for the runScalability script, to solve DNS. - refactoring according to last changes in TaskDistribution - general refactoring and cleanup
-
Roque authored