Skip to content

dumpscript handles generic relations poorly #43

@GoogleCodeExporter

Description

@GoogleCodeExporter
Dumpscript handles generic relations by dumping out the values of the
contenttype and object_id fields directly.  Since objects created by
running a dumped script may well have a different autonumber PK, this means
that in many cases generic relations will be pointing to the wrong object
after running a dumped script.

The robust solution, it would seem, would be for a dumped script to assign
the proper object directly to the GenericRelation attribute rather than to
the contenttype and object_id fields.

Original issue reported on code.google.com by carl.j.meyer on 19 Aug 2008 at 5:15

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions