[JBoss JIRA] Created: (DNA-493) Integration tests should not be run via Maven by default
by Randall Hauch (JIRA)
Integration tests should not be run via Maven by default
--------------------------------------------------------
Key: DNA-493
URL: https://jira.jboss.org/jira/browse/DNA-493
Project: DNA
Issue Type: Task
Components: Development Environment
Affects Versions: 0.5
Reporter: Randall Hauch
Assignee: Randall Hauch
Fix For: 0.6
The dna-integration-tests project is currently included by default whenever 'mvn clean install' is executed. Now that they are taking considerable amount of time to execute (>1min), we should change the parent POM so that they are included only when specified via the command line.
The benefit is that the developers don't have to wait for these integration tests to execute (unless they want to). But, to ensure no regressions, the continuous integration tests and the nightly Hudson jobs should be run with the integration tests enabled.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
14 years, 10 months
[JBoss JIRA] Created: (DNA-479) Workspace import does not work
by Randall Hauch (JIRA)
Workspace import does not work
------------------------------
Key: DNA-479
URL: https://jira.jboss.org/jira/browse/DNA-479
Project: DNA
Issue Type: Bug
Components: JCR
Affects Versions: 0.5
Reporter: Randall Hauch
Priority: Blocker
Fix For: 0.6
The changes in DNA-466 did not change the JcrContentHandler implementation to use the new approach. The old way relied upon a SessionCache editor using a different batch, but that doesn't really work with the new GraphSession approach. Maybe the best way to fix this, at least in the interim, is to have a SessionCache instance for the workspace import. That would maintain the cache in memory (more than what is really needed), but it would save a ton of duplication.
Several of the TCK unit tests are commented out because of this.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
14 years, 10 months
[JBoss JIRA] Created: (DNA-491) JodaDateTime Is Using Overly-Strict Equality Test
by Brian Carothers (JIRA)
JodaDateTime Is Using Overly-Strict Equality Test
-------------------------------------------------
Key: DNA-491
URL: https://jira.jboss.org/jira/browse/DNA-491
Project: DNA
Issue Type: Bug
Affects Versions: 0.5
Reporter: Brian Carothers
The JodaDateTime class, the default DateTime implementation for DNA, uses JODA DateTimes internally to represent instants in time in a time zone-neutral, machine portable fashion. By default, the equals method for JodaDateTime is using the DateTime.equals(Object) method[1]. This method checks that both objects represent equivalent logical instants AND have the exact same time zones AND are based on the same Chronology[2]. This implies that a date time representing 2:00 PM EST would not be ".equals" to another date time representing 1:00 PM CST on the same date, even though both represent the same logical instant. Additionally, DNA doesn't specify chronologies, leaving JODA to infer the chronology based on the date source.
I recommend that we shift from using DateTime.equals(Object) to DateTime.isEqual(ReadableInstant)[3] internally to avoid these problems. This issue keeps the JPA connector from properly storing/reloading date properties on the TCK test.
[1] - http://joda-time.sourceforge.net/api-release/org/joda/time/base/AbstractI...
[2] - JODA Chronologies are basically types of calendar like ISO8660, Gregorian/Julian, etc.
[3] - http://joda-time.sourceforge.net/api-release/org/joda/time/base/AbstractI...
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
14 years, 10 months