XOG bypasses document upload size limit
Steps to Reproduce:
1. Create custom object
2. Create custom attachment type attribute
3. Using below XOG input file attempt to XOG a file exceeding 20 MB in size.
Note when uploading file via UI it won't be allowed.
<NikuDataBus xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../xsd/nikuxog_customObjectInstance.xsd">
<Header action="write" externalSource="NIKU" objectType="customObjectInstance" version="16.1.3.1633"/>
<customObjectInstances objectCode="my_docs">
<instance instanceCode="qqq" objectCode="my_docs">
<CustomInformation>
<ColumnValue name="partition_code">NIKU.ROOT</ColumnValue>
<ColumnValue name="name">qqq</ColumnValue>
<ColumnValue name="code">qqq</ColumnValue>
<ColumnValue name="page_layout">odf.my_docsFrame</ColumnValue>
<ColumnValue name="odf_period_start"/>
<ColumnValue name="odf_period_end"/>
<ColumnValue name="attach">
<Documents>
<Parent documentLocation="C:\Docs">
<Document fileCreatedDate="2023-08-31T18:12:16" language="en" mimeType="application/zip" name="my_zip.zip">
<Version id="-1" versionNumber="1"/>
</Document>
</Parent>
</Documents>
</ColumnValue>
</CustomInformation>
<OBSAssocs complete="false"/>
<Security>
<UserSecurity rightCode="odf_cst_my_docs_edit" userName="admin"/>
</Security>
</instance>
</customObjectInstances>
</NikuDataBus>
Expected Results: It is expected to not allow file bigger then allowed max size to be uploaded via XOG.
Actual Results: It is allowing file bigger then allowed max size to be uploaded via XOG.
Release : 16.1.2
DE77443, Fixed in 16.2.0.