The Dublin Core metadata element set
is a standard for cross-domain information resource description.
|
||
| Element | Description | Value |
|---|---|---|
| Identifier | resource ID | http://old.zope.org/Collectors/Ape/10 |
| Title | resource name | Read conflict errors. |
| Description | resource summary | How to reproduce: 1) in /fs create folder a 2) in /fs create script: updateA with content: context.a.manage_editProperties({'title' : 'ABC'}) 3) in /fs/a create four folders: '1', '2', '3', '4' 4) restart zope 5) right after restarting zope execute: /fs/updateA - it will give you conflict error: ConflictError: ('/fs/a/1',) already exists This happened because when 'a' is loaded it creates 4 'ghosted' objects '1', '2', '3', '4'. Ape treated ghosted objects as new objects because setstate function was not yet called and getState function (in zodb3.connection.py ) for those objects will return HASH0. I have created patch for connection.py that works for me but not 100% sure that I didn't brake anything else: ---------------------------------------- diff -w -b -r1.1 connection.py 256a257 > ghostyObject = 0 262a264 > ghostyObject = 1 267a270 > if ghostyObject : continue |
| Creator | resource creator | zordon |
| Date | default date | 2009-08-08 23:16:00 |
| Format | resource format | text/html |
| Type | resource type | Collector Issue |
| Subject | resource keywords | ZODB Interaction, Bug, normal |
| Contributors | resource collaborators | |
| Language | resource language | |
| Publisher | resource publisher | No publisher |
| Rights | resource copyright | |
|
||
| Element | Description | Value |
| CreationDate | date resource created | 2003-06-30 16:39:21 |
| ModificationDate | date resource last modified | 2009-08-08 23:16:00 |
| EffectiveDate | date resource becomes effective | None |
| ExpirationDate | date resource expires | None |
Backlinks:
via
Google
/
Technorati
RDF:
view RDF data