Skip to content

Commit c6898b6

Browse files
committed
Not found original PDFReport.ini if Image API was invoked and creates a WEB-INF folder.
Issue: 104920
1 parent a34f413 commit c6898b6

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

java/src/main/java/com/genexus/Preferences.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,8 @@ public String getBLOB_PATH() {
127127
public String getPRIVATE_PATH() {
128128
synchronized (objLock) {
129129
if (PRIVATE_PATH == null) {
130-
PRIVATE_PATH = getProperty_PATH(getProperty("TMPMEDIA_DIR", "").trim(), "WEB-INF");
130+
String webInternalPath = ApplicationContext.getInstance().isSpringBootApp()? "" : "WEB-INF";
131+
PRIVATE_PATH = getProperty_PATH(getProperty("TMPMEDIA_DIR", "").trim(), webInternalPath);
131132
}
132133
}
133134
return PRIVATE_PATH;

0 commit comments

Comments
 (0)