Actions
bug #6842
closedNPE in Registration constructor when name is null
Start date:
Due date:
% Done:
100%
Estimated time:
Severity:
normal
Found in Version:
Related issues
Updated by Andreas Kohlbecker almost 6 years ago
- Related to task #6258: Add Registration to cdm model added
Updated by Andreas Kohlbecker almost 6 years ago
- Status changed from New to Resolved
- % Done changed from 0 to 50
Applied in changeset cdmlib|33cef333a65989e85839c3d4afebe253ed46ecf3.
Updated by Andreas Kohlbecker almost 6 years ago
- Assignee changed from Andreas Kohlbecker to Andreas Müller
Updated by Andreas Müller almost 6 years ago
hmm, should we better fix the setName() method instead the NewInstance method?
Updated by Andreas Müller over 5 years ago
- Assignee changed from Andreas Müller to Andreas Kohlbecker
Looks like there were still some bugs in setName().
- if name was null there was still an NPE in the last line
- existing registration was removed from name.getRegistrations but should be removed from this.name.getRegistrations()
- maybe some more
I adapted the method and wrote test to proof correct behavior.
Please review.
Updated by Andreas Kohlbecker over 5 years ago
- Status changed from Resolved to Closed
- % Done changed from 50 to 100
Actions