AnsweredAssumed Answered

get_document_revision doesn't return file in binary

Question asked by Shabi Shabi on May 19, 2015
Latest reply on Aug 1, 2016 by Sravanthi Bellamkonda
Hi,   How are you all doing?  I am currently working on a SugarCRM 7.5 on demand instance. I created a test rest v4_1 API call. When I hit the method get_document_revision it doesn't returns me any file content.   When I tried to research on the issue I checked the implementation of this Rest call and I figured out on line # 806 of fileservice\core\SugarWebServiceImpl.php it calls a function sugar_file_get_contents. This function is based in SugarFileUtils.php. If I change this call to default php call file_get_contents It returns me the data. Can you please help and guide me through it?    the test file for testing is: www.ideadunes.com/verowater/generatee...    Thank you,  Shoaib

Outcomes