Project

General

Profile

Actions

Defect #231

closed

Null pointer in DefaultAuditService

Added by Ondřej Kopr over 7 years ago. Updated about 5 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Ondřej Kopr
Category:
Audit
Target version:
Start date:
12/06/2016
Due date:
% Done:

100%

Estimated time:
1.50 h
Affected versions:
Owner:

Description

When is not defined getter for audited attribute, is throw null pointer in method getNameChangedColumns.
property descriptor -> add Assert.notNull();

Actions #1

Updated by Ondřej Kopr over 7 years ago

  • Status changed from New to In Progress
Actions #2

Updated by Ondřej Kopr over 7 years ago

  • Status changed from In Progress to Needs feedback
  • Assignee changed from Ondřej Kopr to Vít Švanda

Added Assert.notNull(); with message.

Please check correct use of this method. Thank you.

Actions #3

Updated by Vít Švanda over 7 years ago

  • Status changed from Needs feedback to Resolved
  • Assignee changed from Vít Švanda to Ondřej Kopr
  • % Done changed from 0 to 100

It is fine. I changed message from String concat to MessageFormat.

Actions #4

Updated by Ondřej Kopr over 7 years ago

  • Status changed from Resolved to Closed

Thank you for explanation.

Actions #5

Updated by Radek Tomiška about 5 years ago

  • Tracker changed from Task to Defect
  • Category changed from 20 to Audit
Actions

Also available in: Atom PDF