Skip to content

Commit a1912ba

Browse files
fixed max upload attachment issue
1 parent f2a5c88 commit a1912ba

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -473,12 +473,12 @@ Refer the following example from a sample Bookshop app:
473473
To customize the error message displayed when the upload limit is exceeded, add the following key to your `messages_[languagecode].properties` file under `srv/src/main/resources`:
474474

475475
```properties
476-
SDM.maxCountErrorMessage = Maximum number of attachments reached
476+
SDM.Attachments.maxCountError = Maximum number of attachments reached
477477
```
478478

479479
Example for German language in `messages_de.properties`:
480480
```properties
481-
SDM.maxCountErrorMessage = Maximale Anzahl von Anhängen erreicht
481+
SDM.Attachments.maxCountError = Maximale Anzahl von Anhängen erreicht
482482
```
483483

484484
> **Note**
@@ -1264,7 +1264,7 @@ Example `messages_de.properties` for German language:
12641264
SDM.virusRepoErrorMoreThan400MB=Sie können keine Dateien hochladen, die größer als 400 MB sind
12651265
SDM.userNotAuthorisedError=Sie verfügen nicht über die erforderlichen Berechtigungen zum Hochladen von Anhängen
12661266
SDM.mimetypeInvalidError=Der Dateityp ist nicht zulässig
1267-
SDM.maxCountErrorMessage=Maximale Anzahl von Anhängen erreicht
1267+
SDM.Attachments.maxCountError=Maximale Anzahl von Anhängen erreicht
12681268
```
12691269

12701270
## Known Restrictions

sdm/src/main/java/com/sap/cds/sdm/constants/SDMErrorKeys.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ private SDMErrorKeys() {
9898
public static final String CONTEXT_INFO_PAGE = "SDM.contextInfoPage";
9999
public static final String UNSUPPORTED_PROPERTIES_PREFIX_KEY = "SDM.unsupportedPropertiesPrefix";
100100
public static final String UNSUPPORTED_PROPERTIES_SUFFIX_KEY = "SDM.unsupportedPropertiesSuffix";
101-
public static final String MAX_COUNT_ERROR_MESSAGE_KEY = "SDM.maxCountErrorMessage";
101+
public static final String MAX_COUNT_ERROR_MESSAGE_KEY = "SDM.Attachments.maxCountError";
102102
public static final String FETCH_CHANGELOG_ERROR_KEY = "SDM.fetchChangelogError";
103103
public static final String FAILED_TO_MOVE_ATTACHMENT_KEY = "SDM.failedToMoveAttachment";
104104
public static final String INVALID_SECONDARY_PROPERTIES_FOR_MOVE_PREFIX_KEY =

0 commit comments

Comments
 (0)