Skip to content
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

Tags not working after upgrading to CMS 12 #15

Open
rbottema opened this issue Nov 4, 2022 · 2 comments
Open

Tags not working after upgrading to CMS 12 #15

rbottema opened this issue Nov 4, 2022 · 2 comments
Labels
documentation Improvements or additions to documentation

Comments

@rbottema
Copy link

rbottema commented Nov 4, 2022

We are in the process of upgrading our solution from CMS 11 to CMS 12 and in the process replaced the Geta.Tags package with the Geta.Optimizely.Tags package. However, after upgrading the CMS shows no tags in the overview and no results are returned when querying for tags.

When I look at the tblBigTable in the database I do still see the tags with StoreName Geta.Tags.Models.Tag. Could the change of namespaces to add the .Optimizely. be the cause that no results are returned? If so, is the fix to change the StoreName and ItemType columns to the new namespaces?

@rbottema
Copy link
Author

rbottema commented Dec 12, 2022

After some experimenting, with the following SQL queries we seem to have gotten the tags working. Is this something that should be executed by the package itself?

-- Delete all new tags for a clean sheet
DELETE
FROM [tblBigTable]
WHERE StoreName = 'Geta.Optimizely.Tags.Core.Tag'

-- Update all old tags to match new format
-- column mapping taken by comparing [tblBigTableStoreConfig]
UPDATE [tblBigTable]
SET StoreName = 'Geta.Optimizely.Tags.Core.Tag',
    ItemType = 'Geta.Optimizely.Tags.Core.Tag, Geta.Optimizely.Tags, Version=2.0.3.0, Culture=neutral, PublicKeyToken=null',
    String02 = String04,
    String03 = String02,
    String04 = String03
WHERE StoreName = 'Geta.Tags.Models.Tag'

@marisks marisks added the documentation Improvements or additions to documentation label Jan 27, 2023
@mikemalloy-commscope
Copy link

Thanks for the SQL queries, they helped. I did not apply the 'column mapping' you did, only StoreName and ItemType.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation
Projects
None yet
Development

No branches or pull requests

3 participants