|
View:
New views
4 Messages
—
Rating Filter:
Alert me
|
|
|
Exorcist DeleteHi!
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-unsubscribe@... For additional commands, e-mail: user-help@... |
|
|
Re: Exorcist DeleteHi,
On 3/2/06, Sonic <sonic@...> 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/ - info@... Software craftsmanship, JCR consulting, and Java development |
|
|
Re: Exorcist DeleteAm Donnerstag, 2. März 2006 10:00 schrieb Jukka Zitting:
> Hi, > > On 3/2/06, Sonic <sonic@...> 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/ - info@... > 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-unsubscribe@... For additional commands, e-mail: user-help@... |
|
|
Re: Exorcist DeleteHi,
On 3/2/06, Sonic <sonic@...> wrote: > 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! OK, I'll take a look at this. Can you file an issue for this either in the Midgard issue tracker on tigris or in the Exorcist issue tracker on sourceforge? BR, Jukka Zitting -- Yukatan - http://yukatan.fi/ - info@... Software craftsmanship, JCR consulting, and Java development |
| Free Forum Powered by Nabble | Forum Help |