Closed iromli closed 2 years ago
When using MySQL, this is how oxDocument.document column described:
oxDocument.document
mysql> show columns in oxDocument where Field = 'document'; +----------+-------------+------+-----+---------+-------+ | Field | Type | Null | Key | Default | Extra | +----------+-------------+------+-----+---------+-------+ | document | varchar(64) | YES | | NULL | | +----------+-------------+------+-----+---------+-------+
Unfortunately, varchar(64) is not sufficient for oxDocument.document as this column may holds big string, i.e. SAML metadata.
varchar(64)
To reproduce the issue:
DB
check error in oxTrust logs
Caught MysqlDataTruncation for insert into gluu.oxDocument (creationDate, description, displayName, document, inum, oxEnabled, oxModuleProperty, objectClass, dn, doc_id)
I looked sample metadata, it's length is more than 4.5K, so it will be TEXT type
When using MySQL, this is how
oxDocument.document
column described:Unfortunately,
varchar(64)
is not sufficient foroxDocument.document
as this column may holds big string, i.e. SAML metadata.To reproduce the issue:
DB
in Document store Type dropdown.check error in oxTrust logs