Skip to content

Commit 9f6d042

Browse files
authored
Working with blobs or Images was not working when property "Blob local storage directory" has "tmp" value (#593)
Issue: 97253
1 parent a9d7883 commit 9f6d042

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

java/src/main/java/com/genexus/GXutil.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1362,7 +1362,7 @@ public static String cutUploadPrefix(String value)
13621362

13631363
//hack para salvar el caso de gxooflineeventreplicator que llegan los path de los blobs sin \ porque fueron sacadas por el FromJsonString
13641364
String blobPath = com.genexus.Preferences.getDefaultPreferences().getProperty("CS_BLOB_PATH", "");
1365-
if(uploadValue.indexOf(':') == 1 && uploadValue.indexOf(blobPath) != -1 )
1365+
if(uploadValue.indexOf(':') == 1 && uploadValue.indexOf(File.separator + blobPath) != -1 )
13661366
{
13671367
uploadValue = uploadValue.substring(uploadValue.indexOf(blobPath) + blobPath.length());
13681368
uploadValue = blobPath + "\\" + uploadValue;

0 commit comments

Comments
 (0)