← Back to team overview

registry team mailing list archive

[Bug 475465] Re: Unrestorable dumps due to alter inherited column constraints

 

*** This bug is a duplicate of bug 466658 ***
    https://bugs.launchpad.net/bugs/466658

You only have fixed a symptom here. As a next step, the model needs to
be fixed to make the field required. That will prevent the ORM from
dropping the constraint on the inherit table.

Additionally, in the longer term, the ORM needs to be fixed to error out
in these situations, because PostgreSQL will change to prevent dropping
NOT NULL constraints on inherited tables.

I have attached a patch to fix the model, but I am not deep enough into
the ORM to fix the actual issue.

** Patch added: "credativ-not-null-constraint-ir_act_window.patch"
   https://bugs.launchpad.net/openobject-server/+bug/475465/+attachment/1519952/+files/credativ-not-null-constraint-ir_act_window.patch

-- 
Unrestorable dumps due to alter inherited column constraints
https://bugs.launchpad.net/bugs/475465
You received this bug notification because you are a member of Registry
Administrators, which is the registrant for Debian.