List Info

Thread: Exorcist Delete




Exorcist Delete
user name
2006-03-02 02:09:22
Hi!

Just a quick question: Does Exorcist have support for
exporting deletes 
already? 

If no: Is this planned for the future? 

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?



Bye,

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

------------------------------------------------------------
---------
To unsubscribe, e-mail: user-unsubscribemidgard-project.org
For additional commands, e-mail: user-helpmidgard-project.org

Exorcist Delete
user name
2006-03-02 09:00:59
Hi,

On 3/2/06, Sonic <sonicsonicpictures.de> 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="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.

BR,

Jukka Zitting

--
Yukatan - http://yukatan.fi/ - infoyukatan.fi
Software craftsmanship, JCR consulting, and Java
development
Exorcist Delete
user name
2006-03-02 10:37:21
Am Donnerstag, 2. März 2006 10:00 schrieb Jukka Zitting:
> Hi,
>
> On 3/2/06, Sonic <sonicsonicpictures.de> 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="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 Styles 
and Snippets, and I've deleted a lot of User accounts from
the staging server 
after the last complete synchronisation. Needless to say,
these are still 
needed on the live server, so being able to restrict deletes
to certain 
classes would be most helpful! 


Bye,

Andreas

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

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

------------------------------------------------------------
---------
To unsubscribe, e-mail: user-unsubscribemidgard-project.org
For additional commands, e-mail: user-helpmidgard-project.org

[1-3]

about | contact  Other archives ( Real Estate discussion Medical topics )