Option-set in a part are buggy in content studio

Enonic version: 7.2
OS: macOS / the enonic cloud OS

When defining an option-set for a part configuration, the options are not rendered upon a reload of the page. When you select another part, and then re-select the original, the options are displayed.

1 Like

What version of Content Studio are you on?

1 Like

Hi there. Thanks for replying. We are on version 2.3.2

Can you share your part XML schema? We’ve fixed this issue a while ago but maybe it still happens on more complex schemas…

Sure.
We have experienced this on multiple parts, here is one of the schemas:

<part>
<display-name>Kort</display-name>
<form>
	<option-set name="type">
		<label>Type</label>
		<occurrences minimum="1" maximum="1"/>
		<options minimum="1" maximum="1">
			<option name="links">
				<label>Liste</label>
				<items>
					<item-set name="links">
						<label>Lenker</label>
						<occurrences minimum="1" maximum="0"/>

						<items>
							<input name="urlText" type="TextLine">
								<label>Tekst</label>
								<occurrences minimum="1" maximum="1"/>
							</input>
							<input name="url" type="TextLine">
								<label>URL</label>
								<occurrences minimum="1" maximum="1"/>
							</input>
						</items>
					</item-set>
				</items>
			</option>

			<option name="manual">
				<label>Manuell</label>
				<items>
					<item-set name="cards">
						<label>Lenker</label>
						<occurrences minimum="1" maximum="0"/>

						<items>
							<input type="ImageSelector" name="image">
								<label>Bilde</label>
								<occurrences minimum="1" maximum="1"/>
							</input>
							<input type="TextLine" name="displayName">
								<label>Tittel</label>
								<occurrences minimum="1" maximum="1"/>
							</input>
							<input type="TextLine" name="preface">
								<label>Tekst</label>
								<occurrences minimum="1" maximum="1"/>
							</input>
							<input name="urlText" type="TextLine">
								<label>Tekst</label>
								<occurrences minimum="0" maximum="1"/>
							</input>
							<input name="url" type="TextLine">
								<label>URL</label>
								<occurrences minimum="1" maximum="1"/>
							</input>
						</items>
					</item-set>
				</items>
			</option>

			<option name="byTags">
				<label>Tags</label>
				<items>
					<input name="tags" type="ContentSelector">
						<label>Velg tagger</label>
						<occurrences minimum="1" maximum="0" />
						<config>
							<allowContentType>tag</allowContentType>
						</config>
					</input>
				</items>
			</option>
		</options>
	</option-set>


</form>