Problem when Checkbox Tree use XML Application for Choices

I am looking at an incident where when a client uses the XML Application for their choices on a Checkbox Tree. When creating or editing a content item containing the Checkbox Tree, they check a couple of boxes and click update and all the boxes that were checked are now empty. If you go and check the preview for the content item the options that were selected in the Checkbox Tree do show up.

I tested here using the documentation on implementing a Checkbox Control, I was able to duplicate this problem. I am going to attach a document showing all the steps I took to duplicate this problem.

Is there anything that I am missing in setting this up, which would cause this particular problem?

TAR1970.pdf (720 KB)

Can you show a fragment of the “tree” XML?

One potential problem is a mismatch between the values of the id attributes on the <node> elements in the two XMLs. Usually a mismatch results in a validation error, though.


<tree label="Taxonomy">
	<node id="Body Regions" label="A01" selectable="yes">
		<node id="Abdomen" label="A01.047" selectable="yes">
			<node id="Abdominal Cavity" label="A01.047.025" selectable="yes">
				<node id="Peritoneum" label="A01.047.025.600" selectable="yes">
					<node id="Douglas' Pouch" label="A01.047.025.600.225" selectable="yes">
					</node>
					<node id="Mesentery" label="A01.047.025.600.451" selectable="yes">
						<node id="Mesocolon" label="A01.047.025.600.451.535" selectable="yes">
						</node>
					</node>
					<node id="Omentum" label="A01.047.025.600.573" selectable="yes">
					</node>
					<node id="Peritoneal Cavity" label="A01.047.025.600.678" selectable="yes">
					</node>
					<node id="Peritoneal Stomata" label="A01.047.025.600.700" selectable="yes">
					</node>
				</node>
				<node id="Retroperitoneal Space" label="A01.047.025.750" selectable="yes">
				</node>
			</node>
			<node id="Abdominal Wall" label="A01.047.050" selectable="yes">
			</node>
			<node id="Groin" label="A01.047.365" selectable="yes">
			</node>
			<node id="Inguinal Canal" label="A01.047.412" selectable="yes">
			</node>
			<node id="Umbilicus" label="A01.047.849" selectable="yes">
			</node>
		</node>
		<node id="Back" label="A01.176" selectable="yes">
			<node id="Lumbosacral Region" label="A01.176.519" selectable="yes">
			</node>
			<node id="Sacrococcygeal Region" label="A01.176.780" selectable="yes">
			</node>
		</node>
		<node id="Breast" label="A01.236" selectable="yes">
			<node id="Mammary Glands, Human" label="A01.236.249" selectable="yes">
			</node>
			<node id="Nipples" label="A01.236.500" selectable="yes">
			</node>
		</node>

This is a piece of what they sent. I actually also tested against the example used in the implementation of the Checkbox Control and pdf it did the same thing.

John,
I took a look, and there seems to be a mismatch between the tree source xml and the choice options xml.
Your xml resource returns 50,459 options while your tree xml has 2 more options (50,461).