AbleCommerce Forums
»
AbleCommerce
»
AbleCommerce 9 Bug Reports
»
Upgrade populates searchkeywords with "MetaKeywords"
Rank: Advanced Member
Groups: Developers
Joined: 11/7/2018(UTC) Posts: 303
Thanks: 21 times Was thanked: 5 time(s) in 5 post(s)
|
On the first couple of sites, I thought I had done something inadvertently, but this happened on a third site so I went digging. In an upgrade from Gold, you are populating the SearchKeywords field with the wording "MetaKeywords". I found this in AbleCommerce_Upgrade_ACGold_AC9.SQL, line 283 IF (SELECT COUNT(*) AS NumRows FROM INFORMATION_SCHEMA.COLUMNS WHERE TABLE_NAME = 'ac_Products' AND COLUMN_NAME = 'MetaKeywords') > 0 BEGIN UPDATE ac_Products SET SearchKeywords = 'MetaKeywords' END
|
|
|
|
Rank: Advanced Member
Groups: Admin, Developers, Registered, HelpDesk, Authorized User Joined: 10/5/2018(UTC) Posts: 704
Thanks: 5 times Was thanked: 113 time(s) in 112 post(s)
|
Thanks for pointing this out. I am registering a bug report to further investigate.
|
|
|
|
Rank: Advanced Member
Groups: HelpDesk, Developers Joined: 11/9/2018(UTC) Posts: 564
Thanks: 122 times Was thanked: 26 time(s) in 25 post(s)
|
So every upgrade has lost all search keywords on their products. Ouch.
|
|
|
|
Rank: Advanced Member
Groups: Developers
Joined: 11/7/2018(UTC) Posts: 303
Thanks: 21 times Was thanked: 5 time(s) in 5 post(s)
|
Yes. I had noticed before we went live so I used DataExport/Import to pick them up again from the Gold sites.
|
|
|
|
Rank: Advanced Member
Groups: Admin, Developers, Registered, HelpDesk, Authorized User Joined: 10/5/2018(UTC) Posts: 704
Thanks: 5 times Was thanked: 113 time(s) in 112 post(s)
|
|
|
|
|
Rank: Advanced Member
Groups: Developers
Joined: 11/7/2018(UTC) Posts: 303
Thanks: 21 times Was thanked: 5 time(s) in 5 post(s)
|
Just out of curiosity, why was the code updating the searchkeywords anyway if it was a Gold site that already had a searchkeywords field?
|
|
|
|
Rank: Advanced Member
Groups: Admin, Developers, Registered, HelpDesk, Authorized User Joined: 10/5/2018(UTC) Posts: 704
Thanks: 5 times Was thanked: 113 time(s) in 112 post(s)
|
The code was part of the upgrade script from R1-R6 to AC9. In those versions, we didn't have the SearchKeywords column so the code is creating the column and then copying the values of MetaKeywords into Searchkeywords.
|
|
|
|
AbleCommerce Forums
»
AbleCommerce
»
AbleCommerce 9 Bug Reports
»
Upgrade populates searchkeywords with "MetaKeywords"
Forum Jump
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.
Important Information:
The AbleCommerce Forums uses cookies. By continuing to browse this site, you are agreeing to our use of cookies.
More Details
Close