An error occurred fetching the project authors.
- 17 Apr, 2010 1 commit
-
-
Julien Muchembled authored
git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@34633 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
- 16 Apr, 2010 1 commit
-
-
Julien Muchembled authored
- When deleting duplicate messages, keep the one the highest score (priority, date, uid). - When several messages have the same serialization_tag, always validate first the one with the highest score. git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@34632 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
- 14 Apr, 2010 1 commit
-
-
Danièle Vanbaelinghem authored
git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@34553 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
- 19 Feb, 2010 3 commits
-
-
Julien Muchembled authored
getActivityRuntimeEnvironment is changed to return an ActivityRuntimeEnvironment instance instead of a dict (and this value is now stored in a transactional variable, for automatic cleanup). This object allow activities to change default behaviour of CMFActivity if an error happens. In the future, this object could also allow executed activity to inspect its related Message object. In case of infinite retry, notify the user when the default limit is reached. git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@32879 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
Julien Muchembled authored
git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@32876 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
Julien Muchembled authored
Pass list of Message objects instead of a list of (uid, message, priority). Store the fetched line on the Message object to retrieve the priority. In the future, if we allow executed activity to access its related Message object, it could also get the SQL line. git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@32875 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
- 29 Jan, 2010 2 commits
-
-
Julien Muchembled authored
When a node is looking for activities to process, there's no point testing the 'processing' column. This fixes cases leaving activities at 'processing=1' forever (unless, of course, a cluster is killed and restarted with fewer nodes). Also remove now useless cleanup at startup. One known case leaving such activities is when the first commit of dequeueMessage raises, which can happen, for example, during migration of portal_types. It seems the 'processing' column becomes useless for CMFActivity. Acked-by: Vincent Pelletier git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@32089 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
Julien Muchembled authored
git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@32088 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
- 21 Jan, 2010 1 commit
-
-
Leonardo Rochael Almeida authored
git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@31892 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
- 03 Sep, 2009 1 commit
-
-
Sebastien Robin authored
serialization_tag even if some use group_method_id and some other do not use it * add spaces before and after operator != git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@28767 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
- 02 Sep, 2009 1 commit
-
-
Yusei Tahara authored
Update and add comments to distribute method definition. Remove a new line mistakenly added. git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@28737 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
- 01 Sep, 2009 1 commit
-
-
Yusei Tahara authored
Fix a bug. serialization tag guarantees that tagged messages are processed serially and not parallelly. git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@28706 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
- 18 Aug, 2009 1 commit
-
-
Yoshinori Okuji authored
Split multi-inserted messages into chunks, because an insert query generated by prepareQueueMessageList may exceed the limit of packet size defined by MySQL, when one transaction activate many, many methods. The max size is heuristic, though. git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@28426 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
- 09 Jun, 2009 1 commit
-
-
Julien Muchembled authored
* Remove links to cancel or invoke activities from manageActivities. It was too dangerous and requires too much work to fix. * Fix display of args column. Use html_quote to display activity_kw, agrs & kw columns. * Display all activities (processing SQLQueue activities were hidden). * Add uid column. git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@27474 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
- 02 Jun, 2009 2 commits
-
-
Julien Muchembled authored
Do not notify if an active process finishes. This never worked before r27329 and it is now redundant with alarm notification. git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@27332 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
Julien Muchembled authored
Fix ActiveProcess.hasActivity. On active processes, hasActivity tests active_process_uid instead of path: * hasActivity must handle the case when no document is provided (bug #1142) * Fix initialisation of active_process_uid property on Message objects. Add unit test. git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@27329 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
- 11 Feb, 2009 1 commit
-
-
Vincent Pelletier authored
git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@25525 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
- 06 Feb, 2009 1 commit
-
-
Julien Muchembled authored
Move _validate_* methods from SQLDict and SQLQueue to SQLBase, and fix checking of parameters (cf r24586). git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@25481 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
- 22 Jan, 2009 5 commits
-
-
Vincent Pelletier authored
Implement ActiveProcess.hasActivity . It was present, but required data was never present in the table. Now that SQL{Dict|Queue}.hasActivity don't use "**kw" any more, it causes errors. git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@25274 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
Vincent Pelletier authored
git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@25270 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
Vincent Pelletier authored
Make all dtml tests use expr="...", so that tested values don't use acquisition. (Nice catch, Nicolas !) Update callers to cope with those new limitations. git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@25266 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
Vincent Pelletier authored
Fix parameter name. Fixes a bug in which a message could be validated even if its date was set in the future. git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@25256 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
Vincent Pelletier authored
Rename "limit" parameter to ZSQLMethods into "count", as it is a special parameter name (interpreted outside of ZSQLMethod). git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@25253 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
- 13 Nov, 2008 1 commit
-
-
Vincent Pelletier authored
Fix error log condition: length must be exactly 2 AND type must be either tuple or list (a string of more than 2 chars was enough to avoid the error message). Fix a typo in error message. git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@24586 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
- 08 Oct, 2008 1 commit
-
-
Vincent Pelletier authored
git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@24099 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
- 07 Oct, 2008 1 commit
-
-
Vincent Pelletier authored
Store exception information on message in the case where commit fails, removing a possible cause for error messages with no error text. git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@24077 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
- 29 Jul, 2008 1 commit
-
-
Yoshinori Okuji authored
git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@22741 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
- 25 Jul, 2008 2 commits
-
-
Vincent Pelletier authored
git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@22648 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
Vincent Pelletier authored
Only validate new messages; All other states are subsequent to a validation (regular of by user's choice by modifying sql tables). This fixes impossibility to invoke by hand validated messages not being executed when they have a serialization_tage set. git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@22647 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
- 24 Jun, 2008 1 commit
-
-
Vincent Pelletier authored
Factorise code used to generate an unique identifier for messages (used to avoid inserting duplicate messages in the same transaction). git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@21754 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
- 04 Apr, 2008 2 commits
-
-
Vincent Pelletier authored
Mark messages as not executable when either their path or the method to call on it cannot be retrieved. Make messages marked as not excutable immediately fail with VALIDATE_ERROR_STATE state. git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@20311 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
Vincent Pelletier authored
When SQL{Dict|Queue}_delMessage gets a lock error, retry. Do so infinitely, otherwise uid list would be lost and manual intervention would be required. git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@20306 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
- 20 Feb, 2008 1 commit
-
-
Vincent Pelletier authored
git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@19431 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
- 19 Feb, 2008 2 commits
-
-
Vincent Pelletier authored
git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@19405 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
Vincent Pelletier authored
git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@19389 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
- 08 Feb, 2008 5 commits
-
-
Vincent Pelletier authored
git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@19196 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
Vincent Pelletier authored
Message tag should not be a part of the message unicity key. This change avoids counting objects multiple times for messages which are identical except for tag. git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@19195 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
Vincent Pelletier authored
git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@19193 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
Vincent Pelletier authored
Instead of deleting duplicate messages, reserve them, and delete them when the "original" message has succeeded. git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@19192 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
Vincent Pelletier authored
Store exception information in native format inside message. Factorises sys.exc_info calls and exception rendering code. git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@19169 20353a03-c40f-0410-a6d1-a30d3c3de9de
-