# Accidental duplicates due to missing zero-padding

**URL:** <https://speciforum.org/t/accidental-duplicates-due-to-missing-zero-padding/3318>\
**Category:** Get Help\
**Created:** [January 29, 2026, 2:03pm UTC](https://speciforum.org/t/accidental-duplicates-due-to-missing-zero-padding/3318 "2026-01-29T14:03:05Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![ZsPapp](https://avatars.discourse-cdn.com/v4/letter/z/977dab/32.png) [@ZsPapp](https://speciforum.org/u/ZsPapp)\
**Post date:** [January 29, 2026, 2:03pm UTC](https://speciforum.org/t/accidental-duplicates-due-to-missing-zero-padding/3318/1 "2026-01-29T14:03:05Z")

</div>

Hi there,  
occasionally our volunteers/interns produce the following situation, which prevents adding any new collection objects to our database.

They most likely edit or clone an object and somehow manage to save it without the leading zeros which creates duplication in our system.

 ![duplicate_no_leading_zeros](https://canada1.discourse-cdn.com/flex029/uploads/specifysoftware/original/2X/5/564d48caf33d3f666e4dfe987c9a327e0c7fad0c.jpeg)

We use the default `CatalogNumberNumeric` format, so it shouldn’t happen, but somehow it is still happening time to time and then it’s blocking the whole system, until we find and delete the duplicated catalog number without the leading zeros.

 ![default_catno_numeric_9digits](https://canada1.discourse-cdn.com/flex029/uploads/specifysoftware/original/2X/6/6208f3b14f894446329fa174730a6b12ec6b1ba5.jpeg)

It might be a bug or some misconfiguration on our end, either way it would be nice to prevent it in the future. 🙂

Let us know if you bumped into this problem before/you have an idea how to fix it!  
Thank you!  
/Zsuzsanna

[Specify 7 System Information - 2026-01-29T13\_51\_12.177Z.txt](https://speciforum.org/uploads/short-url/z2LQFvhkURuc9vbECt16BgDILzv.txt) (4.8 MB)

---

<div class="post-metadata">

**Author:** ![Grant](https://yyz1.discourse-cdn.com/flex029/user_avatar/speciforum.org/grant/32/4255_2.png) [@Grant](https://speciforum.org/u/Grant)\
**Post date:** [January 29, 2026, 4:03pm UTC](https://speciforum.org/t/accidental-duplicates-due-to-missing-zero-padding/3318/2 "2026-01-29T16:03:57Z")

</div>

Hi @ZsPapp,

Thanks for your screenshots and explanation! I am tracking this issue on GitHub now ([#7388](https://github.com/specify/specify7/issues/7388)) and I’ve added your report to it as well. We are still determining the best solution to resolve this.

From what I can tell, this is only possible when using ‘Carry Forward’ or ‘Clone.’ However, I cannot recreate the scenario in which this occurs. If you discover a consistent method for reproducing this, please let us know!

---

<div class="post-metadata">

**Author:** ![ZsPapp](https://avatars.discourse-cdn.com/v4/letter/z/977dab/32.png) [@ZsPapp](https://speciforum.org/u/ZsPapp)\
**Post date:** [February 6, 2026, 12:31pm UTC](https://speciforum.org/t/accidental-duplicates-due-to-missing-zero-padding/3318/3 "2026-02-06T12:31:07Z")

</div>

Thank you @Grant, for looking into this!  
I’m also not able to reproduce this error, since whenever I try to create a catalog number without padding zeros, it is automatically fixed to have the proper format.  
Though, some of our colleagues and interns managed to bump into this scenario several times. We keep on eye on it and let you know, if we have further information!
