diff --git a/src/main/java/de/metas/ui/web/view/ViewRow.java b/src/main/java/de/metas/ui/web/view/ViewRow.java index 699a3fda4..2ff525790 100644 --- a/src/main/java/de/metas/ui/web/view/ViewRow.java +++ b/src/main/java/de/metas/ui/web/view/ViewRow.java @@ -259,6 +259,9 @@ public DocumentId getRowId() } else { + // NOTE: we have to do this because usually, the root row can have the same ID as one of the included rows, + // because the root/aggregated rows are build on demand and they don't really exist in database. + // Also see https://github.com/metasfresh/metasfresh-webui-frontend/issues/835#issuecomment-307783959 _rowIdEffective = DocumentId.ofString("D" + rowId.toJson()); } }