When a CP user duplicates a list in the CMS, the new list's reference property is not updated to a fresh value but instead keeps the value from the original list. This can cause issues when querying lists by reference.
I would expect the reference to always be unique.
Steps to reproduce
Create a new list, of any type.
Edit the list in the CMS and note its reference value.
Duplicate the list in the element index page, using the standard Craft element action menu.
Edit the new duplicate list element and note that its reference value is the same as the original list.
Describe the bug
When a CP user duplicates a list in the CMS, the new list's
reference
property is not updated to a fresh value but instead keeps the value from the original list. This can cause issues when querying lists by reference.I would expect the reference to always be unique.
Steps to reproduce
reference
value.reference
value is the same as the original list.Craft CMS version
4.4.14
Plugin version
2.0.5
Multi-site?
No
Additional context
No response