gareth
April 23, 2020, 1:35am
1
The latest version of the medic-conf CLI tool is now available on npm .
New features include prompting before overwriting configuration, only uploading configuration if it’s changed, and a new bulk-edit contacts action. We also fixed a range of bugs.
Read the release notes for full details.
4 Likes
Max
May 19, 2020, 1:28pm
2
Medic-conf 3.2.1 was released (thanks @gareth !) . This fixes one bug where task generation would fail for reports with no contact.
opened 11:09PM - 12 May 20 UTC
closed 08:37PM - 17 May 20 UTC
Type: Bug
Priority: 1 - High
To reproduce
1. Upload declarative configuration with a task that has `applie… sToType` defined
2. Create a report that doesn't have an associated person or place
3. Load the tasks tab
4. Error loading tasks
```
inbox.js?_sw-precache=efde4a014d3edf17f489717a82f889b2:3 Error getting tasks for all contacts TypeError: Cannot read property 'type' of undefined
at i (eval at <anonymous> (inbox.js?_sw-precache=efde4a014d3edf17f489717a82f889b2:3), <anonymous>:5:15288)
at e.exports (eval at <anonymous> (inbox.js?_sw-precache=efde4a014d3edf17f489717a82f889b2:3), <anonymous>:5:17014)
at Object.eval (eval at <anonymous> (inbox.js?_sw-precache=efde4a014d3edf17f489717a82f889b2:3), <anonymous>:5:6054)
at n (eval at <anonymous> (inbox.js?_sw-precache=efde4a014d3edf17f489717a82f889b2:3), <anonymous>:5:397)
at eval (eval at <anonymous> (inbox.js?_sw-precache=efde4a014d3edf17f489717a82f889b2:3), <anonymous>:5:1189)
at n.anonymous (eval at <anonymous> (inbox.js?_sw-precache=efde4a014d3edf17f489717a82f889b2:3), <anonymous>:5:1198)
at n.fire (inbox.js?_sw-precache=efde4a014d3edf17f489717a82f889b2:3)
at n.fireNext (inbox.js?_sw-precache=efde4a014d3edf17f489717a82f889b2:3)
at n.callNext (inbox.js?_sw-precache=efde4a014d3edf17f489717a82f889b2:3)
at u (inbox.js?_sw-precache=efde4a014d3edf17f489717a82f889b2:3)
```
This is a supported use case and elsewhere in the code we handle it gracefully.