Opened 8 years ago

Closed 8 years ago

Last modified 8 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 Changed 8 years ago by Nicklas Nordborg

Owner: changed from everyone to Nicklas Nordborg
Status: newassigned

comment:2 Changed 8 years ago by Nicklas Nordborg

(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 Changed 8 years ago by Nicklas Nordborg

(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 Changed 8 years ago by Nicklas Nordborg

Resolution: fixed
Status: assignedclosed

comment:5 Changed 8 years ago by Nicklas Nordborg

(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.