Tangerine-Community / Tangerine

Digitize your offline data collection. Create your Forms online with Tangerine Editor, conduct them offline with the Tangerine Android App. All results you collect can be exported as a CSV file, easy for processing in a spreadsheet. Tangerine has been used in over 1 million assessments and surveys in over 60 countries and in 100 languages.
http://www.tangerinecentral.org/
GNU General Public License v3.0
48 stars 30 forks source link

Error when creating new group in UI or via CLI #3664

Open chrisekelley opened 7 months ago

chrisekelley commented 7 months ago

Current version: v3.30.1

Error:

Updating search index for group group-e49d0a2f-7279-4b14-bef0-e84531aa50a9

(node:59) UnhandledPromiseRejectionWarning: TypeError: Cannot read property 'shouldIndex' of undefined
    at /tangerine/server/src/scripts/update-group-search-index.js:13:36
    at Array.reduce (<anonymous>)
    at /tangerine/server/src/scripts/update-group-search-index.js:12:46
    at Generator.next (<anonymous>)
    at fulfilled (/tangerine/server/src/scripts/update-group-search-index.js:5:58)
chrisekelley commented 7 months ago

So weird this is popping up now. We faced the same issue three years ago with this issue: https://github.com/Tangerine-Community/Tangerine/pull/2474