From 470e845330c117c4e935bfb0dcb47d135b2149cb Mon Sep 17 00:00:00 2001 From: samyuktaprabhu <33195453+samyuktaprabhu@users.noreply.github.com> Date: Mon, 12 Jan 2026 09:52:50 +0100 Subject: [PATCH 1/2] fixes error message --- .../cds/com.sap.cds/cds-feature-attachments/attachments.cds | 2 +- pom.xml | 2 +- samples/bookshop/pom.xml | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/cds-feature-attachments/src/main/resources/cds/com.sap.cds/cds-feature-attachments/attachments.cds b/cds-feature-attachments/src/main/resources/cds/com.sap.cds/cds-feature-attachments/attachments.cds index 4ca411e3c..d2172ff8c 100644 --- a/cds-feature-attachments/src/main/resources/cds/com.sap.cds/cds-feature-attachments/attachments.cds +++ b/cds-feature-attachments/src/main/resources/cds/com.sap.cds/cds-feature-attachments/attachments.cds @@ -23,5 +23,5 @@ aspect MediaData @(_is_media_data) { } aspect Attachments : cuid, managed, MediaData { - note : String; + note : String(255); } diff --git a/pom.xml b/pom.xml index 528beb241..71432d383 100644 --- a/pom.xml +++ b/pom.xml @@ -58,7 +58,7 @@ - 1.2.4 + 1.2.5-SNAPSHOT 17 ${java.version} UTF-8 diff --git a/samples/bookshop/pom.xml b/samples/bookshop/pom.xml index f18606817..18d403302 100644 --- a/samples/bookshop/pom.xml +++ b/samples/bookshop/pom.xml @@ -51,7 +51,7 @@ com.sap.cds cds-feature-attachments - 1.2.4-SNAPSHOT + 1.2.5-SNAPSHOT From b0f4f84efc1712e819e325a28028fbd270c3c1d9 Mon Sep 17 00:00:00 2001 From: samyuktaprabhu <33195453+samyuktaprabhu@users.noreply.github.com> Date: Tue, 13 Jan 2026 12:58:20 +0100 Subject: [PATCH 2/2] update limit to 5000 --- .../cds/com.sap.cds/cds-feature-attachments/attachments.cds | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cds-feature-attachments/src/main/resources/cds/com.sap.cds/cds-feature-attachments/attachments.cds b/cds-feature-attachments/src/main/resources/cds/com.sap.cds/cds-feature-attachments/attachments.cds index d2172ff8c..b03a8c5d2 100644 --- a/cds-feature-attachments/src/main/resources/cds/com.sap.cds/cds-feature-attachments/attachments.cds +++ b/cds-feature-attachments/src/main/resources/cds/com.sap.cds/cds-feature-attachments/attachments.cds @@ -23,5 +23,5 @@ aspect MediaData @(_is_media_data) { } aspect Attachments : cuid, managed, MediaData { - note : String(255); + note : String(5000); }