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
MSSQL - fix install extensions crash #7145
Conversation
fix spaces
fix comment rules
150 char x line
Multi-line IF statement not indented correctly; expected spaces but found 4
removed misplaced code
now the check is executed always
fix Cannot insert the value NULL into column 'custom_data', table 'j7145_extensions'; column does not allow nulls. removed unneeded alias in the menu update
added check for extensions that add a menu item
cast parent_id to int
fix Cannot insert the value NULL into column 'custom_data', table 'j7145_extensions';
cast need a space
whitespace
add custom_data check for package
Merge conflicts |
conflict merged
merged conflict
resolved
resolved
should be resolved |
As I don´t know how to make a package of the weblinks component from the github repository I tested with com_patchtester. I could reproduce the problem and successfully install the component after applying the patch. With the patch applied I tested also mysql and postgres. On postgres the installation of com_patchtester went well in the first place but when I invoked patchtester an error showed that the table patchtesters_tests wasn´t installed. Error 0 SQL=SELECT COUNT(*) FROM "ejx7v_patchtester_pulls" AS "a" LEFT JOIN "ejx7v_patchtester_tests" AS "t" ON t.pull_id = a.pull_id Doing the same without the patch com_patchtester works, well sort of. |
@waader i've started with a fresh postgresql install and installed the patchtester without this PR , then i've applyed this PR and then unistalled the patchtester. After i've installed the patchtster without issues so i'm unable to reproduce your issue , what steps have you followed to test this PR on different environment ? |
Tested with install com_patchtester it's work fine for me. This comment was created with the J!Tracker Application at issues.joomla.org/joomla-cms/7145. |
Can you fix the conflicts please? |
Steps to reproduce the issue
try to install an extension for example the com_patchtester or the pkg_weblinks or....
Expected result
extension installed or some error msgs
Actual result
joomla crash
the issue is better described here #5890
System information
Windows 2008 R2 10.50.4033
Apache 2.4.7
PHP 5.5.9
Joomla! 3.4.2-dev
Additional comments
now handle the exception that was unhandled #5890
Installation of a module #5850
Add a new menu item to the Main Menu #4207