- 28 Nov, 2022 6 commits
-
-
Jérome Perrin authored
this makes it easier to select the value by copy and paste. Without the space, when double clicking on "value" in "key:value", all "key:value" gets selected, with the space, only "value" gets selected.
-
Jérome Perrin authored
Invoking Zuite_waitForActivities when portal_activities is already subscribed and while another thread from this process is already executing activities causes infinite "Got a lock error, retrying...". This situation happens when developer makes a mistake (runs the tests without unsubscribing activities), so be nice to the developer so that they don't have to restart Zope.
-
Jérome Perrin authored
It's enough to set on the class and if we don't have it on instances, it saves a few bytes in pickles
-
Jérome Perrin authored
There have been a regression recently
-
Jérome Perrin authored
Depends on slapos!1290 See merge request !1695
-
Jérome Perrin authored
-
- 21 Nov, 2022 8 commits
-
-
Romain Courteaud authored
-
Romain Courteaud authored
-
Jérome Perrin authored
-
Jérome Perrin authored
When installing scripts or components from a business template, set the _erp5_coverage_filename property so that the plugin is able to find the corresponding code from the business template filesystem representation.
-
Jérome Perrin authored
coverage might use these to compute the upload URL for coverage data
-
Jérome Perrin authored
coverage needs to be started before importing the modules, so it can not be started so late in runUnitTest, it has to be started before importing any Products/ERP5* code, ie. in slapos wrapper script. See https://coverage.readthedocs.io/en/6.5.0/faq.html#q-why-do-the-bodies-of-functions-show-as-executed-but-the-def-lines-do-not for more details about the rationale
-
Jérome Perrin authored
-
Jérome Perrin authored
Use super to always call the overridden method. Extend the API to pass the business template being installed. Call the hooks also when installing sub objects, they were not called in one place.
-
- 17 Nov, 2022 9 commits
-
-
Jérome Perrin authored
Introduce an action script which redirects to the alarm, so that "something happen" and user can see that the method was invoked. This also makes it possible to use this action in selenium tests
-
Jérome Perrin authored
-
Jérome Perrin authored
With ERP5 workflows, transition id is different (it has a prefix), we must use transition reference
-
Jérome Perrin authored
by using getDocumentValueList to lookup all documents at once instead of using getDocumentValue for each document
-
Jérome Perrin authored
-
Jérome Perrin authored
-
Jérome Perrin authored
-
Jérome Perrin authored
test names are easily longer than the 20 characters that was set in this field
-
Jérome Perrin authored
See merge request nexedi/erp5!1693
-
- 16 Nov, 2022 2 commits
-
-
Jérome Perrin authored
This does not seem to be an actual problem because the object is declared protected, but these missing security declarations make testSecurity fail.
-
Jérome Perrin authored
We have been using `filter(lambda x:'/erp5/' in x[0], error_list)` as a way to see only missing declarations from ERP5 code, but only ERP5 filesystem code contains /erp5/ in the filenames, in-ZODB components filename is set to something like <portal_components/document.erp5.FTPConnector> Change to also check methods for which filename contains <portal_components and also to print the ignored methods
-
- 10 Nov, 2022 4 commits
-
-
Jérome Perrin authored
The logic to guess groupable lines was considering source of destination side of an accounting transaction depending on preferences. This was not good, for two reasons: - with internal transactions we want to consider both the source and the destination - if user preferences are mis-configured, grouping would not work. switch to a logic where we consider both source and destination sides to prevent these problems.
-
Jérome Perrin authored
See merge request nexedi/erp5!1683
-
Jérome Perrin authored
from 45c03413 (comment 171160) See merge request !1689
-
Jérome Perrin authored
This is still needed for now, see 19327cc0
-
- 08 Nov, 2022 11 commits
-
-
Kazuhiko Shiozaki authored
because it contains legacy workflow objects.
-
Kazuhiko Shiozaki authored
-
Kazuhiko Shiozaki authored
-
Kazuhiko Shiozaki authored
-
Kazuhiko Shiozaki authored
-
Kazuhiko Shiozaki authored
because it contains legacy workflow objects.
-
Kazuhiko Shiozaki authored
-
Kazuhiko Shiozaki authored
-
Kazuhiko Shiozaki authored
-
Kazuhiko Shiozaki authored
workflow: provide legacy WorkflowHistoryList for backward compatibility even if WITH_LEGACY_WORKFLOW is False.
-
Kazuhiko Shiozaki authored
workflow: now another workflow script should be accessed by container.script_<SCRIPT_ID>, instead of container.<SCRIPT_ID>.
-