Opened 11 years ago

Closed 11 years ago

Last modified 11 years ago

#1785 closed enhancement (fixed)

Implement support for ignoring changes to some properties when logging

Reported by: Nicklas Nordborg Owned by: Nicklas Nordborg
Priority: major Milestone: BASE 3.3
Component: core Version:
Keywords: Cc:

Description

This is somewhat related to #1754 which caused all numeric fields to not be logged. Instead of letting the log implementations check some "unspecified" metadata (eg. class, hibernate type, name, etc.) on the properties, a safer solution would be to annotate properties that should be ignored with an annotation for this purpose. This would make it easy to introduce more properties that should be ignored without having to modify the actual logging implementation.

Change History (5)

comment:1 by Nicklas Nordborg, 11 years ago

Owner: changed from everyone to Nicklas Nordborg
Status: newassigned

comment:2 by Nicklas Nordborg, 11 years ago

(In [6348]) References #1785: Implement support for ignoring changes to some properties when logging

The core support has been implemented and is used by the BasicData.version property.

comment:3 by Nicklas Nordborg, 11 years ago

(In [6350]) References #1785: Implement support for ignoring changes to some properties when logging

Forgot to add file in [6348]. Sorry if someone couldn't compile yesterday!

comment:4 by Nicklas Nordborg, 11 years ago

Resolution: fixed
Status: assignedclosed

comment:5 by Nicklas Nordborg, 11 years ago

(In [6374]) References #1785: Implement support for ignoring changes to some properties when logging

Fixes an index out of bounds issue when a class has amethod named 'get', 'set' or 'is'.

Note: See TracTickets for help on using tickets.