If you have complex, database-heavy extensions that have been in existence for many years, it often happens that SQL errors occur in the installation routine during updates at long intervals for various reasons.
At present, only the error is displayed, but not in which update file it occurred. If there are 50 such files, the search for the error can be unnecessarily lengthy.
Summary of Changes
Updated one line to be able to name the responsible file.
Actual result BEFORE applying this Pull Request
Example:
Installer: :Install: Error SQL Duplicate column name 'uid'
Expected result AFTER applying this Pull Request
Example:
Installer: :Install: Error SQL Duplicate column name 'uid' (4.3.3.sql)
Hi @stell, I can't see/understand/figure out how to test this based on what you wrote (sorry), if you can provide a file or a specific way to test it, i'll gladly test it.
Could not see an easy way for me to live test this but I did check the code, applied the patch and installed an extension. Pass!
This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/42732.