Re: Exorcist Delete

Sonic <[email protected]> Thu, 2 Mar 2006 11:37:21 +0100
Newsgroups gmane.comp.web.midgard.user
Message-ID <[email protected]>
Am Donnerstag, 2. M=C3=A4rz 2006 10:00 schrieb Jukka Zitting:
> Hi,
>
> On 3/2/06, Sonic <[email protected]> wrote:
> > Just a quick question: Does Exorcist have support for exporting deletes
> > already?
>
> Yes, with some restrictions. See the warning below.
>
> > If yes: It doesn't work for me. I deleted one Style Element on the
> > staging server, ran Exorcist and still had it on my live server
> > afterwards. Do I have to make some special configuration for this to
> > work?
>
> Are you are using a XSLT selection to only replicate the
> mgd:midgard_style content? The delete information is exported as
> separate mgd:delete elements at the end of the XML export, so you'll
> be able to replicate the deletions if you add something like
> <xsl:apply-templates select=3D"mgd:delete"/> to your stylesheet.
>
> WARNING: The exported deletions contain *only* the deleted GUID, so
> there is currently no way to restrict the deletions to just one object
> class (like styles or style elements) or object tree (like some
> specific style A). The class information would be possible to include,
>  but not the tree information because of the way Midgard currently
> handles parent links.

Hi!

Thanks for the fast reply! Yes, I'm not replicating the entire db, just Sty=
les=20
and Snippets, and I've deleted a lot of User accounts from the staging serv=
er=20
after the last complete synchronisation. Needless to say, these are still=20
needed on the live server, so being able to restrict deletes to certain=20
classes would be most helpful!=20


Bye,

Andreas

>
> BR,
>
> Jukka Zitting
>
> --
> Yukatan - http://yukatan.fi/ - [email protected]
> Software craftsmanship, JCR consulting, and Java development

=2D-=20
Adding sound to movies would be like putting lipstick on the Venus de Milo.=
 --=20
Mary Pickford, 1925