Aquest lloc web fa servir cookies pròpies i de tercers per millorar l’experiència de navegació, i oferir continguts i serveis d’interès. En continuar la navegació entenem que acceptes la nostra política de cookies. Per a més informació consulta aquí.
Vés al contingut principal
Logo oficial de Metadecidim
  • Català Triar la llengua Elegir el idioma Choose language
    • Castellano
    • English
Registra't Entra
  • Inici
  • Processos
  • Assemblees
  • Iniciatives
  • Consultes
  • Jornades
  • Ajuda

Proposa noves funcionalitats

#DecidimRoadmap Dissenyant el Decidim entre totes

Fase 1 de 1
Obert 01-01-2019 - 31-12-2030
Veure les fases Envia una proposta
  • El procés
  • Debats
  • Proposa noves funcionalitats
  • Novetats
chevron-left Torna al llistat

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

Avatar: Antti Hukkanen Antti Hukkanen
13/11/2019 08:50  

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.

  • Resultats al filtrar per la categoria: Altres Altres

Llistat d'adhesions

Avatar: Carol Romero Carol Romero verified-badge
Avatar: Pauline Bessoles Pauline Bessoles verified-badge
Avatar: Pierre Mesure Pierre Mesure verified-badge
Número d'adhesions3
Change XLS exports to XLSX (XLS worksheets limited to 65,536 rows) Comentaris 0

Referència: MDC-PROP-2019-11-14921
Versió 1 (de 1) veure altres versions
Verifica l'empremta digital

Empremta digital

El text següent és una representació abreviada i hashejada d'aquest contingut. És útil per garantir que el contingut no hagi estat alterat, ja que una única modificació provocaria un valor totalment diferent.

Valor: 555c1d969e5bf5b1eba6c3e95c9ab2df59a1d427f867df47399f4a4356cebaf6

Origen: {"body":{"en":"Currently the Excel exporter depends on the \"spreadsheet\" gem:\r\nhttps://github.com/decidim/decidim/blob/63807de254164d47df2073baef5bc9e474063f02/decidim-core/lib/decidim/exporters/excel.rb\r\n\r\nThis gem only exports to XLS-format and will never implement XLSX, as mentioned here:\r\nhttps://github.com/zdavatz/spreadsheet/issues/193\r\n\r\nThe problem with the legacy XLS format is that it is limited to 65,536 rows per worksheet, see e.g.:\r\nhttps://superuser.com/a/366473\r\n\r\nI suggest to change the \"spreadsheet\" dependency to something that writes XLSX instead, e.g. the rubyXL gem suggested in the linked GitHub issue above.\r\n\r\nThe 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."},"title":{"en":"Change XLS exports to XLSX (XLS worksheets limited to 65,536 rows)"}}

Aquesta empremta digital es calcula mitjançant un algoritme de hash SHA256. Per reproduir-lo tu mateix, pots utilitzar una Calculadora MD5 en línia i copiar-hi les dades d'origen.

Compartir:

link-intact Compartir l'enllaç

Compartir l'enllaç:

Si us plau, enganxa aquest codi a la teva pàgina:

<script src="https://meta.decidim.org/processes/roadmap/f/122/proposals/14921/embed.js?locale=ca"></script>
<noscript><iframe src="https://meta.decidim.org/processes/roadmap/f/122/proposals/14921/embed.html?locale=ca" frameborder="0" scrolling="vertical"></iframe></noscript>

Reportar contingut inapropiat

Aquest contingut no és apropiat?

Motiu

0 comentaris

Ordenar per:
  • Més antic
    • Més ben valorats
    • Recent
    • Més antic
    • Més discutit

Deixa el teu comentari

Inicia la sessió amb el teu compte o registra't per afegir el teu comentari.

Carregant els comentaris ...

  • Termes i condicions d'ús
  • Sobre la comunitat
  • Descarrega els fitxers de dades obertes
  • Metadecidim a Twitter Twitter
  • Metadecidim a Instagram Instagram
  • Metadecidim a YouTube YouTube
  • Metadecidim a GitHub GitHub
Amb llicència Creative Commons Web creada amb programari lliure.
Logo Decidim

Confirmar

D'acord Cancel·lar

Si us plau, inicia sessió

decidim Inicia sessió amb Decidim
O

Registra't

Has oblidat la teva contrasenya?