SYP-AHIF-2023-24-25 / SolarDoc

SolarDoc for creating beautiful presentations with your colleagues in your browser using AsciiDoc 🌌✨
http://solardoc.htl-leonding.ac.at
GNU General Public License v3.0
3 stars 1 forks source link

Can't upload file if the content is too large #202

Closed Luna-Klatzer closed 2 months ago

Luna-Klatzer commented 2 months ago

Currently, when attempting to upload a file to the server PostgreSQL returns an error indicating the content is too large (>255). This is an anomaly though because when editing a file normally this error does not happen and any length of file is accepted by the database.

Error:

ERROR 22001 (string_data_right_truncation) value too long for type character varying(255)
Luna-Klatzer commented 2 months ago

We thank Phoenix for literally saving us. Praise the Phoenix and Elixir gods for their high-performance caches. 💜

Luna-Klatzer commented 2 months ago

Related to #193, caused almost certainly by the same DB error.

Luna-Klatzer commented 2 months ago

Fixed by #207.