# وسوم الموظفين تسبب فهرس وسوم مكرر

**URL:** <https://meta.discourse.org/t/staff-tags-cause-duplicate-tag-index/292072>\
**Category:** Bug\
**Tags:** tags\
**Created:** [18 يناير 2024، 1:12م UTC](https://meta.discourse.org/t/staff-tags-cause-duplicate-tag-index/292072 "2024-01-18T13:12:10Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

**Author:** ![hellekin](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/hellekin/32/51636_2.png) [@hellekin](https://meta.discourse.org/u/hellekin)\
**Post date:** [18 يناير 2024، 1:12م UTC](https://meta.discourse.org/t/staff-tags-cause-duplicate-tag-index/292072/1 "2024-01-18T13:12:10Z")

</div>

متابعةً للنقاش من [ActiveRecord::RecordNotUnique on idx\_tag\_users\_ix1: How to fix?](https://meta.discourse.org/t/activerecord-recordnotunique-on-idx-tag-users-ix1-how-to-fix/287078/5):

> [@hellekin](#):
>
> Note that the **symptom** is cleared, but the cause is not clear at all.

تم إعادة إنتاج الخطأ. أعتقد أنني على الطريق الصحيح لمعرفة هذه المشكلة.

### خطوات إعادة الإنتاج

1. إنشاء وسم #foo

2. تحديد استخدام الوسم #foo للموظفين  

3. إنشاء مجموعة Bar

4. تعيين إشعار مراقبة للوسم #foo للمجموعة Bar

5. جعل مستخدم غير مميز ينضم إلى المجموعة Bar

6. وتغيير إشعاره الشخصي للوسم #foo إلى عادي

7. يجب أن يكون المستخدم غير المميز غير قادر على قراءة صفحة بعد الآن

أنا _أشتبه_ في أن هذا ما يحدث، حيث حدث مرتين لأشخاص مختلفين. الخطأ يسير كالتالي: [https://oxygen.offdem.net/logs/show/f70207d3affa8967932b9122d2be212b](https://oxygen.offdem.net/logs/show/f70207d3affa8967932b9122d2be212b)

ربما يكون العنوان محدودًا بعض الشيء. أعتقد أن الأمر يتعلق بتقييد الوسوم للمجموعات والإشعارات الشخصية.

---

_[View the full topic](https://meta.discourse.org/t/staff-tags-cause-duplicate-tag-index/292072)._
