mirror of
https://github.com/SuiteCRM/SuiteCRM.git
synced 2026-03-02 19:16:58 -05:00
Layout editor broken in module builder 7.10-RC #2655
Labels
No labels
Area: API
Area: Campaigns
Area: Cases
Area: Clean Up
Area: Clean Up: Performance
Area: Dashlets
Area: Databases
Area: Developer Tools
Area: Elasticsearch
Area: Elasticsearch
Area: Emails
Area: Emails:Campaigns
Area: Emails:Cases
Area: Emails:Compose
Area: Emails:Config
Area: Emails:Templates
Area: Environment
Area: Installation
Area: Language
Area: Mobile
Area: Module
Area: PDFs
Area: PHP8
Area: Reports
Area: Studio
Area: Styling
Area: Upgrading
Area: Workflow
Area:Activity Stream
Area:Calls
Area:Import
Area:Projects
Area:Search
Area:Surveys
Area:Themes
Area:Users
Branch:Hotfix
Good First Issue
Hacktoberfest
Help Wanted
PR:Community Contribution
PR:Type:Enhancement
Priority:Critical
Priority:Important
Priority:Moderate
Severity: Major
Severity: Minor
Severity: Moderate
Status: Requires Code Review
Status: Requires Updates
Status: Stale
Status: Team Investigating
Status:Assessed
Status:Fix Proposed
Status:Needs Assessed
Status:Requires Automated Tests
Type: Bug
Type:Deprecated
Type:Discussion
Type:Duplicate
Type:Invalid
Type:Question
Type:Suggestion
Type:Suggestion
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/SuiteCRM-SuiteCRM#2655
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @jamiemurray on GitHub (Jan 28, 2018).
Issue
Unable to edit layouts on module builder.
Expected Behavior
When clicking the edit or detail view layout on module builder, the layout should appear to be edited.
Actual Behavior
A message is displayed after clicking on "Edit View" or "Detail View" within module builder: "An error has occurred".
The following is present in suitecrm.log:
Sun Jan 28 17:39:11 2018 [3694][1][FATAL] Exception handling in /usr/share/nginx/suitecrm/include/MVC/Controller/SugarController.php:402
Sun Jan 28 17:39:11 2018 [3694][1][FATAL] Exception in Controller: UndeployedMetaDataImplementation: view definitions for View editview and Module Claim are missing
Sun Jan 28 17:39:11 2018 [3694][1][FATAL] backtrace:
#0 /usr/share/nginx/suitecrm/modules/ModuleBuilder/parsers/views/GridLayoutMetaDataParser.php(96): UndeployedMetaDataImplementation->__construct('editview', 'Claim', 'S75')
#1 /usr/share/nginx/suitecrm/modules/ModuleBuilder/parsers/ParserFactory.php(89): GridLayoutMetaDataParser->__construct('editview', 'Claim', 'S75')
#2 /usr/share/nginx/suitecrm/modules/ModuleBuilder/views/view.layoutview.php(107): ParserFactory::getParser('editview', 'Claim', 'S75')
#3 /usr/share/nginx/suitecrm/include/MVC/View/SugarView.php(207): ViewLayoutView->display()
#4 /usr/share/nginx/suitecrm/include/MVC/Controller/SugarController.php(432): SugarView->process()
#5 /usr/share/nginx/suitecrm/include/MVC/Controller/SugarController.php(375): SugarController->processView()
#6 /usr/share/nginx/suitecrm/include/MVC/SugarApplication.php(109): SugarController->execute()
#7 /usr/share/nginx/suitecrm/index.php(52): SugarApplication->execute()
#8 {main}
Possible Fix
Steps to Reproduce
Your Environment
@goingsmart commented on GitHub (Feb 3, 2018):
Have applied the FIX #5055 but still getting Following ERROR.
Using 7.10 RC Linux CentOS7 PHP 7.2
Using STUDIO attempting to change ACCOUNT Module Dashlet ListView.
Can move fields around but SAVE & DEPLOY gets ERROR "An Error has occurred". Since this is a new install problem could be my platform (e.g. missing PHP 7.2 extension or wrong CHMOD. The ERROR LOG HAS:
Uncaught Error: Cannot access protected property DeployedMetaDataImplementation
[19-Jan-2018 22:54:59 UTC] PHP Fatal error: Uncaught Error: Cannot access protected property DeployedMetaDataImplementation::$_history in /modules/ModuleBuilder/parsers/views/DashletMetaDataParser.php:193
Stack trace:
#0 /modules/ModuleBuilder/controller.php(805): DashletMetaDataParser->handleSave()
#1 /include/MVC/Controller/SugarController.php(523): ModuleBuilderController->action_dashletSave()
#2 /include/MVC/Controller/SugarController.php(491): SugarController->do_action()
#3 /include/MVC/Controller/SugarController.php(465): SugarController->handle_action()
#4 /modules/ModuleBuilder/controller.php(108): SugarController->process()
#5 /include/MVC/Controller/SugarController.php(373): ModuleBuilderController->process()
#6 /include/MVC/SugarApplication.p in /home/patientpathsnet/public_html/beta/modules/ModuleBuilder/parsers/views/DashletMetaDataParser.php on line 193
STUDIO Labels, Fields, and Layouts WORK OK, except Layouts SuiteCRM Dashlet and PopUp View get posted ERROR.
This condition exists for multiple Modules.
@e-reeley commented on GitHub (Feb 6, 2018):
Hi @goingsmart
I'm sorry for the late response.
I just had a read of your error log and I believe that these 2 links may help you out:
The first is the forum which discusses a similar error.
The second is FIX #5086 which is also mentioned in the forum andseems to be the fix for the issue that you are seeing here.
These will be added in to the next release, however, please add them in if you would like to resolve the issue before :)
Thanks for raising the issue!