Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

New 7.10 Studio Undefined Messages & Error Condition #5266

Closed
goingsmart opened this issue Feb 20, 2018 · 4 comments
Closed

New 7.10 Studio Undefined Messages & Error Condition #5266

goingsmart opened this issue Feb 20, 2018 · 4 comments

Comments

@goingsmart
Copy link

Issue

The new 7.10 Upgrade from 7.10 RC2 worked OK. Thank you for the progress.
I'm still working with the install but have found Studio Problems where changes to Account Module apply OK but display "Undefined" Messages. Change to Popup get tghe same error message I reported for 7.10RC:
[20-Feb-2018 03:22:30 UTC] PHP Fatal error: Uncaught Error: Cannot access protected property DeployedMetaDataImplementation::$_history in public_html/beta/modules/ModuleBuilder/parsers/views/PopupMetaDataParser.php:210
Stack trace:
#0 public_html/beta/modules/ModuleBuilder/controller.php(812): PopupMetaDataParser->handleSave()
#1 public_html/beta/include/MVC/Controller/SugarController.php(523): ModuleBuilderController->action_popupSave()
#2 public_html/beta/include/MVC/Controller/SugarController.php(491): SugarController->do_action()
#3 public_html/beta/include/MVC/Controller/SugarController.php(465): SugarController->handle_action()
#4 public_html/beta/modules/ModuleBuilder/controller.php(108): SugarController->process()
#5 public_html/beta/include/MVC/Controller/SugarController.php(373): ModuleBuilderController->process()
#6 public_html/beta/include/MVC/SugarApplication.php(109 in public_html/beta/modules/ModuleBuilder/parsers/views/PopupMetaDataParser.php on line 210

Expected Behavior

Actual Behavior

Possible Fix

Steps to Reproduce

1.Use Studio for Account Module to make Layout Changes
2.
3.
4.

Context

Your Environment

  • SuiteCRM Version used: new 7.10 Upgrade from 7.1RC2
  • Browser name and version (e.g. Chrome Version 51.0.2704.63 (64-bit)): Latest Chrome
  • Environment name and version (e.g. MySQL, PHP 7): MariahDB
  • Operating System and version (e.g Ubuntu 16.04): CentOS 7 64-bit
@dtosun61
Copy link

Would you be able to rebuild the htaccess file through the admin and repair process.

@goingsmart
Copy link
Author

I rebuilt htaccess as requested. Unfortunately, No change in Studio issues.
The top of the Studio left and right collapsible panels say undefined
Anything else for me to do?

@e-reeley
Copy link
Contributor

Hi @goingsmart

Sorry to see this issue.

Im not sure if this will help, but im sure this is related PR: #5252.

Also. after your repair of the htaccess file, was a repair and rebuild carried out and clearing the cache within the browser, just in the case that something was stored before the repair.

Thanks for raising this issue.

@goingsmart
Copy link
Author

Both my new 7.10 problems have been resolved.

Studio "undefined" was fixed by rebuilding htaccess, then doing Quick Repair and Rebuild; then clearing Browser history

Studio "Popup" FATAL Error was fix to modules/ModuleBuilder/parsers/views/PopupMetaDataParser.php
line 210
$this->implementation->getHistory()->append($file);

Thanks for the rapid response AND Thanks for 7.10

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants