-
-
Notifications
You must be signed in to change notification settings - Fork 3.7k
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
Avoid ignore SQL statement after comments starting by # #9137
Avoid ignore SQL statement after comments starting by # #9137
Conversation
… #, the following statement will be ignored. This commit fix the issue #9008 by removing all the lines starting by # in the SQL files.
I couldnt repeat the issue so have not been able to test the patch I followed all the steps above and in step 3 I added the following at the very top of the sql
Did I do something wrong? This comment was created with the J!Tracker Application at issues.joomla.org/joomla-cms/9137. |
oops markdown modified what I wrote This comment was created with the J!Tracker Application at issues.joomla.org/joomla-cms/9137. |
I have tested this item ✅ successfully on 1ef6317 This comment was created with the J!Tracker Application at issues.joomla.org/joomla-cms/9137. |
Brian, have you tried to install a fresh component or have you tried to update it? To replicate the issue you must install a component that is not already installed. This comment was created with the J!Tracker Application at issues.joomla.org/joomla-cms/9137. |
I can provide a modified DPCalendar version if needed to test. |
it was a clean web site installed just for this test using the current On 17 February 2016 at 12:36, Allon Moritz [email protected] wrote:
Brian Teeman |
Tested again using DPCalendar where I added Again had no problem at all This comment was created with the J!Tracker Application at issues.joomla.org/joomla-cms/9137. |
I have tested this item 🔴 unsuccessfully on 1ef6317 This comment was created with the J!Tracker Application at issues.joomla.org/joomla-cms/9137. |
Brian, if you test the issue with DPCalendar by adding a comment to the very first line of com_dpcalendar/admin/sql/install.mysql.utf8.sql the installer works ok, but the component not. Just after installing, go to Components->DP Calendar->Events and you'll get the following SQL error:
This is because the events table is missing in your database. This comment was created with the J!Tracker Application at issues.joomla.org/joomla-cms/9137. |
Ah I tested the other views in dpcalendar and they were ok. They were all
|
I have tested this item ✅ successfully on 1ef6317 This comment was created with the J!Tracker Application at issues.joomla.org/joomla-cms/9137. |
RTC This comment was created with the J!Tracker Application at issues.joomla.org/joomla-cms/9137. |
…-mysql-statement-after-a-comment Avoid ignore SQL statement after comments starting by #
Merged |
Description
When you try to install a component with some comments starting by # in SQL files, the following statement is ignored. This PR solves the issue #9008 by deleting all the comments starting by #
How to test