SmartClient Version: v13.1p_2025-12-31/AllModules Development Only (built 2025-12-31)
Hi, and a Happy New Year.
I have a DataSource with audit enabled where I am making some changes, adding an imageFile field along with its related metadata fields.
As a first step, I would prefer not to have audit enabled on these fields, so I marked them with audit="never". However, I am now encountering a NullPointerException.
From what I can see, it happens in the method DataSource.binaryMetadataIsDifferent(), where the variables newName, oldName, newSize, and oldSize are all null, which then causes an exception at this line:
Is this a bug, or am I doing something that is not supported or not allowed?
Hi, and a Happy New Year.
I have a DataSource with audit enabled where I am making some changes, adding an imageFile field along with its related metadata fields.
As a first step, I would prefer not to have audit enabled on these fields, so I marked them with audit="never". However, I am now encountering a NullPointerException.
From what I can see, it happens in the method DataSource.binaryMetadataIsDifferent(), where the variables newName, oldName, newSize, and oldSize are all null, which then causes an exception at this line:
Code:
return newName == null && oldName != null || !newName.equals(oldName) ...
Comment