[Vtigercrm-developers] Exception message not shown if triggered by beforedelete or beforesave

Vincenzo Bruno v.bruno at vinsoft.it
Sat Mar 29 08:20:36 GMT 2025


Thank you Prasad,

your solution is way better

Vincenzo

Il 29/03/25 07:10, Prasad ha scritto:
> Devised fix 
> <https://code.vtiger.com/vtiger/vtigercrm/-/commit/0d4217fe2d8f89e57fd9befd09e5f87c73577af9> 
> in the helper function instead. Please review.
>
> On Thu, Mar 27, 2025 at 9:45 PM Vincenzo Bruno <v.bruno at vinsoft.it> wrote:
>
>     If a check fails in beforedelete or beforesave custom handler and an
>     exception is thrown, the operation is aborted but an empty popup is
>     shown, without the intended message. This happens both in Detail and
>     List views.
>
>     We found and fix the bug in 2 JS files. Here you can find the
>     issue and
>     the commit+MR https://code.vtiger.com/vtiger/vtigercrm/-/issues/1960
>
>     Someone experieced the same issue?
>
>     -- 
>     Vincenzo Bruno
>     Coopyleft - www.coopyleft.it <http://www.coopyleft.it>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.vtigercrm.com/pipermail/vtigercrm-developers/attachments/20250329/9d7dd2ef/attachment.html>


More information about the vtigercrm-developers mailing list