uvdesk / community-skeleton

UVdesk Opensource Community Helpdesk Project built for all to make a Full Ticketing Support System along with many more other features.
https://www.uvdesk.com
Open Software License 3.0
9.06k stars 464 forks source link

Clear cache button in Dashboard is broken! #602

Open PeopleInside opened 2 years ago

PeopleInside commented 2 years ago

Bug report

Title

The trash dasboard footer icon at the bottom right seems is broken, even if a green message is showed cache is not cleared.

Issue Description

I discovered that you forget once again to update the Dashboard footer version.

So I updated that infos on my testing instance where I'm not operating with SSH or with a cron job to clear cache so if the clear button doesn't do his job I will easily discover it.

Preconditions

Please provide as detailed information about your environment as possible.

1. framework Version. 1.1.1
2. Commit id. https://github.com/uvdesk/community-skeleton/commit/3a1c12a5fdc3d73b66cadaf8e9e5d5b2cd062f6e

Steps to reproduce

It is important to provide a set of clear steps to reproduce this bug.If relevant please include code samples.

Try to change the Dashboard version and also the link of cookies that appear on front help desk.

  1. https://github.com/uvdesk/community-skeleton/pull/601
  2. https://github.com/uvdesk/core-framework/pull/603
  3. https://github.com/uvdesk/support-center-bundle/blob/3819648630c0f5198789b58bd073bada9ad07213/Resources/views/Themes/cookiePolicy.html.twig#L7

Now be sure to do not anything by SSH and to have not a cron job that clear cache. Go on Dasboard and try to clear cache with the trash button.

A green message will confirm cache are cleared but is not: if you refresh web pages you will see cookie link has not changed and the version showed in the Dashboard footer will still be the old one.

komal-sh-27 commented 2 years ago

This issue is still currently available or not because we have checked on windows and the ubuntu system but we are not getting this issue.

PeopleInside commented 2 years ago

I have Ubuntu system. How you tested? Pressing the button never give any error, simply if you made an edit to files (for example cookie URL) that need a cache clear to be visible, the button to clear cache is not doing anything just show a confirmation message but nothing is cleared.

komal-sh-27 commented 2 years ago

I have checked with the edit files and also change the URL of the customer panel from the admin side(Branding -> Default language) option. I have attached a video link: https://www.awesomescreenshot.com/video/11700822?key=3dfc1fa41f031823f02a9a47e6148196

PeopleInside commented 2 years ago

What version of UVdesk are you using? What is the PHP version?

komal-sh-27 commented 2 years ago

I have used the latest release version of uvdesk: Uvdesk V-1.1.1 Php Version: 7.4

PeopleInside commented 2 years ago

I'm using PHP 8.1 can you please check if works with such PHP? I'm trying also to create a demo so I can give access from a private ticket so you will be able to see the issue.

PeopleInside commented 2 years ago

Well, once again your Wizard installation is not working and never let me install a new instance of UVdesk. I opened the ticket #28701 please check the same.

I don't know how to help to understand and fix the issue / bug if your software still have issues when install a new instance. Your wizard as always are unable to get database connection.

Why if I try with Wordpress all goes fine? As always is quite impossible install UVdesk or work with them if your software still have so much issues.

it makes me nervous that I enter all the correct database data and your software does not let me continue with the installation

I'm loosing my time!

PeopleInside commented 2 years ago

https://github.com/uvdesk/community-skeleton/issues/613

komal-sh-27 commented 2 years ago

I'm using PHP 8.1 can you please check if works with such PHP?

We have checked with the php 8.1 version here all works fine.

Check this video: https://www.awesomescreenshot.com/video/11718270?key=2db07a900ca07d1e07d2107e13298566

PeopleInside commented 2 years ago

Thank you!

Maybe so the issue can be in upgrade scenario? Your upgrade scenario never fix the bug on my installation.

I cannot test new install until you never reply to my issue here on GitHub and to the ticket as well. See how UVdesk is broken and cannot be installed: https://github.com/uvdesk/community-skeleton/issues/613

I'm able to install Wordpress without issue while UVdesk always refuse to connect to the database.

I need to know how to resolve and also I suggest again to improve the setup because only UVdesk once uploaded never work for the installation wizard!

PeopleInside commented 2 years ago

I loosed to much time, I will ignore the bug of Dashboard button and I will never try to create a demo to help to see and fix the issue.

UVdesk has continuous errors during the install process and maybe also the upgrade process caused the Dashboard clear cache button to be broken. To hard upgrade and setup process with too many errors.

Wordpress take 2 minutes to install, UVdesk... made me loose more than 3 hours of work and nothing is working. I never had other time to loose. Sorry.