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
MIT License
7.18k stars 448 forks source link

An error occurred when the agent was deleted #659

Closed yjqphp closed 1 year ago

yjqphp commented 1 year ago

Bug report

issue

   1.  An error occurred when the agent was deleted;
   2. The agent whose role is adminstrator cannot be deleted

Steps to reproduce

1. Create a customer,eg: abc@gamail.com

2. Create a same mailbox agent,    eg: abc@gamail.com

3.  deleted agent

Expected result

Actual result

  1. Doctrine throw exception with getOneOrNullResult
  2. A message is displayed indicating that the agent is deleted successfully, but the agent is not deleted
papnoisanjeev commented 1 year ago

@yjqphp

We have already fixed this issue and pull request is already created for the same and will reflect in next release of project.

Till then you can fix the same on your project by updating file vendor/uvdesk/core-framework/Controller/AccountXHR.php on line no 72.

yjqphp commented 1 year ago

That's great!

The role of the agent is Administrator. The system displays a message indicating that the db server is deleted successfully, but the DB server is not deleted.

The problem is still there.

@yjqphp

We have already fixed this issue and pull request is already created for the same and will reflect in next release of project.

Till then you can fix the same on your project by updating file vendor/uvdesk/core-framework/Controller/AccountXHR.php on line no 72.

That's great!

The role of the agent is Administrator. The system displays a message indicating that the db server is deleted successfully, but the DB server is not deleted.

The problem is still there.

komal-sh-27 commented 1 year ago

Now this issue has been resolved now in uvdesk latest release v-1.1.3 version, so we are closing this issue.