CRM xml upload bug

Status
Not open for further replies.

entek

Free User
Joined
Aug 6, 2021
Messages
1
Reaction score
0
Hi
Just wanted to share an issue I've experienced during CRM integration.
Observed:
When XML is uploaded (+Add button) to Settings/CRM Integration, sometimes UI doesn't recognise file upload.

Expected:
When XML is uploaded (+Add button) to CRM integration page, UI to show CRM integration config screen

Bug Found:
When XML is uploaded more than once and file is smaller than the previous upload, XML gets corrupted as the upload seems to overwrite bytes over existing file.
e.g.
1st upload with size 100bytes ending.
-------------
...
</crm>
-------------
2nd edited upload with size 97bytes; the final file found in 3CX-instance:/var/lib/3cxpbx/Instance1/Data/Http/Templates/crm/{your xml file} saved as; thus violating XML format
-------------
...
</crm>rm>
-------------

Workaround:
1.If the XML is corrupted, edit the file manually and fix.
2.Append empty lines or spaces after </crm> e.g. 100bytes or so. then upload.
 
Thanks for bringing this to our attention, we will investigate it and provide a fix in a future update.
 
Status
Not open for further replies.

Latest Posts

Forum statistics

Threads
112,323
Messages
591,896
Members
165,474
Latest member
costionofrei