Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 322969

Summary: [DB] Various test suites broken due to mismatched audit support
Product: [Modeling] EMF Reporter: Caspar D. <caspar_d>
Component: cdo.dbAssignee: Caspar D. <caspar_d>
Status: CLOSED FIXED QA Contact: Eike Stepper <stepper>
Severity: normal    
Priority: P3 CC: saulius.tvarijonas, stefan
Version: 4.0Flags: stepper: review+
stefan: review+
Target Milestone: ---   
Hardware: All   
OS: All   
Whiteboard:
Attachments:
Description Flags
Stacktrace
none
Patch none

Description Caspar D. CLA 2010-08-17 23:06:34 EDT
Test suites AllTestsDBHsqldb and AllTestsDBMysql have the problem 
that they return 'true' from hasAuditSupport(), but the RepositoryConfigs
they provide have only the default (inherited) properties, which specify: 

  props.put(Props.SUPPORTING_AUDITS, "false");

This causes an exception "AuditSupport of MappingStrategy and Store does
not match." for every test.
Comment 1 Caspar D. CLA 2010-08-17 23:07:08 EDT
Created attachment 176858 [details]
Stacktrace
Comment 2 Caspar D. CLA 2010-08-17 23:08:04 EDT
Created attachment 176859 [details]
Patch
Comment 3 Stefan Winkler CLA 2010-08-18 04:43:37 EDT
The same was true for the Derby DB some time ago. I think the introduction of branching caused a change in the default properties.

From my part: Go ahead.
Comment 4 Caspar D. CLA 2010-09-01 23:36:32 EDT
Committed to HEAD
Comment 5 Eike Stepper CLA 2011-06-23 03:40:19 EDT
Available in R20110608-1407