Project

General

Profile

Bug #12907

Description field causes failure when input values longer than 'string'

Added by Stephen Benjamin over 6 years ago. Updated about 4 years ago.

Status:
Closed
Priority:
High
Assignee:
Category:
Foreman
Difficulty:
Triaged:
Bugzilla link:
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

Revision d20a054b (diff)
Added by Adam Ruzicka over 6 years ago

Fixes #12907 - Truncates too long descriptions

Revision 60ca82ac
Added by Marek Hulán over 6 years ago

Merge pull request #97 from adamruzicka/fix/12907-truncate-descriptions

Fixes #12907 - Truncates too long descriptions

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

Also available in: Atom PDF