From 75dba605ffce8af7c07e9d0cb0838c053cb20fb2 Mon Sep 17 00:00:00 2001 From: Ana Garcia Date: Tue, 21 Jul 2026 16:36:09 +0200 Subject: [PATCH 1/2] fix(modules): scope legacy app tutorials to the DHIS2 versions that ship those apps The Data Entry, Tracker Capture and Pivot Tables modules point at apps that are no longer part of the DHIS2 core: dhis-web-pivot was folded into Data Visualizer in 2.37, and dhis-web-dataentry and dhis-web-tracker-capture were retired in 2.42. On newer instances the tutorial iframe loads a 404. Their dhisAuthorities may also no longer be granted there, in which case list() filters the module out for non-superusers too. Set dhisVersionRange on each so validateDhisVersion marks them incompatible beyond their last supported release, which hides them from the landing page while keeping them listed in Settings with a warning. Bump their revision so instances that already imported them pick up the change on next load. No tutorial content, launch URL or authority is modified: all remain correct for the versions each module is now scoped to. --- public/modules/config.json | 6 +++--- public/modules/data-entry.zip | Bin 751471 -> 751530 bytes public/modules/pivot-tables.zip | Bin 946111 -> 946145 bytes public/modules/tracker-capture.zip | Bin 1821216 -> 1821275 bytes 4 files changed, 3 insertions(+), 3 deletions(-) diff --git a/public/modules/config.json b/public/modules/config.json index 7c3925fb..3d993294 100644 --- a/public/modules/config.json +++ b/public/modules/config.json @@ -1,13 +1,13 @@ { "modules": [ { "id": "dashboards", "revision": 7 }, - { "id": "data-entry", "revision": 7 }, + { "id": "data-entry", "revision": 8 }, { "id": "event-capture", "revision": 7 }, { "id": "event-visualizer", "revision": 7 }, { "id": "data-visualizer", "revision": 7 }, - { "id": "pivot-tables", "revision": 7 }, + { "id": "pivot-tables", "revision": 8 }, { "id": "maps", "revision": 7 }, { "id": "bulk-load", "revision": 7 }, - { "id": "tracker-capture", "revision": 7 } + { "id": "tracker-capture", "revision": 8 } ] } diff --git a/public/modules/data-entry.zip b/public/modules/data-entry.zip index addd36529641eda41c7563c37e48a5f425b1feba..dce787b23b032e0be17cc6c60e28cd5699b64f24 100644 GIT binary patch delta 341 zcmaF=PIuLNU5Nm1W)?065D3+O7NoWL{&Y8ftUk`If0mKySo9mkFyktIbhRa#Pqer+3b9YW4UuD>E>a3sls4TL$N(yOaB6ycDOgeN^!*UI z^65VyjH%NN%fPCer)NPJUDFps7~0eCKp4)`Ma#hk-SwI7UkQ9w6r3?r6xD zY9)nYE!Z&-qJeSxfo#42#-!B%t0oP0i6wjJ4gK(_(_`LS4b delta 293 zcmaEO-*W$bOYs12W)?065XjPh7G&wBc!QN*Zny&^RTq1#n`bwCZ$@96l{Zhv~*Se1^;n z3@OvobNI}F4EE^@APleRHzADp=|Z_+DZ%O95XPzLEf7Y~^t}*9_w;W-1`7kj2ZiYd zd3>fogWRWQ_&rPV@8(*O<95Dim^!ZbqqUCt60d-}gOxGz&t&=9djRQ0uBR^<_AEdGL)`o?`#m^|G;Q|;Da)ZEki*k<7&FHotuhst~=r(mnm27Wl=#}{EX+;WN?Rc=vH+hgKKYf{4&WdW#{rr; o9v~a)q*fhU4VmMazYfk>yi^(yHyKrQbnIf~P0l1*uadvu4`!=~Jpcdz From 3808870d1db1728bf2de440b70a93f7c0dd65646 Mon Sep 17 00:00:00 2001 From: Ana Garcia Date: Mon, 10 Aug 2026 12:50:13 +0200 Subject: [PATCH 2/2] fix(modules): add DHIS2 2.43 to the compatible versions selector The version selector stopped at 2.42, so modules with an explicit version range could not be marked compatible with 2.43 and were hidden on v43 instances. --- .../components/module-creation-wizard/steps/GeneralInfoStep.tsx | 1 + 1 file changed, 1 insertion(+) diff --git a/src/webapp/components/module-creation-wizard/steps/GeneralInfoStep.tsx b/src/webapp/components/module-creation-wizard/steps/GeneralInfoStep.tsx index 271cd1c8..82396e26 100644 --- a/src/webapp/components/module-creation-wizard/steps/GeneralInfoStep.tsx +++ b/src/webapp/components/module-creation-wizard/steps/GeneralInfoStep.tsx @@ -186,4 +186,5 @@ const dhisVersions = [ { value: "2.40", text: "2.40" }, { value: "2.41", text: "2.41" }, { value: "2.42", text: "2.42" }, + { value: "2.43", text: "2.43" }, ];