Question

We are facing weird behaviour during publishing pages in Tridion.

We have English pages in 050 publication and same pages are localized in 060 publication. Let's take a sample page accounts (tcm:120-1234) in English publication and same localized page (tcm:125-1234) in Spanish Publication.

When we publish English page, accounts, it gets published successfully but local deployer removes the its spanish page (tcm:125-1234). When we publish Spanish page, it removes its English page (tcm:120-1234).

We have verified the deployer side and confirmed that other file gets removed from the server itself.

Please refer below the deployer log for instructing to remove the page. But we are not sure why it removes other publication file. Is it becasue of the same page item id? I think it shouldn't, since it is localized.

DEBUG FSEntityManager - Removing pagemeta/pageurl/business/accounts.content in transaction tcm:0-754-66560.

We understand from this log that this been instructed from deployer but not sure how & why it was requested. We are analyzing what FSEntityManager class is doing.

Can anyone help me on this?

Was it helpful?

Solution 2

If the File System is used for storing content and metadata, the content of the Master or Child Publications will be over written.

To account for this, set explicit settings for metadata in cd_storage_conf.xml, to ensure that all metadata does not go to the same storage location, for example:

<Storage Type="filesystem" Class="com.tridion.storage.filesystem.FSDAOFactory" Id="defaultFile" defaultFilesystem="false">
    <Root Path="c:\published\localFileSystem" />
</Storage>
<Storage Type="filesystem" Class="com.tridion.storage.filesystem.FSDAOFactory" Id="defaultDataFile" defaultFilesystem="true" defaultStorage="true">
    <Root Path="c:\published\localFileSystem\data" />
</Storage>

<ItemTypes defaultStorageId="defaultFile" cached="false">       
        <!-- Query type mapping is replacement for Query gnenerator. If there was query generator defined in a Broker configuration then  Query type mapping should be binded to default DB. -->
        <Item typeMapping="Query" storageId="defaultdb"/>

        <Item typeMapping="PageMeta" cached="true" storageId="defaultDataFile"/>
        <Item typeMapping="ComponentPresentationMeta" cached="true" storageId="defaultDataFile"/>
        <Item typeMapping="ComponentMeta" cached="true" storageId="defaultDataFile"/>

</ItemTypes>

OTHER TIPS

That looks like both publications share the same webroot. Check your storage Conf and publication path properties.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top