@sapui5/sap.fe.core 1.124.5 → 1.124.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -426,7 +426,11 @@ class EditFlow extends BaseControllerExtension {
426
426
  const metaModel = currentBindingContext.getModel().getMetaModel();
427
427
  const entitySetName = metaModel.getMetaContext(currentBindingContext.getPath()).getObject("@sapui.name");
428
428
  const semanticKeys = SemanticKeyHelper.getSemanticKeys(metaModel, entitySetName);
429
- if (semanticKeys?.length) {
429
+ if (
430
+ semanticKeys?.length &&
431
+ currentBindingContext.getProperty("IsActiveEntity") === false && // We don't use the semantic key for a new document (creation)
432
+ currentBindingContext.getProperty("HasActiveEntity") === true
433
+ ) {
430
434
  const currentSemanticMapping = this._getSemanticMapping();
431
435
  const currentSemanticPath = currentSemanticMapping?.semanticPath,
432
436
  sChangedPath = SemanticKeyHelper.getSemanticPath(currentBindingContext, true);