Uploaded image for project: 'BookBrainz'
  1. BookBrainz
  2. BB-34

after creating artist. page locks up with error

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Normal Normal
    • May 2015
    • None
    • Site Interface
    • None

      /home/bookbrainz/bookbrainz/site/views/entity/view/creator.jade:21 19| code='r'entity.master_revision_id 20| if entity.aliases.aliases > 21| =entity.aliases.aliases[0].name 22| |  23| if entity.disambiguation.disambiguation 24| small='('+entity.disambiguation.disambiguation.comment')' Cannot read property 'name' of undefined

      TypeError: /home/bookbrainz/bookbrainz/site/views/entity/view/creator.jade:21
      19| code='r'+entity.master_revision_id
      20| if entity.aliases.aliases
      > 21| =entity.aliases.aliases[0].name
      22| | 
      23| if entity.disambiguation.disambiguation
      24| small='('entity.disambiguation.disambiguation.comment')'

      Cannot read property 'name' of undefined
      at eval (eval at <anonymous> (/home/bookbrainz/bookbrainz/site/node_modules/jade/lib/jade.js:174:8), <anonymous>:622:70)
      at eval (eval at <anonymous> (/home/bookbrainz/bookbrainz/site/node_modules/jade/lib/jade.js:174:8), <anonymous>:1102:22)
      at res (/home/bookbrainz/bookbrainz/site/node_modules/jade/lib/jade.js:175:38)
      at Object.exports.render (/home/bookbrainz/bookbrainz/site/node_modules/jade/lib/jade.js:300:10)
      at Object.exports.renderFile (/home/bookbrainz/bookbrainz/site/node_modules/jade/lib/jade.js:336:18)
      at View.exports.renderFile [as engine] (/home/bookbrainz/bookbrainz/site/node_modules/jade/lib/jade.js:321:21)
      at View.render (/home/bookbrainz/bookbrainz/site/node_modules/express/lib/view.js:76:8)
      at Function.app.render (/home/bookbrainz/bookbrainz/site/node_modules/express/lib/application.js:527:10)
      at ServerResponse.res.render (/home/bookbrainz/bookbrainz/site/node_modules/express/lib/response.js:900:7)
      at /home/bookbrainz/bookbrainz/site/routes/entity/view/view.js:51:8
      at tryCatcher (/home/bookbrainz/bookbrainz/site/node_modules/bluebird/js/main/util.js:24:31)
      at Promise._settlePromiseFromHandler (/home/bookbrainz/bookbrainz/site/node_modules/bluebird/js/main/promise.js:483:31)
      at Promise._settlePromiseAt (/home/bookbrainz/bookbrainz/site/node_modules/bluebird/js/main/promise.js:562:18)
      at Promise._settlePromiseAtPostResolution (/home/bookbrainz/bookbrainz/site/node_modules/bluebird/js/main/promise.js:238:10)
      at Async._drainQueue (/home/bookbrainz/bookbrainz/site/node_modules/bluebird/js/main/async.js:84:12)
      at Async._drainQueues (/home/bookbrainz/bookbrainz/site/node_modules/bluebird/js/main/async.js:89:10)
      at Async.drainQueues (/home/bookbrainz/bookbrainz/site/node_modules/bluebird/js/main/async.js:14:14)

      refreshing does nothing, same error.
      http://bookbrainz.org/creator/613f4168-94e5-4ff3-8224-8f1d404f879c

            lordsputnik Ben Ockmore
            ApekattQuest, MonkeyPython MonkeyPython
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:

                Version Package
                May 2015