Presets - duplicated users & crashes when opening preset list
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 35/100
- Issue type
- Bug
- Clarity
- Mostly clear
- Activity status
- Stale
- Tech stack
- nextjs, react, typescript
- Domain
- frontend
Research direction
Start by running the linked steepnicki/payload-preset-bugs reproduction repository with the listed Payload, Next.js, React, and MongoDB environment, then reproduce each of the three preset scenarios in the UI. Done means users are not duplicated after saves, presets using the "IS IN" condition open without crashing, and links remain clickable after duplicating a preset.
Written by the indexing model from the issue text.
Description
Describe the Bug
Bug no. 1 - Duplicated users - when editing a preset and adding or removing a user from the access list, currently logged in user will be appended to the users list after every save
Bug no. 2 - Preset with "IS IN" conditional - when creating a preset which uses "IS IN" conditional, after saving and trying to open the list of presets, crashes occurs
Bug no. 3 - Duplicating a preset causes no links to be clickable after duplicating
In my reproduction repo I have added a script which automatically creates the mock data in the database on app launch. This includes the presets that are experiencing issues.
Link to the code that reproduces this issue
https://github.com/steepnicki/payload-preset-bugs
Reproduction Steps
1 - Duplicated users - edit preset, add or remove a user from the access list. Currently logged in user will be appended to the users list after every save
2 - Create a preset with "IS IN" conditional, save, and open the list with presets
3 - Duplicate a preset, be navigated back to the list, observe that no links are clickable in the list
Which area(s) are affected?
area: ui
Environment Info
Binaries:
Node: 22.14.0
npm: 10.9.2
Yarn: 1.22.22
pnpm: 10.30.0
Relevant Packages:
payload: 3.56.0
next: 15.5.8
@payloadcms/db-mongodb: 3.56.0
@payloadcms/email-nodemailer: 3.56.0
@payloadcms/graphql: 3.56.0
@payloadcms/next/utilities: 3.56.0
@payloadcms/plugin-cloud-storage: 3.56.0
@payloadcms/richtext-lexical: 3.56.0
@payloadcms/storage-s3: 3.56.0
@payloadcms/translations: 3.56.0
@payloadcms/ui/shared: 3.56.0
react: 19.1.3
react-dom: 19.1.3
Operating System:
Platform: darwin
Arch: arm64
Version: Darwin Kernel Version 25.3.0: Wed Jan 28 20:49:24 PST 2026; root:xnu-12377.81.4~5/RELEASE_ARM64_T8132
Available memory (MB): 32768
Available CPU cores: 10
- Dominant language
- TypeScript
- Stars
- 44.8k
- Forks
- 4.2k
- Avg merge
- 2d 21h
- Merged PRs (30d)
- 53
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from payloadcms/payload
-
area: ui Bug status: needs-triage v3
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
payloadcms/payload#18215 · 1 comment ·
-
Bug
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
payloadcms/payload#18163 ·
-
Bug
Difficulty 2/5 1-3 hours Newbie friendliness 85/100
payloadcms/payload#18161 ·
-
area: core Bug
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
payloadcms/payload#18072 ·
-
Bug
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
payloadcms/payload#18067 · 1 comment ·
All issues in payloadcms/payload
Similar issues
-
clawsweeper:fix-shape-clear clawsweeper:queueable-fix clawsweeper:source-repro impact:ux-friction issue-rating: 🦞 diamond lobster no-stale P3
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
-
community first-timers-only good first issue hacktoberfest help wanted low hanging fruit up-for-grabs
Difficulty 1/5 Under an hour Newbie friendliness 76/100
-
code-quality refactoring
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
github/gh-aw-firewall#8816 ·
-
integration:quickjs org:external priority:backlog topic:code-interpreter topic:middleware type:feature
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
langchain-ai/deepagents#6450 ·
-
Difficulty 1/5 Under an hour Newbie friendliness 88/100
vercel/react-tweet#225 ·