New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The structure tool crashed: Error: Interpolations with formatters are not supported when using <Translate>. Found "orphanedMarks, list". #6003
Comments
I see this error was introduced #5804, I'm guessing there is a bug in the parsing logic somewhere: |
I have the same issue. It happened after I clicked "safe action" to add some missing marks in a block text. It corrupted my whole document and now I cannot revert the change. In the debugger, I can see this variable |
Fixes #6003 The `<Translate>` component currently does not support formatters, but I overlooked that the PTE was actually using one of these list formatters in their strings.
I had the same problem.
removing these 2 lines has fixed my issue. Hope this helps! |
This should be fixed in v3.36.1 - thanks for the patience 🙏 |
@rexxars seen that you fixed yesterday, however I've just also gotten the same error when opening a project in the studio. All other projects open except for that one. Versions used I'm using a Mac 14.4 |
I still encountered this issue in It seems like whatever is causing the crash was introduced in In For now, I fixed the affected document by downgrading to |
I also just encountered this bug in |
|
I was able to fix this by removing sanity from my package.json and deleting node_modules etc and then running But if I didn't remove it from package.json it was stuck on always installing Not sure if that even mattered but if it works it works lol. Hope this maybe helps someone else |
Describe the bug
When opening a document in our studio, the structure tool crashes with the following error:
To Reproduce
Steps to reproduce the behavior:
N/A as our studio is not public, and I don't know what in the document is causing Sanity to crash.
Expected behavior
The structure tool should not crash.
Screenshots
Which versions of Sanity are you using?
What operating system are you using?
macOS 14.3.1
Which versions of Node.js / npm are you running?
The text was updated successfully, but these errors were encountered: