Comments (5)
Hey @JessChowdhury, thanks for taking a look at this issue. I have created a stripped back version of my project as requested here, which of course contains package.json
etc: https://github.com/joedawson/block-duplicate-repro
To answer your questions:
- I followed the breaking changes in the
3.0.0-beta.36
release to bump all next, react dependencies etc. along with all payload3.0.0-beta.36
dependencies. - I use
pnpm i
to install/reinstall all dependencies - If I build my application
pnpm run build && pnpm run start
- I do not experience the issue, however if I just run the dev server I do experience the issuepnpm run dev
In short, I experience the duplicate issue I originally reported only when running my dev server.
Let me know if you need any more details - thanks!
from payload.
@joedawson I am unable to reproduce this issue, I tried with both postgres and mongodb. Could you create a repo that I can clone down to ensure we are seeing the same thing? I would also try recreating this in the simplest collection you possibly can.
Thanks!
from payload.
@JarrodMFlesch thanks for the response. Not able to replicate it either after forking and copying over my collections (hooks included), config etc.
I just upgraded the project I worked on at the time of reporting this issue to the latest beta (3.0.0-beta.36
) but the issue is still happening in my project.
It's worth noting, this does only appear to happen locally and not when deployed (I'm deploying to Vercel). I've also tried:
- Running
payload migrate:fresh
- deleted all
node_modules
, lock files etc. and reinstalled everything - deleted
.next
directory - tested multiple browsers (cleared caches etc)
Anything else I can maybe try that I may have missed?
from payload.
Hi @joedawson - I've tested this with version beta.32
as you reported and can confirm the behavior. However, this does appear to be resolved on the latest beta 3.0.0-beta.36
.
Could I take a look at your package.json
file?
A few things that would be worth a check:
- Are all Payload dependencies updated to
3.0.0-beta.36
? - Did you reinstall the dependencies after updating?
pnpm i
oryarn install
- Did you rebuild your project after updating?
If you are still seeing this bug in your project with 3.0.0-beta.36
, please provide us with a stripped back version of your project to help us troubleshoot - essentially this is just a duplicate of your project removing anything sensitive or non-essential.
from payload.
@joedawson thank you for the reproduction! I was finally able to recreate this bug by enabling reactStrictMode: true
in the next.config.
Fix opened in this PR.
from payload.
Related Issues (20)
- Exception when filtering by polymorphic relationship field, and collection has drafts enabled
- Can't get VSCode debugging to work HOT 1
- Missing /wrong collection parameter in access control functions
- Adding an ID into the data object on a "create" operation does not respect the ID inputted
- Images with INVALID_IMAGE_OPTIMIZE_REQUEST in Vercel deploy HOT 6
- Doesn't show popup when adding a new document on relationship field with autosave enabled
- Performance problems with collections listview and api
- Upload collections don't use gallery view
- React Datepicker showing white background in theme dark mode.
- Email Header issue HOT 3
- Duplicate identifier 'GeneratedTypes'.ts(2300) in blank project HOT 8
- Getting error when using search plugin HOT 3
- db-postgres: `is like` filter condition does case-insensitive text search and the result is equivalent to `contains` filter
- SVG favicon not supported by Safari
- Overwriting file uploads doesn't update URL HOT 2
- req.locale incorrect for access control functions
- No additional image sizes are generated on image upload while using "imageSizes" HOT 2
- Update Unlock Documentation to Include Email Parameter
- 504 Gateway Timeout with Form Fields large data
- [UI] Document deletion modal: Content misalignment
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from payload.