Hello!
I’ve been building a package that generates express object with CIF XML. Package installs correctly: express object and it’s attributes and form are created and I can go to them via dashboard.
Error occurs when I go to creating first entry for this new express object. The error says:
Binding entities to query parameters only allowed for entities that have an identifier. Class “Concrete\Core\Entity\Attribute\Value\Value\SelectValueOptionList” does not have an identifier.
Edit!
I finally found what attribute is causing the problem:
<attributekey handle="restaurant_services_mobile_pay"
name="Services - mobile pay" package="restaurants"
searchable="1" indexed="1" type="select" category="">
<type display-multiple-values="1" allow-multiple-values="" display-order="display_asc" allow-other-values="" hide-none-option="">
<options>
<option value="Yes" />
<option value="No" />
</options>
</type>
</attributekey>
and setting this to form:
<fieldset title="Services" description="">
<controls>
<control id="d48c361a-4b6f-44ad-9534-bbba686294ea" type="attribute_key"
required="" custom-label="">
<attributekey handle="restaurant_services_mobile_pay"/>
</control>
</controls>
</fieldset>
I still don’t know what is problem with this. I can make this attribute with boolean type too, but I’d like to show Yes and No options.