Database triggers on Version objects throws numeric or value error: character string buffer too small error
Last updated 2020-10-19 ·Reference W-8032187 ·Reported By 1 users
When a user tries to insert or update a string longer than 765 bytes (even lesser number of characters) on Content Version an error would be thrown as Insert and Update triggers on Content.Version limits field length to 765 bytes.
Error message :
Cause0: java.sql.SQLException: ORA-06502: PL/SQL: numeric or value error: character string buffer too small
Steps To Reproduce:
1. Login to the org
2. Upload a new file.
3. Navigate to the File and and click on Edit File Details.
4. Set the Description field to a 1000 (English) character string.
5. Click on Save. Note the error.
Reported By (1)
Is it Fixed?
Any unreleased services, features, statuses, or dates referenced in this or other public statements are not currently available and may not be delivered on time or at all. Customers who purchase our services should make their purchase decisions based upon features that are currently available.