mirror of
https://github.com/wekan/wekan.git
synced 2026-11-24 09:59:47 -05:00
From IRC: a Jira import of 25 issues worked and one of 858 failed. The import boundary refused any document over 250,000 values, and a Jira search export carries some 250 per issue even without comments - mostly null custom fields, avatar URLs and status categories - so it stopped at under 1,000 issues, about 6 MB. The refusal was a plain Error, which the import page showed as "Internal server error". The cap is now four million values; a file over it is refused as import-too-large, which the page translates, with the limit as the reason. The import deadline was a flat two minutes whatever the file held; it is now WEKAN_IMPORT_TIMEOUT_MS plus half a second per record (models/lib/importDeadline.js), on the server and in the import page's watchdog alike. The Jira creator also collected the file's issue keys once per issue, which was quadratic. "Is there a way to convert an existing board into a template?" There was not: a board template could only be built inside the Templates board. Board menu / Save as Template (saveBoardAsTemplate) copies the board as a template board, private with the creator as its one member, and adds the linked card in the user's Templates / Board Templates swimlane that makes it a template. Board admins only, as Copy Board, and not offered on a board that already is a template. The new import-too-large string is translated into every language; the low-confidence ones are ace, ak, an, ay, bm, bo, bua, chr, csb, cv, dz, ee, ff, fj, fo, fur, gn, gv, haw, hsb, iu, kl, kok, ks, kw, lg, lld, nah, nap, nd, rm, rup, sah, sc, scn, se, ss, tig, tlh, to, ve, ve-PP, ve-CC, vo, wa, wa-RR, wal, wo, wuu-Hans and zgh. Thanks to xet7 ! Fixes #6792.