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

Bug: Local, exportable tags not exported between internal instances after being updated in source instance #10110

Open
1 task done
oivindoh opened this issue Dec 17, 2024 · 0 comments
Labels
needs triage This issue has been automatically labelled and needs further triage

Comments

@oivindoh
Copy link
Contributor

Actual behavior

Events with attributes containing local tags already synced between internal instances do not get updated local tags on attributes on sync/update/fetch when the event itself was already synced prior to new tags being added.

Adding a global/public tag to the attribute and republishing the event leads to the updated local tag also being synced over. Simply unpublishing the event and republishing it does not help.

Expected behavior

Events already synced from A to B should have their local tags updated in B if these have been changed after previous sync

Steps to reproduce

Two instances: A and B, where B is set ut to pull from A.

  1. Create local, exportable tags "local:tag:test" and "local:tag:test2" in instance A
  2. Create event in A with an internal reference attribute with any content. Apply tag "local:tag:test" to this attribute and sync event over to instance B.
  3. Verify event in instance B contains attribute correctly tagged "local:tag:test"
  4. Add tag "local:tag:test2" to the attribute in instance A
  5. Attempt to pull updated event to instance B via both /servers/pull/1/full and /servers/pull/1/update, as well as "Fetch this event" on /servers/previewEvent/1/
  6. Attribute in instance B never receives updated tag "local:tag:test2".

Version

2.5.2

Operating System

Debian (official docker image)

Operating System version

12

PHP version

8

Browser

All

Browser version

No response

Relevant log output

No response

Extra attachments

No response

Code of Conduct

  • I agree to follow this project's Code of Conduct
@oivindoh oivindoh added the needs triage This issue has been automatically labelled and needs further triage label Dec 17, 2024
@oivindoh oivindoh changed the title Bug: Local, exportable tags not exported between internal instances Bug: Local, exportable tags not exported between internal instances after being updated in source instance Dec 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
needs triage This issue has been automatically labelled and needs further triage
Projects
None yet
Development

No branches or pull requests

1 participant