-
Notifications
You must be signed in to change notification settings - Fork 2.7k
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
v15rc: Error when trying to save/publish with new RTE with a large amount of text #17460
Comments
Hi there @tristanjthompson! Firstly, a big thank you for raising this issue. Every piece of feedback we receive helps us to make Umbraco better. We really appreciate your patience while we wait for our team to have a look at this but we wanted to let you know that we see this and share with you the plan for what comes next.
We wish we could work with everyone directly and assess your issue immediately but we're in the fortunate position of having lots of contributions to work with and only a few humans who are able to do it. We are making progress though and in the meantime, we will keep you in the loop and let you know when we have any questions. Thanks, from your friendly Umbraco GitHub bot 🤖 🙂 |
Update! Looks like this is to do with the column it's saved in being too small rather than it being specifically to do with the block. After chatting with Ravi I had a look in the So this is likely nothing to do with blocks, but maximum length of the data being stored. To verify this, I removed the block and added a long chunk of text longer than 512 chars and could see the same error when I tried to save. SQL TableSaving with large chunk of text |
Thanks for reporting. This is also fixed in #17430. I just confirmed i cannot reproduce after this change, but can before. |
Which Umbraco version are you using? (Please write the exact version, example: 10.1.0)
15.0.0-rc3
Bug summary
When I add a block into the new RTE and try to save a document, I get an error.New RTE is saving to the wrong column in the database - it's using
varcharValue
which is limited to 512 chars instead oftextValue
which usesnvarchar(max)
Specifics
No response
Steps to reproduce
Edit - ignore the below - simply try to save a long piece of text (e.g more than 512 chars) in the new RTE - see my extra comment on the issue
Expected result / actual result
Expected result: Saves & publishes successfully
Actual: Receive an error notification saying "Unknown error. Please see the log for more details.
A fatal server error occurred. If this continues, please reach out to your administrator."
Looking in the logs, I can see this error - given it's SQL, maybe it's specific to SQL Express?
Microsoft.Data.SqlClient.SqlException (0x80131904): String or binary data would be truncated in table 'D:\\WORKING.GIT\\TRISTANJTHOMPSON\\UMBRACO-V15\\SRC\\UMBRACOV15\\UMBRACO\\DATA\\UMBRACO.MDF.dbo.umbracoPropertyData
Full exception
Notification
The text was updated successfully, but these errors were encountered: