-
-
Notifications
You must be signed in to change notification settings - Fork 4.7k
fix(TaskProcessing): increase error_message column length #47801
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
Conversation
|
There needs to be a Version31000 migration for NC 31, yes? |
I don't think so 🤔 |
|
Ah, this is for stable30? |
|
Would perhaps be better to submit this PR against master and then backport? |
Yup, now that a separate PR is not required. |
ee2329a to
0a01b99
Compare
|
oops, sorry, changed base branch 🙈 |
0a01b99 to
0812054
Compare
provokateurin
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
All the composer changes need to be reverted (except for the autoload_*.php ones)
Signed-off-by: Anupam Kumar <[email protected]>
Signed-off-by: Anupam Kumar <[email protected]>
0812054 to
31a983a
Compare
|
done, thanks Kate! |
|
/backport to stable30 |
| use OCP\Migration\IOutput; | ||
| use OCP\Migration\SimpleMigrationStep; | ||
|
|
||
| #[ModifyColumn(table: 'taskprocessing_tasks', name: 'error_message', description: 'Increase column length to 4000 bytes to support longer error messages')] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
💙
Summary
Increase the length of the error message that can be stored and truncate it before updating the db.
And make the errors more visible since the previous error message was masked by throwing from an exception.
Checklist