Open sy-subrc opened 1 month ago
Hey! Thank you for raising this.
Just to let you know, I've transfered this issue over to the SuiteCRM repo as this issue is replicable in SuiteCRM7 too. (Meaning, when resolved here, the fix will be pulled into both SuiteCRM7 and SuiteCRM8)
Thank you again!
Hi, thank you for your quick response. I am happy that the error is reproducible.
Issue
The attempt to change a relationship in SuiteCRM Studio ends with the error message “An error has occurred”. This error message appears when you try to change any relationship. There is no indication of this error in SuiteCRM-Log. The following error message appears in the Apache/PHP log each time a change is attempted
PHP Fatal error: Uncaught Error: Undefined constant "view_module" in /suitecrm/public/legacy/modules/ModuleBuilder/parsers/parser.label.php:279
Possible Fix
If I deactivate the bug fix contained in the file public/legacy/modules/ModuleBuilder/parsers/parser.label.php (Lines 278-382), changes to relationships can be posted again without errors.
Steps to Reproduce the Issue
Context
The error occurred again after creating a custom module via the Module Builder. The custom module has relationships to standard SuiteCRM modules.
Version
8.6.2
What browser are you currently using?
Chrome
Browser Version
No response
Environment Information
mysql Ver 15.1 Distrib 10.11.9-MariaDB, for Linux (x86_64), PHP Version => 8.2.20
Operating System and Version
openSUSE Leap 15.6