No Code Attached Yet
avatar ZhukDmitry
ZhukDmitry
16 Nov 2022

Steps to reproduce the issue

If you have component with autoupdate feature, and package (where component is also too) with autoupdate feature and you add update SQL file and create new versions of conponent and package, it tries to execute it twice - when component install, and when package install and fails with error about duplicate columns.

The version of component is the same in a single archive, as in package

Expected result

Execute SQL file only once

Actual result

System information (as much as possible)

Additional comments

avatar ZhukDmitry ZhukDmitry - open - 16 Nov 2022
avatar ZhukDmitry ZhukDmitry - change - 16 Nov 2022
Labels Removed: ?
avatar joomla-cms-bot joomla-cms-bot - change - 16 Nov 2022
Labels Added: No Code Attached Yet
avatar joomla-cms-bot joomla-cms-bot - labeled - 16 Nov 2022
avatar ZhukDmitry
ZhukDmitry - comment - 16 Nov 2022

Close it, I need more tests for this case, probably it is my error.


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/39223.

avatar ZhukDmitry
ZhukDmitry - comment - 16 Nov 2022

I reproduce it. Look only for component
If I add SQL into v1, install it, and after that just create v2 - it tries to execute SQL again


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/39223.

avatar ZhukDmitry
ZhukDmitry - comment - 16 Nov 2022

Ok. I think I have to rewrite my SQL for new installation and updates. Close my ticket.
I'm sorry for disturb


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/39223.

avatar richard67 richard67 - close - 16 Nov 2022
avatar richard67
richard67 - comment - 16 Nov 2022

Closing as stated above.

avatar richard67 richard67 - change - 16 Nov 2022
Status New Closed
Closed_Date 0000-00-00 00:00:00 2022-11-16 15:45:30
Closed_By richard67

Add a Comment

Login with GitHub to post a comment