Details
Description
In party-entitymodel.xml line nr. 2,814 the following is defined:
<index name="CARD_ID_IDX" unique="true">
<index-field name="cardId"/>
</index>
which goes against with the following code in applications\securityext\data\UserDemoData.xml.
<Person partyId="NA"/>.
This would cause inserting records into Entity Person failing because the field CARD_ID should not be identical in this case.
Therefore it's suggested to change the party-entitymodel.xml from :
<index name="CARD_ID_IDX" unique="true">
<index-field name="cardId"/>
</index>
to
<index name="CARD_ID_IDX">
<index-field name="cardId"/>
</index>