Skip to content

Missing "RESTRICT" value to declarative schema foreign constraint #27072

Open
@textarea

Description

@textarea

Summary (*)

Cannot set a foreign constraint onDelete="RESTRICT" in custom table.

Examples (*)

<constraint xsi:type="foreign"
	referenceId="CUSTOM_TABLE_CUSTOMER_ID_CUSTOMER_ENTITY_ENTITY_ID"
	table="custom_table"
	column="customer_id"
	referenceTable="customer_entity"
	referenceColumn="entity_id"
	onDelete="RESTRICT"/>

Proposed solution

Add "RESTRICT" value to foreign constraint referenceOptionsType.

Metadata

Metadata

Assignees

Labels

Area: AccountCDIssue recommended for the contribution dayComponent: SetupIssue: Clear DescriptionGate 2 Passed. Manual verification of the issue description passedIssue: ConfirmedGate 3 Passed. Manual verification of the issue completed. Issue is confirmedIssue: Format is validGate 1 Passed. Automatic verification of issue format passedIssue: Ready for WorkGate 4. Acknowledged. Issue is added to backlog and ready for developmentPriority: P2A defect with this priority could have functionality issues which are not to expectations.Progress: ready for devReproduced on 2.4.xThe issue has been reproduced on latest 2.4-develop branchSeverity: S2Major restrictions or short-term circumventions are required until a fix is available.Triage: Dev.ExperienceIssue related to Developer Experience and needs help with Triage to Confirm or Reject it

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions