Geta / geta-optimizely-tags

Geta Tags is a library that adds tagging functionality to Optimizely content.
Apache License 2.0
0 stars 3 forks source link

Scheduled job is not working correctly #19

Open ozvieriev-tmx opened 1 year ago

ozvieriev-tmx commented 1 year ago

We installed the most recent version of Geta Tags (https://github.com/Geta/geta-optimizely-tags) on an Optimizely CMS 12 implementation, but it appears the scheduled job is not working correctly. We would appreciate guidance on what the expected behavior of the scheduled job should be as we have been unable to find any documentation specific to this.

We had found this issue (https://github.com/Geta/Tags/issues/87reported) that was reported on the previous version of Geta Tags that looks to be the same as what we are experiencing with the new version, but it did not appear to have any resolution or follow up for it.

OOTB, it appears the job should remove invalid tags (https://github.com/Geta/geta-optimizely-tags/blob/master/src/Geta.Optimizely.Tags/TagsScheduledJob.cs). Below are the two scenarios that we are trying to validate.

Scenario #1:

  1. Tag is deleted from Geta Tags page in CMS
  2. Tag still exists on CMS content
  3. Maintenance job runs
  4. Should tags that are no longer in the Geta Tags library be removed from content? (this is not currently happening, old tags not in Geta remain on the content) Scenario #2:
  5. Tag is updated from Geta Tags page in CMS
  6. User does not select "Check this box to edit existing tags in the content" option
  7. Tag updates to new tag on Geta Tags Page/Library
  8. Should the original tag be removed from all content if it is no longer part of the Geta Tags library? (not currently happening)