- 16 Oct, 2014 1 commit
-
-
Arnaud Fontaine authored
through SimulationTool_getInventoryCustomCache. Also, if getInventoryList() calls could be handled with the custom cache, fallback on generic cache which is in most cases better than nothing.
-
- 10 Oct, 2014 2 commits
-
-
Arnaud Fontaine authored
-
Arnaud Fontaine authored
No Cache: 13R: 46635.932 +/- 310.994 (min=46014.113, max=47618.809) 1R: 3578.318 +/- 2879.959 (min=197.390, max=11038.699) ERP5 Generic Cache: 13R: 183.267 +/- 24.720 (min=163.087, max=303.120) 1R: 28.588 +/- 11.183 (min=18.977, max=76.923) Yoshida's Inventory Cache: 13R: 102.679 +/- 8.349 (min=96.516, max=166.872) 1R: 16.384 +/- 3.301 (min=10.767, max=27.993) Yoshida's Inventory Cache using catalog.indexation_timestamp instead of stock.date: 13R: 138.370 +/- 9.424 (min=132.227, max=187.422) 1R: 47.519 +/- 7.743 (min=23.233, max=68.214) New SQL INDEXES: ALTER TABLE stock ADD KEY `resource_section_node_date` (`resource_uid`, `section_uid`, `node_uid`, `date`); ALTER TABLE stock ADD KEY `variation_text_section_node` (`variation_text`, `section_uid`, `node_uid`);
-
- 22 Sep, 2014 1 commit
-
-
Kazuhiko Shiozaki authored
-
- 05 Sep, 2014 1 commit
-
-
Arnaud Fontaine authored
-
- 04 Sep, 2014 1 commit
-
-
Arnaud Fontaine authored
-
- 25 Aug, 2014 2 commits
-
-
Arnaud Fontaine authored
As MKCOL_handler() is not implemented on OFS.Folder.Folder class, the one from ERP5Site was acquired when calling webdav.NullResource.NullResource.MKCOL().
-
Arnaud Fontaine authored
Only Constraints to be kept could be specified by reference, but sometimes it is convenient to apply all Constraints but one.
-
- 29 Jul, 2014 1 commit
-
-
Arnaud Fontaine authored
-
- 06 Mar, 2014 1 commit
-
-
Yusei Tahara authored
Fix mass workflow transition function. If transition is customized and its actbox_url does not use ERP5 Form, then use the default workfl ow action dialog form instead.
-
- 13 Dec, 2013 1 commit
-
-
Kazuhiko Shiozaki authored
we can and should use 'update_catalog' argument instead to clear catalog.
-
- 12 Dec, 2013 1 commit
-
-
Arnaud Fontaine authored
From Chromium 31, pressing enter key to select ListBox page submit the form through JS (submitFormOnEnter) *and* wrongly on the default button, at the end following HTML5 behavior (4.10.22.2 Implicit submission). Conflicts: product/ERP5/bootstrap/erp5_xhtml_style/bt/change_log product/ERP5/bootstrap/erp5_xhtml_style/bt/revision
-
- 31 Oct, 2013 1 commit
-
-
Arnaud Fontaine authored
other ZEO clients even if ZODB Components are not. Steps to reproduce: 1/ On zope1, view and edit a person to make sure class is fully loaded. 2/ On zope2 add an interaction in person_interaction_workflow and add a script raising an exception. 3/ Edit a person on zope2. The exception is raised, confirming that the interaction is called. When editing a person on zope1, the exception is not raised.
-
- 29 Oct, 2013 1 commit
-
-
Tatuya Kamada authored
Fix a problem that access-tab-front-page wrongly caching old page, for example, even if a user switching to use 'https' from 'http', old 'http' links are remaining at the front page. That was because the key of the CachingMethod which was used for caching the page was ('user' and 'language'). Now the caching key is ('user', 'language' and 'site_url').
-
- 13 Sep, 2013 1 commit
-
-
Tatuya Kamada authored
This is not a new feature, this behavior is compatible with the old caching implementation that was using inventory_stock table. In other words, this brings backs the backword compatibility in invetory caching.
-
- 05 Sep, 2013 1 commit
-
-
Arnaud Fontaine authored
-
- 21 Aug, 2013 1 commit
-
-
Arnaud Fontaine authored
Selection: Do not set Selections if the new and store name differs instead of raising AssertionError.
-
- 19 Aug, 2013 7 commits
-
-
Arnaud Fontaine authored
When importing back ace.js containing a last line with whitespaces only, the last line was not imported, and thus the file could never been downloaded completely as its really size was less than the one on the File ZODB object.
-
Arnaud Fontaine authored
Tests may login/logout with different users. This fixes testDynamicClassGeneration.TestZodbTestComponent.testRunLiveTest.
-
Arnaud Fontaine authored
ZODB Components: Only Manager or Developer Role should be able to access Component Tools and Components.
-
Arnaud Fontaine authored
Otherwise, without passing the new height/width to resize() and without force, text is not visible when switching to maximize/fullscreen mode.
-
Arnaud Fontaine authored
-
Arnaud Fontaine authored
- 09 Aug, 2013 3 commits
-
-
Arnaud Fontaine authored
-
Arnaud Fontaine authored
-
Arnaud Fontaine authored
-
- 08 Aug, 2013 7 commits
-
-
Arnaud Fontaine authored
-
Arnaud Fontaine authored
Since a29456bc, only import lock is used instead of aq_method_lock, dynamic modules locks and import lock. However, it was creating another deadlock: when the import lock is held in one thread (for instance when trying to perform migration to Portal Type as Classes and ZODB Property Sheets), and an object is loaded from ZODB, a request is sent to ZEO, and this blocks until another thread (asyncore) gets the ZEO reply and sends it back to the first thread. However, if the asyncore thread receives an Exception, it will tries to import its module and thus create a deadlock as the import lock is still held by the first thread.
-
Arnaud Fontaine authored
ZODB Components: No need to migrate Component Tool, only exist since Portal Type as Classes and ZODB Property Sheets.
-
Arnaud Fontaine authored
Because of recently added Component Tool, POSKeyError exception was raised when trying to load it from ZODB during migration of Portal Type classes and ZODB Property Sheets (PickleUpdater() in ERP5Site.migrateToPortalTypeClass), so make sure that there is a commit before loading anything from ZODB.
-
Arnaud Fontaine authored
This has several benefits: * No need to exit maximize/fullscreen modes to save. * The cursor position in the editor does not change. This implementation is hackish because it is too Component-specific, but until RenderJS is being used, there is no probably no better way.
-
Tatuya Kamada authored
How it happened while upgrading PathTemplateItem: 1. Tries to remove the existing broken object and succeeds removing 2. However it is a broken object so self.unindexCatalog() is never called and the old catalog is remaining 3. Add new object of PathTemplateItem and tries to reindex the object 4. Since old catalog is remaining, the catalog uid and object uid is different so catalogObjectList fails with FATAL error. The test is tests/BusinessTemplate.py#test_UpgradeBrokenObject.
-
Yusei Tahara authored
Workaround fix for translated_simulation_state_title. Use translated_simulation_state_title__ column when translated_simulation_state_title is sorted because translated_simulation_state_title is a scriptable key and it is not sortable.
-
- 12 Jul, 2013 6 commits
-
-
Arnaud Fontaine authored
-
Arnaud Fontaine authored
ZODB Components: Developer Role was not returned by getRoles() for users added through erp5.acl_users. It was only working if the user was only in Zope acl_users but not ERP5 acl_users because getRole() was not monkey-patch in contrary to AccessControl BasicUser. TODO: Add unit test before merge.
-
Arnaud Fontaine authored
-
Arnaud Fontaine authored
-
Arnaud Fontaine authored
-
Arnaud Fontaine authored
-