Ticket #424 (closed defect: fixed)

Opened 5 years ago

Last modified 5 years ago

Editing a study gives nullpointerexception

Reported by: robert@… Owned by: robert@…
Priority: major Milestone: 0.8.1
Component: Study create/edit wizard Version: 0.8.0
Keywords: Cc:
Hardware: Operating system:
Product: URL:


The edit study wizard gives a nullpointer exception after choosing which study to edit:

exception → Cannot invoke method canWrite() on null object, see log for stacktrace

Steps to reproduce:

  • go to ci.nmcdsp.org
  • choose study -> edit a study
  • choose '[no code ] - AntiTesT' study (or any other study)
  • click next

Change History

comment:1 Changed 5 years ago by work@…

  • Owner changed from work@… to robert@…
  • Status changed from new to assigned

Study.toString was changed in r1785 so that it returned "code - title" instead of "title". Edit study used Study.findByTitle which of course did not work anymore. Changed the taglib to use study id instead in r1825

comment:2 Changed 5 years ago by robert@…

  • Status changed from assigned to closed
  • Resolution set to fixed
Note: See TracTickets for help on using tickets.