NAJU-Sachsen / NAJU-Adebar

Management tool used by the NAJU Sachsen to keep track of volunteers and the like.
http://naju-sachsen.de
GNU General Public License v3.0
0 stars 0 forks source link

Adding projects to local groups is broken #32

Closed rbergm closed 6 years ago

rbergm commented 6 years ago

Creating a new project results in a ClassCastException

Stacktrace:

java.lang.ClassCastException: java.lang.Long cannot be cast to java.lang.String
    at de.naju.adebar.model.chapter.LocalGroup.getProject(LocalGroup.java:287) ~[classes/:na]
    at de.naju.adebar.app.chapter.PersistentLocalGroupManager.addProjectToLocalGroup(PersistentLocalGroupManager.java:136) ~[classes/:na]
    at de.naju.adebar.controller.ProjectController.addProject(ProjectController.java:96)
rbergm commented 6 years ago

Actually it appears to not be completely broken - the project is still added and its state is consistent.

rbergm commented 6 years ago

Apparently the bug was a side-effect of some other issue with the data bases. It is gone now