Menu

#142 Removal of 'gender' field causes nullPointerException in RecipientAction.java

OpenEMM
closed-works-for-me
nobody
None
3
2016-04-05
2015-11-17
No

When the 'gender' custom user field is removed, the Recipients view stops working.

Specifically, a nullPointerException is produced in RecipientAction.java.

If this field is required for the proper functioning of OpenEMM, it should be part of the core schema, and not one of the "optional" custom fields. Or at the very least, this should be mentioned in the documentation, otherwise people could spend hours scratching their heads about this exception.

Thanks! :)

Discussion

  • Martin Aschoff

    Martin Aschoff - 2015-11-17

    I'd like to know how you managed it to delete this profile field (in the GUI).

     

    Last edit: Martin Aschoff 2015-11-17
  • Skaag Argonius

    Skaag Argonius - 2015-11-17

    I know what you mean, because when I go to "Edit Profile Fields" now, I don't see it as an option. However, I assure you it was possible at some point, because I was the one who removed it from the UI. I can't explain how this happened, because I can not reproduce it now. All I can assure you is that I did not remove this field manually in MySQL (why would I do that...?).

     
  • Martin Aschoff

    Martin Aschoff - 2015-11-17

    if we can not replicate it, we can not fix it. :-(

     
  • Martin Aschoff

    Martin Aschoff - 2016-04-05
    • status: open --> closed-works-for-me
    • Priority: 5 --> 3
     

Log in to post a comment.