Piotr Pokora schrieb:
Andreas Flack writes:

Hi!

While playing with the new delete function, I accidentally deleted one
object tree too many (my root page. Ouch). When I try to undelete it
(with Asgard's undelete function), Midgard (mgd_errstr, that is) tells
me that this cannot be done because "Requested object is not deleted".
When I look in the database, I can see that metadata_deleted is set to 1
for the object in question. Is that a general problem or does it have
something to do with my DB?

It's stored in repligard table:

SELECT typename, object_action FROM repligard WHERE guid=$guid;

1 = DELETE
2 = PURGE
3 = CREATE
4 = UPDATE

I just deleted one style element and looked up the entry in the repligard table. In the field object_action, I see a value of 0, which is bad, I guess.

I tried the same on a different database on the same server (Mgd 1.8.7, Debian Stable x86), and there, the problem also occurs. I also tried on a different server (Mgd 1.8.7, Debian Testing AMD64), and there, it worked like it should. One difference between the two servers is that on the machine where it isn't working, the databases are quite old, IIRC they were first created with Midgard 1.4. On the one where it is working, the database was created with 1.7 or 1.8.


Bye,

Andreas


Piotras
_______________________________________________
user mailing list
[email protected]
http://lists.midgard-project.org/mailman/listinfo/user

_______________________________________________
user mailing list
[email protected]
http://lists.midgard-project.org/mailman/listinfo/user

Reply via email to