uvdesk / core-framework

UVDesk Community Helpdesk Core Framework Bundle providing the core essential functionalities and integration tools to easily integrate any other community helpdesk packages.
https://www.uvdesk.com
MIT License
60 stars 50 forks source link

Hi, When upload txt file in ticket , total count of words attaching at the end of the file #665

Open vasu7A opened 1 year ago

vasu7A commented 1 year ago

Description

How to reproduce

Possible Solution

Additional context

vasu7A commented 1 year ago

image image

komal-sh-27 commented 1 year ago

@vasu7A

Thanks for reporting this issue. We will check and update to you.

Thanks for your time and patience !!!

Kind Respect, Uvdesk Team

komal-sh-27 commented 1 year ago

@vasu7A,

We have added some changes in the code, you can change some files in your project code. Please follow the below steps:

You will be change in core-framework bundle under the your-project-name/vendor/uvdesk/core-framework/controller/ticket.php file added the below code:

    // $response->setContent(readfile($path));
    readfile($path);

For Reference Commit id:

https://github.com/uvdesk/core-framework/pull/652/commits/ad4ab27f009426c635932a403983a2b04eb1302e

You will be change in support-center-bundle under the your-project-name/vendor/uvdesk/support-center-bundle/controller/ticket.php file added the below code:

    // $response->setContent(readfile($path));
    readfile($path);

For Reference Commit id:

https://github.com/uvdesk/support-center-bundle/commit/fc8e4ebb876b8c1ce572d288e6bd46bd5c303672

After these changes you will be the cleared cache of your project using the below command:

$ php bin/console c:c

Please make a try the above changes and let we know you have still facing the same issue.

vasu7A commented 1 year ago

Worked! Thank You...

komal-sh-27 commented 1 year ago

@vasu7A

Thanks for the updated here. These changes will be reflected on the future release.

Thanks and Regards Uvdesk Team