Commits on Apr 27, 2012
  1. @rhauch
Commits on Apr 26, 2012
  1. @rhauch
  2. @rhauch
  3. @hchiorean @rhauch

    MODE-1472 - Removed SLF4J from the modeshape-client.jar

    - unnecessary dependencies to slf4j have been removed
    - the LogFactory from common searches for SFL4j's API in the classpath prior to defaulting to java.util
    hchiorean committed with rhauch Apr 26, 2012
  4. @hchiorean
Commits on Apr 24, 2012
  1. @hchiorean

    MODE-1422 - Fixed the invalid ReferenceIntegrityException in relation…

    … with SNS.
    The original issue was caused by the fact that SNS location changes are performed directly against the cached nodes, in the transient session, while the query matches location from the indexes against the transient locations, causing invalid nodes to be returned by the query results.
    The fix was to make the query results locate the node by the UUID first (if such information is available) and only as a fallback, use the location directly.
    hchiorean committed Apr 24, 2012
  2. @hchiorean

    Changed ISPN configuration, for the RemoteConnector tests, to use the…

    … dummy cache store (which is in fact, an in-memory cache store).
     Reason for the change was that the tests take double the time to run if the FileSystemCacheStore is used and there isn't any reason (test-wise for the RemoteISPNSource) to really use that.
    hchiorean committed Apr 24, 2012
Commits on Apr 4, 2012
  1. @hchiorean
  2. @hchiorean
Commits on Mar 30, 2012
  1. @rhauch

    MODE-1451 Corrected anonymous authentication provider initialization

    The anonymous authentication provider is now being initialized after the chain
    of custom authentication providers (rather than before). Also, the
    anonymous provider is no longer being initialized when the anonymous roles is
    set to an empty string.
    All unit and integration tests pass with these changes.
    rhauch committed Mar 30, 2012
  2. @hchiorean @rhauch
  3. @hchiorean @rhauch
  4. @hchiorean @rhauch
Commits on Mar 19, 2012
  1. @hchiorean @rhauch

    MODE-1424 Fixed indexing deadlocking

    There are two important changes involved: the locking around Lucene's IndexWriter has been made reentrant while the composite requests created by the indexer have been made read-only
    hchiorean committed with rhauch Mar 19, 2012
Commits on Mar 16, 2012
  1. @hchiorean @rhauch

    MODE-1421 Fixed search schema data for sessions

    Also, cleaned up some duplication in a pom file
    hchiorean committed with rhauch Mar 16, 2012
Commits on Mar 12, 2012
  1. @rhauch
  2. @rhauch

    MODE-1418 Corrected certain queries with full-text search criteria

    Certain JCR-SQL2 full-text search criteria were not being processed correctly.
    Any f.t.s. criteria that specified a single property resulted in an incorrect
    query plan.
    Several changes were made to correct this behavior, and new unit tests were added.
    rhauch committed Mar 12, 2012
  3. @rhauch

    MODE-1417 Corrected versioning of files uploaded through REST client

    The REST client library was versioning only the 'jcr:content' child node of an
    'nt:file' node. While that's acceptable (since it's where the file's content is
    actually stored), it's better if the 'nt:file' node itself was versioned.
    This change simply changes the node where the 'mix:versionable' mixin is applied.
    When a new 'nt:file' node is uploaded, that node is now made versionable instead
    of the 'jcr:content' child. All existing content is still handled and versioned
    correctly (as it was), and this change only affects content added using a
    RESTful client that contains the fix.
    This change only affects the RESTful client, which is never used within the
    server-side installation of ModeShape.
    All unit and integration tests pass with these changes.
    rhauch committed Mar 12, 2012
Commits on Mar 10, 2012
  1. @rhauch

    MODE-1414 XMI model sequencer corrected to prevent NPEs

    In certain cases, XMI models might contain references to the annotated objects not
    as XML attributes but as child elements. (This bifurcated design is considered a
    benefit to XMI, though not sure why.) Anyway, the problem appears to be that a virtual
    model contains an (empty) "annoation" for the physical model. It's not clear to me
    why the Designer would produce such an annotation.
    Additional tests were added to reproduce the problem with the original models and VDB.
    After the fix, the tests pass as expected.
    All unit and integration tests pass with these changes.
    rhauch committed Mar 6, 2012
  2. @rhauch
Commits on Feb 27, 2012
  1. @rhauch
  2. @rhauch
Commits on Feb 24, 2012
  1. @rhauch

    MODE-1252 Added repository name constant in RepositoryFactory

    Moved the URL an REPOSITORY_NAME constants from the JcrRepositoryFactory implementation
    class into the existing org.modeshape.jcr.api.RepositoryFactory interface. These
    constants can be used when programmatically defining the parameters to pass to the
    RepositoryFactory.getRepository(Map) method.
    Also added more JavaDoc, and deprecated the constants in the JcrRepositoryFactory class.
    All unit and integration tests pass with these changes.
    rhauch committed Feb 24, 2012
  2. @hchiorean

    MODE-1403 Added separate profile for testing with Infinispan 4 and 5 …

    ISPN 5 uses a newer version of jboss-logging, therefore when this connector is used, some transitive dependencies need to be disabled
    hchiorean committed Feb 24, 2012
  3. @hchiorean
  4. @hchiorean

    MODE-1235 Extended a try/finally scope to make sure the composite req…

    …uest is always frozen
    hchiorean committed Feb 23, 2012
  5. @hchiorean

    MODE-1235 Fixed missing exception handling which could cause indefini…

    …te hangs when repository starts up.
    Also, added a test case which reproduces the steps in MODE-1235
    hchiorean committed Feb 23, 2012
Commits on Feb 23, 2012
  1. @hchiorean

    Fixed OSGI dependency for JBossAS - make sure the same version is used

    Without this, the Java Sequencer and the JBoss AS assembly would bring in 2 different versions, causing the Ant script from JBossAS to fail when unsigning the jar.
    hchiorean committed Feb 23, 2012
Commits on Feb 21, 2012
  1. @hchiorean

    MODE-1238 Fixed indexing for federated connectors

    The fix allows changes to be recorded & dispatch always (not only when the source and target of the projection are the same)
    hchiorean committed Feb 21, 2012
Commits on Feb 18, 2012
  1. @hchiorean @rhauch
Commits on Feb 17, 2012
  1. @hchiorean

    MODE-949 Added integration test for text sequencer, so that any repor…

    …ted issues may be easily verified
    hchiorean committed Feb 17, 2012
Commits on Feb 16, 2012
  1. @rhauch

    MODE-1307 Added Content-Type HTTP header to REST examples

    The examples in the RESTful Service chapter did not show including the "Content-Type" HTTP
    header. The service will correctly return JSON if this header or "Content-Type" header is
    supplied in the request. However, an error will result if a different content-Type header
    is provided.
    This change only affects the Reference Guide.
    rhauch committed Feb 16, 2012
Commits on Feb 14, 2012
  1. @rhauch

    MODE-1401 Corrections to behaviors when nodes are checked in

    Corrected several behaviors of what is allowed and not allowed for modifying nodes
    that are checked in, per Section 15.2.2 of the JCR specification. Several new unit
    tests were added that verify these behaviors. These new tests all failed prior to
    these fixes, but they all pass now. (Note this clearly shows the incomplete coverage
    of the TCK versioning tests.)
    All unit and integration tests pass with these changes.
    rhauch committed Feb 14, 2012
  2. @rhauch

    MODE-1400 Added error/warning checks when registering node types via …

    …CND files
    Previously, the CND files were being read but any problems during the reading were not reported and were simply
    ignored. Some errors cause the reader to abort reading and to have successfully read in no node types, so
    registration appeared to do nothing while hiding the errors. With these changes, the errors and warnings
    are included in a thrown exception; if there are no errors and only warnings, the warnings are simply logged.
    All unit and integration tests pass.
    rhauch committed Feb 14, 2012
  3. @hchiorean @rhauch

    MODE-1279 Removed styling changes and moved NoMoreFederatedRequest in…

    …side finally construct
    hchiorean committed with rhauch Feb 14, 2012