Project

General

Profile

Actions

Bug #1755

closed

Foreman with postgre doesn't allow wide URLs for installation meda

Added by Jaroslav Henner over 11 years ago. Updated over 11 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
DB migrations
Target version:
Difficulty:
Triaged:
Fixed in Releases:
Found in Releases:

Description

PG::Error: ERROR: value too long for type character varying(100) : INSERT INTO "media" ("os_family", "config_path", "created_at", "updated_at", "name", "image_path", "media_path", "path") VALUES ('Redhat', '', '2012-07-16 12:36:15.489468', '2012-07-16 12:36:15.489468', 'RHEL', '', '', 'http://looong.paattthhh.at.corp.com/pub/rhel/fooo/baaar/$major.$minor/Server/$arch/os/') RETURNING "id"

It got fixed after making media.path varying(200). I think more than 200 should be allowed though.


Related issues 1 (0 open1 closed)

Has duplicate Foreman - Bug #1754: Foreman with postgre doesn'Closed07/16/2012Actions
Actions #1

Updated by Joseph Magen over 11 years ago

  • Status changed from New to Resolved

I created a migration and changed the limit for 100 to 255

Actions #2

Updated by Ohad Levy over 11 years ago

  • Category set to DB migrations
  • Assignee set to Joseph Magen
  • Priority changed from High to Normal
  • Target version set to 1.1
Actions

Also available in: Atom PDF