cozy / cozy-home-v2

This repository was part of CozyV2 which has been deprecated
https://blog.cozycloud.cc/post/2016/11/21/On-the-road-to-Cozy-version-3
GNU Affero General Public License v3.0
94 stars 53 forks source link

TypeError: Cannot read property 'localeCompare' of undefined #712

Closed clochix closed 8 years ago

clochix commented 8 years ago

Reported in the forum:

TypeError: Cannot read property 'localeCompare' of undefined(…) "TypeError:  Cannot read property 'localeCompare' of undefined
at ApplicationCollection.module.exports.ApplicationCollection.comparator (https://xxxxx.cozycloud.cc/javascripts/app.js:159:42)
at Array.sort (native)
at ApplicationCollection._.extend.sort (https://xxxxx.cozycloud.cc/javascripts/vendor.js:11443:21)
at ApplicationCollection._.extend.set (https://xxxxx.cozycloud.cc/javascripts/vendor.js:11340:22)
at ApplicationCollection._.extend.add (https://xxxxx.cozycloud.cc/javascripts/vendor.js:11255:19)
at ApplicationCollection._.extend.reset (https://xxxxx.cozycloud.cc/javascripts/vendor.js:11365:12)
at ApplicationCollection.Backbone.Collection (https://xxxxx.cozycloud.cc/javascripts/vendor.js:11224:22)
at ApplicationCollection.BaseCollection [as constructor] (https://xxxxx.cozycloud.cc/javascripts/app.js:521:49)
at new ApplicationCollection (https://xxxx.cozycloud.cc/javascripts/app.js:125:56)
at new HomeView (https://xxxxxx.cozycloud.cc/javascripts/app.js:10237:17)

Seems releted to 6c620a1 This is e blocking bug, as it prevents the Home application to start. @nono could you have a look at this one please?

poupotte commented 8 years ago

This issue should be fixed. Don't hesistate to reopen it if necessary.