Bug #12907
Description field causes failure when input values longer than 'string'
Status:
Closed
Priority:
High
Assignee:
Category:
Foreman
Target version:
Fixed in Releases:
Found in Releases:
Description
Description should be truncated.
PG::StringDataRightTruncation: ERROR: value too long for type character varying(255) : UPDATE "job_invocations" SET "description" = 'Run Command with inputs command="hostname -f #xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"' WHERE "job_invocations"."id" = 231
Associated revisions
History
#1
Updated by The Foreman Bot over 6 years ago
- Status changed from New to Ready For Testing
- Assignee set to Adam Ruzicka
- Pull request https://github.com/theforeman/foreman_remote_execution/pull/97 added
#2
Updated by Marek Hulán over 6 years ago
- Legacy Backlogs Release (now unused) set to 109
#3
Updated by Adam Ruzicka over 6 years ago
- Status changed from Ready For Testing to Closed
- % Done changed from 0 to 100
Applied in changeset foreman_plugin|d20a054bf448409be84802fc2afcaf9323af9d44.
Fixes #12907 - Truncates too long descriptions