Errores #4880
Actualizado por Santiago Ramos hace alrededor de 2 años
Al subir un documento de extension jfif se produce un error:
<pre>
[paperclip] Trying to link /usr/share/gong/gor/files//oei_erp/orden_pago/facturas/000/009/384/9384.jfif to /usr/share/gong/gor/tmp/bee8b2cc16ae69b1d21dfd4fa9dbf9ef20220922-40-yxi7qk.jfif
[paperclip] Link failed with Invalid cross-device link @ rb_file_s_link - (/usr/share/gong/gor/files//oei_erp/orden_pago/facturas/000/009/384/9384.jfif, /usr/share/gong/gor/tmp/bee8b2cc16ae69b1d21dfd4fa9dbf9ef20220922-40-yxi7qk.jfif); copying link /usr/share/gong/gor/files//oei_erp/orden_pago/facturas/000/009/384/9384.jfif to /usr/share/gong/gor/tmp/bee8b2cc16ae69b1d21dfd4fa9dbf9ef20220922-40-yxi7qk.jfif
Completed 500 Internal Server Error in 1235ms (ActiveRecord: 659.8ms)
NoMethodError (undefined method `content_type' for nil:NilClass):
app/models/documento.rb:156:in `check_content_type'
</pre>