Skip to content
Snippets Groups Projects
Unverified Commit ce12a739 authored by Olivier Dony's avatar Olivier Dony
Browse files

[FIX] base: remove early size limit on author field

The default size limits set in base.sql are eventually superseded by the
actual limits (or absence of) when the DB schema is synchronized with
the Python model definitions.

However the list of modules (name, authors, descriptions, dependencies)
is loaded before this can happen. The length of the author field is one
case that can easily crash the database bootstrap process at that point,
should a module with a long author name be present in the addons path.

After schema sync, that size limit is lifted entirely (although Odoo Apps
does limit the max author name length to 512 at the moment, to prevent
abuse).

Fixes #5850
parent 53bd1266
No related branches found
No related tags found
No related merge requests found
......@@ -85,7 +85,7 @@ CREATE TABLE ir_module_module (
website character varying(256),
summary character varying(256),
name character varying(128) NOT NULL,
author character varying(128),
author character varying,
icon varchar,
state character varying(16),
latest_version character varying(64),
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment