Skip to content

cross-database reference issue with collective.z3cform.datagridfield.registry.DictRow #97

@monroi

Description

@monroi

I tried to use DictRow to set a registry record in on eof my packages. Worked great when I installed the package on the first site, but got the following error when I tried to install the same package on a different site that's on a different database (different ZODB mount points on the same "buildout")

Traceback (innermost last):
  Module ZPublisher.WSGIPublisher, line 161, in transaction_pubevents
  Module transaction._manager, line 252, in commit
  Module transaction._manager, line 131, in commit
  Module transaction._transaction, line 311, in commit
  Module transaction._compat, line 50, in reraise
  Module transaction._transaction, line 302, in commit
  Module transaction._transaction, line 447, in _commitResources
  Module transaction._compat, line 50, in reraise
  Module transaction._transaction, line 421, in _commitResources
  Module ZODB.Connection, line 497, in commit
  Module ZODB.Connection, line 546, in _commit
  Module ZODB.Connection, line 578, in _store_objects
  Module ZODB.serialize, line 430, in serialize
  Module ZODB.serialize, line 439, in _dump
  Module ZODB.serialize, line 348, in persistent_id
ZODB.POSException.InvalidObjectReference: ("Database 'db11' doesn't allow implicit cross-database references", <Connection at 7f0698393748>, <collective.z3cform.datagridfield.registry.DictRow object at 0x7f063c96a048 oid 0x433a43 in <Connection at `7f069a60ee80>>)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions