Closed Karlostavitch closed 3 years ago
Im facing this same issue. Did you find a solution?
It appears as if when a user is editing or creating an email template the user_id field is set to that userID in the uv_email_templates table. Once set, only that user can view / edit that template, its otherwise filtered out for other agents. manually setting that field back to NULL on the table seems to make that template available again.
@Karlostavitch Thanks for reporting this bug. We will fix this bug soon.
@Karlostavitch @SharePointPro @vaishaliwebkul
Locate the path in your project: vendor->uvdesk->core-framework->Repository/EmailTemplatesRepository.php
We have fixed it here. Now either You can replace the EmailTemplatesRepository.php from here or can make changes in existing EmailTemplatesRepository.php file of your project as we have done in file here.
We have fixed it in master and will start reflecting from next release.
fixed so closing this.
Any email template created by or edited by another use disappear from the email templates list for anybody else except for that user. This is the latest build here -> https://cdn.uvdesk.com/uvdesk/downloads/opensource/uvdesk-community-current-stable.zip downloaded today.
you can manually browse to the template by manipulating the URL /en/member/template/edit/templateID to the said template but whoever modify's it last appears to be the only person who can see it in the webui.