- 06 Oct, 2017 40 commits
-
-
Sebastien Robin authored
For new developments, we should use portal_components. So move theses tests to portal_components before Workflow changes.
-
Sebastien Robin authored
There is no selenium tests yet, but at least we can see the same graph rendered with different gadgets. Later, we will have to find smart ways for testing graphs
-
Romain Courteaud authored
-
Romain Courteaud authored
[erp5_officejs_appstore_base] configuration_latest_version is set when acception the Software Publication
-
Cédric Le Ninivin authored
-
Romain Courteaud authored
Fix web section templates. Fix appcache for the redirect app.
-
Nicolas Wavrant authored
FullUpgrade Alarm relies on getLastActiveProcess to return results, which makes use of the catalog to return a result. If the Active Processes spawned by the 3 Alarms composing the upgrader (pre, upgrade, post) are not indexed before the FullUpgrade Alarm collects the results, then the wrong active result is returned, which then give the wrong feedback to the user. It seems that the "defaultActivateParameterDict" method cannot overwrite the "tag" parameter of indexation activities (even if it was working for after_tag). This is why this commit is needed.
-
Tristan Cavelier authored
to fit original script behavior, from erp5_web skin folder. Also fixes "KeyError: TraversalRequestNameStack" from `WebPage.getDocumentValue(reference)` on the "View" skin selection.
-
Sven Franck authored
-
Cédric Le Ninivin authored
-
Nicolas Wavrant authored
-
Nicolas Wavrant authored
-
Nicolas Wavrant authored
-
Nicolas Wavrant authored
-
Nicolas Wavrant authored
This activate_kw is a dict passed to internal 'activate' called in order to more controls on activities created by activeSense
-
Nicolas Wavrant authored
As results may be inconsistent as long as pre-upgrade and upgrade steps have been run for real
-
Romain Courteaud authored
-
Romain Courteaud authored
-
Romain Courteaud authored
-
Romain Courteaud authored
-
Romain Courteaud authored
-
Romain Courteaud authored
-
Romain Courteaud authored
-
Romain Courteaud authored
-
Sven Franck authored
-
Sven Franck authored
-
Jérome Perrin authored
Abort transaction, we do not need changes made by test to persist. Execute pending activities before removing persons, the pending activities might be relying on the existence of persons.
-
Jérome Perrin authored
-
Jérome Perrin authored
-
Jérome Perrin authored
-
Jérome Perrin authored
-
Jérome Perrin authored
This changes API on a script that some projects have customized, but getActiveUserPreferecnce "should work" even with an old script not returning preferences. In that case, first call to getActiveUserPreference will create preference but not return it, but next time getActiveUserPreference is called, the preference will probably be indexed and will be returned.
-
Jérome Perrin authored
This method creates a user preference if no preference exists.
-
Jérome Perrin authored
We do not need to pre-create user preferences, especially that creating them too early creates one preferences for each person created in person module and does not allow Person_createUserPreference to create preference based on person's assignments are they are not created yet. We do not need to clear cache when deleting user logins anymore. This problem was fixed differently. Adjust tests that was relying on cache being cleared when persons ar deleted: testERP5Web.TestERP5Web.test_15_Check_LastModified_Header was never isolated from test_14. test_14 was filling Base_getWebDocumentDrivenModificationDate cache and this cache got clear when the persons where being deleted during tearDown. When removing this interaction clearing cache, we revealed this weakness. Choosen solution was to clear cache before checking response headers, to make sure we don't get something filled by a previous test.
-
Jérome Perrin authored
Tests should not need to reindex modules
-
Romain Courteaud authored
-
Romain Courteaud authored
-
Cédric Le Ninivin authored
-
Sebastien Robin authored
In the same time, stop showing range of cores like "9 to 15" cores. The infrastructure should be important enough to have all the time the maximum of cores in the range. So just use the maximum in the range, "15 cores" here.
-
Romain Courteaud authored
-