biolab-unige / xtens-app

A digital repository for biomedical data based on a flexible JSON data model ( The project has been moved to a new address https://github.com/xtens-suite/xtens-app.git )
http://www.xtens.org
BSD 3-Clause "New" or "Revised" License
6 stars 1 forks source link

Uncaught TypeError: Cannot read property 'group' of undefined #6

Closed Zigur closed 8 years ago

Zigur commented 8 years ago

Error while opening data details view:

Uncaught TypeError: Cannot read property 'group' of undefined

On data-details.ejs (https://github.com/biolab-unige/xtens-app/blob/master/views/templates/data-details.ejs): if (index === fields.length-1 || groupname !== metadata[fields[index+1].formattedName].group ) {