[Vtigercrm-developers] Error to delete lists Vtiger 7.3 (06/2021)

Alan Lord alanslists at gmail.com
Wed Jun 9 07:25:19 GMT 2021


On 09/06/2021 04:09, Rubén A. Estrada Orozco wrote:
> Thanks Henry, that means it's a bug. In cases like this, it's good to 
> create a bug report at code.vtiger.com <http://code.vtiger.com> . And 
> even better to submit the fix.
> 
> Alan, since you were working on this, could we have your opinion on 
> Henry's findings?
> 
> Saludos
> 
> Rubén


You are correct - the "Permission Denied" exception is thrown if you are 
a non-admin when you try and delete your own list.

This doesn't actually have anything to do with the issue, or patch, I 
raised in https://code.vtiger.com/vtiger/vtigercrm/issues/706.

I think this core bug would have been introduced with this commit:

https://code.vtiger.com/vtiger/vtigercrm/commit/41671c1c46974f88f5963303cf0d79e96abdd283

The same error is in the DeleteAjax action class too by the looks of 
that commit log. Basically I do not think any filter has been 
successfully deleted since - lol.

Henry, good catch! It would be good to create a new ticket explaining 
this bug and to create a Merge Request with the fix. If you are not 
able, let this list know and I am sure one of us can do it on your behalf.

Cheers


Al



More information about the vtigercrm-developers mailing list