For the last several upgrades the Users module vardefs file has included syntax errors erroneously appending " (30)" to the declaration for the first_name and last_name columns.
I fix this mid upgrade e.g. after the upgrade file copy step and before committing by amending the file modules/Users/vardefs to remove the " (30)" suffix.
This error is a recurring theme in the forums and an easy result to find on Google. It would seem this is a quick change to fix and commit.
Iād hope this issue is high on the list to fix and we donāt experience a 7.11.16 release which fails in the same way during upgrade.
It is not a simple issue, I am afraid. It works well in a bunch of test scenarios and I havenāt seen a reproducible error scenario yet.
It probably depends on
which exact version youāre coming from, and which youāre going to
if you have stuff in custom that is keeping the updated files form taking effect (those error messages that the upgrade wizard shows, but everybody typically ignores
Hey,
Along with what pgr has said, iāve noticed an issue on the SuiteCRM github page in which someone has detailed the issue when on an MSSQL / Windows environment
By chance, what sort of environment are you on?
Perhaps we can find some sort of pattern
Download SuiteCRM-Upgrade-7.11.x-to-7.11.15.zip from https://suitecrm.com/download/ , within the zip archive review the file vardefs.php in SuiteCRM-Upgrade-7.11.x-to-7.11.15\modules\users directory
But this all started when increasing the fieldsā length (which makes sense, in some countries long names are common)
So the idea is to make them longer. The problem seems to be that the vardefs/database syncing of the data formats doesnāt work correctly for some people
It should take just a QR&R followed by the SQL query it suggests, but for some reason it keeps repeating on some systems, and isnāt effective.