You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If you try and create a sandbox with a name that is longer than the limit, instead of a human friendly error message you get: Internal Server Error: (psycopg2.DataError) value too long for type character varying(32) [SQL: "INSERT INTO branch (id, branch_type, name, compiler, is_sync_valid, autosync, owner_id, formats, creation_date, comments) VALUES (nextval('branch_id_seq'), %(branch_type)s, %(name)s, %(compiler)s, %(is_sync_valid)s, %(autosync)s, %(owner_id)s, %(formats)s, %(creation_date)s, %(comments)s) RETURNING branch.id"] [parameters: {'is_sync_valid': True, 'name': 'gocdbdatabaseserverthatffffingworks', 'autosync': True, 'comments': None, 'creation_date': datetime.datetime(2019, 3, 18, 14, 12, 7, 394929), 'formats': None, 'owner_id': 13, 'branch_type': 'sandbox', 'compiler': '/var/quattor/panc/panc-10.7-jar-with-dependencies.jar'}]
The text was updated successfully, but these errors were encountered:
joaocosta
pushed a commit
to joaocosta/aquilon
that referenced
this issue
Jan 13, 2025
…templates.
Merge in AQUILON_AQD/aqd from ~PRIYAJ/aquilon.aqd:priyaj/for_review/fix_tests to master
* commit 'cc9c9400132b5fdbf48b491408e99dbe82e1ec01':
Fix tests failing due to removal of old os templates.
If you try and create a sandbox with a name that is longer than the limit, instead of a human friendly error message you get:
Internal Server Error: (psycopg2.DataError) value too long for type character varying(32) [SQL: "INSERT INTO branch (id, branch_type, name, compiler, is_sync_valid, autosync, owner_id, formats, creation_date, comments) VALUES (nextval('branch_id_seq'), %(branch_type)s, %(name)s, %(compiler)s, %(is_sync_valid)s, %(autosync)s, %(owner_id)s, %(formats)s, %(creation_date)s, %(comments)s) RETURNING branch.id"] [parameters: {'is_sync_valid': True, 'name': 'gocdbdatabaseserverthatffffingworks', 'autosync': True, 'comments': None, 'creation_date': datetime.datetime(2019, 3, 18, 14, 12, 7, 394929), 'formats': None, 'owner_id': 13, 'branch_type': 'sandbox', 'compiler': '/var/quattor/panc/panc-10.7-jar-with-dependencies.jar'}]
The text was updated successfully, but these errors were encountered: