Saltar al contenido principal

Configuración de cookies

Utilizamos cookies para asegurar las funcionalidades básicas del sitio web y para mejorar tu experiencia en línea. Puedes configurar y aceptar el uso de las cookies, y modificar tus opciones de consentimiento en cualquier momento.

Esenciales

Preferencias

Analíticas y estadísticas

Marketing

This proposal has been implemented

  • Reviewed by @product and accepted in the main project
  • Developed by Mainio Tech
  • Available in release 0.25 via #7421

Change XLS exports to XLSX (XLS worksheets limited to 65,536 rows)

Avatar: AH AH Main repo (merged)
Currently the Excel exporter depends on the "spreadsheet" gem: https://github.com/decidim/decidim/blob/63807de254164d47df2073baef5bc9e474063f02/decidim-core/lib/decidim/exporters/excel.rb This gem only exports to XLS-format and will never implement XLSX, as mentioned here: https://github.com/zdavatz/spreadsheet/issues/193 The problem with the legacy XLS format is that it is limited to 65,536 rows per worksheet, see e.g.: https://superuser.com/a/366473 I suggest to change the "spreadsheet" dependency to something that writes XLSX instead, e.g. the rubyXL gem suggested in the linked GitHub issue above. The change should be rather simple because of the simplicity of the exporter code. I believe the "spreadsheet" gem dependency is not used anywhere else than in the linked exporter.
Comentario

Confirmar

Por favor, inicia la sesión

La contraseña es demasiado corta.

Compartir