Skip to content

Hotfix no structure

Lionel Morin requested to merge hotfix-no-structure into dev

Crash when user with no structure in utils :

updating structure of 364 mezigs...
/opt/bundle/bundle/programs/server/node_modules/fibers/future.js:280
						throw(ex);
						^

TypeError: Cannot read property 'structure' of undefined
    at imports/api/utils.js:121:16
    at Array.forEach (<anonymous>)
    at updateAllStructures (imports/api/utils.js:119:29)
    at server/main.js:85:5
    at packages/meteor.js:365:18
    at Function.time (/opt/bundle/bundle/programs/server/profile.js:251:30)
    at /opt/bundle/bundle/programs/server/boot.js:398:15
    at /opt/bundle/bundle/programs/server/boot.js:440:7
    at Function.run (/opt/bundle/bundle/programs/server/profile.js:256:14)
    at /opt/bundle/bundle/programs/server/boot.js:438:13```

Merge request reports

Loading