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
Fixing getFileName and layouts in module builder and studio. #3918
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I approve it and I would to ask to in the future please can you make separated commit or PR for code cleanup only?
That an interesting question that @gymad raises - these PR's are harder to read and understand when so much code cleanup is in there too. It is difficult to see exactly what the PR is intending to change, and what are just formatting changes. But we need to be careful with code cleanups because they also require testing. We've been bitten by this more than once - a tiny mistake in a change that was not intended to change the way the code works, but ends up breaking things (like that query that lost a space character in 7.9.0...). So we would probably want to be able to do code reviews with separated fixes/code cleanups, but then test them together (if they affect the same files). I don't know if this is practical, or exactly how it be achieved... |
@gymad On code cleanup I made the same request for language files: all SuiteCRM code files should have a code cleanup version, as in full files edit without code changes and a new version should be released for that. Code cleanup required to follow the Coding Standards https://suitecrm.com/wiki/index.php/Coding_Standards:
I believe this would take some days for the same person but will avoid any further time lost to everyone else. |
Hi! Sorry I'm a bit late on commenting... Unfortunately I don't know yet how to get the pull request to test your fix, but I corrected the DeployedMetaDataImplementation.php-file manually just to see if it works (added argument $packageName to getFileName()). Therefore I might have missed other fixes of your pull request...but my question is: So, don't panic :) Maybe I just broke my instance. Thanks a lot! Best regards |
This has also broken all of our tabs and turns them into panels whenever the views are updated. |
see #4097 |
Description
This change fixes some issue with module builder and studio. I have also added PHP doc to the files I have changed and updated the license headers in each class. I have only updated the access modifiers, where I believe it is safe to do so.
Issue 1:
When you create a new module in module builder, you are unable to select any of the layouts or edit fields.
Issue 2:
When you create a new module in module builder, the filter icons displays the incorrect icon and the text is blank.
Issue 3:
I have updated the classes which call getFileName method call so that they handle the new packageName variable.
Motivation and Context
How To Test This
Types of changes
Final checklist