salesagility / SuiteCRM-Core

SuiteCRM - Open source CRM for the world
https://www.suitecrm.com
GNU Affero General Public License v3.0
174 stars 118 forks source link

Repair & Rebuild does not sync vardefs w/DB SuiteCRM 8 #532

Open pstevens71 opened 1 month ago

pstevens71 commented 1 month ago

Issue

Repair & Rebuild is not syncing vardefs with DB.

I exported customizations form one install to another. Imported the changes. The vardefs/metadata and language files came over. In fact the front end editview/detail view came over. Upon further investigation the fields are not in studio and have not been created in the _cstm table for the module.

There are no obvious errors in the log or php log.

Possible Fix

No response

Steps to Reproduce the Issue

1.Add custom fields to one install of SuiteCRM 8
2.Export them from studio
3.Import them with module installer to a new SuiteCRM install
4.Do an R&R (confirm all vardefs sync'd with DB)
5. See no vardefs are sync'd with the DB.
...

Context

In an immediate context, the export/import customizations feature in Studio does not work. However, in a larger context, R&R is not working as expected and not syncing vardefs with the DB.

So the vardefs are not being sync’d with the DB. So I don’t think its and angular thing.

The have been copied to:

…/public\legacy\custom\Extension\modules\Project\Ext\Vardefs\

I can also see them here:

…\public\legacy\custom\modules\Project\Ext\Vardefs\vardefs.ext.php

But not in DB, and not in Studio.

Leads me to believe the R&R is not working properly in SuiteCRM 8 to sync the vardefs with the DB.

Version

8.6.1

What browser are you currently using?

Chrome

Browser Version

No response

Environment Information

PHP 8.2

Operating System and Version

Centos 7

chris001 commented 1 month ago

With developer mode enabled, and log_errors and display_errors enabled, when doing the Repair and Rebuild, can you share any relevant error or fatal?

pstevens71 commented 1 month ago

Even on "errors" level in reporting there are no SuiteCRM errors.

chris001 commented 1 month ago

mariadb log errors? after enable qa mode errors?