Skip to content

Imported empty stacks contain blocks that were in the previous stacks #70

@hissy

Description

@hissy

This is an example XML file exported with the Migration Tool. The first stack contains a content block, and the second stack is empty.

<?xml version="1.0" encoding="UTF-8"?>
<concrete5-cif version="1.0">
  <stacks>
    <stack name="Test Stack 1" path="/">
      <area name="Main">
        <blocks>
          <block type="content" name="">
            <data table="btContentLocal">
              <record>
                <content><![CDATA[<p>This is a content block in Test Stack 1</p>
]]></content>
              </record>
            </data>
          </block>
        </blocks>
      </area>
    </stack>
    <stack name="Test Stack 2" path="/"/>
  </stacks>
</concrete5-cif>

export_stacks.xml

However, the imported second stack contains a content block that was present in the first stack when the XML file was imported.

Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions