Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Feb 27, 2012

  1. Randall Hauch

    'Release: update versions for modeshape-2.8.0.Final'

    rhauch authored
  2. Randall Hauch

    Updated release notes for 2.8.0.Final

    rhauch authored

Feb 24, 2012

  1. Randall Hauch

    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 authored
  2. Horia Chiorean

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

    …connectors
    
    ISPN 5 uses a newer version of jboss-logging, therefore when this connector is used, some transitive dependencies need to be disabled
    hchiorean authored
  3. Horia Chiorean

    MODE-1403 Added test case for one of the scenarios described in https…

    hchiorean authored
  4. Horia Chiorean

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

    …uest is always frozen
    hchiorean authored
  5. Horia Chiorean

    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 authored

Feb 23, 2012

  1. Horia Chiorean

    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 authored

Feb 21, 2012

  1. Horia Chiorean

    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 authored

Feb 18, 2012

  1. Horia Chiorean

    MODE-1298 Added test case for cloning binary content across workspace…

    …s in a disk store
    hchiorean authored rhauch committed

Feb 17, 2012

  1. Horia Chiorean

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

    …ted issues may be easily verified
    hchiorean authored

Feb 16, 2012

  1. Randall Hauch

    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 authored

Feb 14, 2012

  1. Randall Hauch

    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 authored
  2. Randall Hauch

    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 authored
  3. Horia Chiorean

    MODE-1279 Removed styling changes and moved NoMoreFederatedRequest in…

    …side finally construct
    hchiorean authored rhauch committed
  4. Horia Chiorean

    MODE-1279 - Fixed repository blocking after performing a full-text se…

    …arch multiple times
    
    The fix was part of the #207 pull request, which basically removed explicit synchronization around the LuceneSearchProcessor and Engine.
    
    In addition:
    - the lucene version was updated from 3.1.0 to 3.4.0
    - the LuceneSearchSession was updated to avoid the possible loss of content when indexing the same content in the same workspace from multiple threads
    hchiorean authored rhauch committed
  5. Randall Hauch

    Merge branch 'MODE-1302' of https://github.com/hchiorean/modeshape in…

    …to hchiorean-MODE-1302
    rhauch authored
  6. Randall Hauch

    MODE-1398 Added new connector for Infinispan 5

    Made additional changes/fixes to the Infinispan 4 and 5 connectors and tests.
    rhauch authored
  7. Horia Chiorean

    MODE-1302 Fixed session.refresh algorithm

    Two issues fixed:
    - refresh phase 1 - determining which nodes should be left and which should be discarded
    - LinkedListMultimap clear method, which cause refresh phase 2 to incorrectly duplicate existing nodes under a parent, as SNS.
    hchiorean authored

Feb 11, 2012

  1. Randall Hauch

    MODE-1398 Added new connector for Infinispan 5

    Added a new connector that uses Infinispan 5.x caches for storage. The existing
    Infinispan 4.x connector is still usable, and basically users would choose between
    the two. Note that Infinispan 5.1.1.Final is likely to be used by JBoss AS 7.1.0.Final.
    
    All unit and integration tests pass.
    rhauch authored

Feb 10, 2012

  1. Randall Hauch

    Corrected compilation errors

    rhauch authored

Jan 27, 2012

  1. Horia Chiorean

    MODE-1326 Fixed Oracle DDL exception when parsing CREATE UNIQUE INDEX…

    … statements
    
     The fix was to implement minimal support for unique index in the Oracle parser and to make sure that only "legal" token are delegated to the standard parser.
    hchiorean authored

Jan 26, 2012

  1. Horia Chiorean

    MODE-1377 Fixed webdav repository path parsing with trailing slash.

    - changed request path parsing so that multiple empty '/' characters are collapsed into one.
    - updated pom.xml so that log4j dependency is runtime (this is not ideal, but until slf4j dependencies are changed, this should be there)
    hchiorean authored

Jan 19, 2012

  1. Horia Chiorean

    MODE-1373 Fixed mismatch between ms office cnd and code

    hchiorean authored
  2. Horia Chiorean

    MODE-1373 Moved code which validates sequenced nodes to AbstractSeque…

    …ncerTest
    hchiorean authored

Jan 18, 2012

  1. Randall Hauch

    MODE-1374 Corrected node type init errors in concurrent env

    The JcrNodeDefinition is intended to be immutable and thread-safe, and although
    it is publicly immutable, internally it delays loading the references to the
    required primary types until needed. The 'ensureRequiredPrimaryTypesLoaded()' method
    is what lazily initializes the references, and this method is properly called in
    the right spots within JcrNodeDefinition. However, in a highly-concurrent environment
    a node type definition may be needed by multiple threads, and this can result
    in this method being called concurrently. Unfortunately this method is not thread-safe,
    and can cause a NullPointerException when used concurrently.
    
    The 'ensureRequiredPrimaryTypesLoaded()' method just iterates through the names of the
    required primary types (which were set in the constructor), and looks up the JcrNodeType
    instances for each primary type name. It then creates an immutable map to quickly find
    the JcrNodeType instances given the primary type name. Finally, it stores the map
    and the names, and when the array of JcrNodeType instances and map are available
    (non-null), it merely uses the values. But the creation of the JcrNodeType array and
    map keyed by name are not concurrent or atomic. In fact, a non-empty array is created
    (but not initialized, so it contains null references) and _immediately set_ on one of the
    JcrNodeDefinition fields, so when the method is called by other threads it is as if
    the JcrNodeType array is ready to be used. But the original thread hasn't yet set
    the JcrNodeType references in the array, so any other thread that uses the array
    gets a null reference instead, and using that causes the NullPointerException.
    
    The fix is relatively simple: ensure that the 'requiredPrimaryTypes' array of JcrNodeType
    and 'requiredPrimaryTypesByName' map are set in a synchronized way, ensuring they
    are only set to non-null with an array (or map) that are fully and correctly populated.
    This could be done by simply synchronizing the entire 'ensureRequiredPrimaryTypesLoaded()'
    method, but the method calls out to the RepositoryNodeTypeManager. And while the RNTM
    doesn't currently (directly or indirectly) result in a call to 'ensureRequiredPrimaryTypesLoaded()',
    it's possible it might in the future.  Therefore, we can simply create and fully-populate
    the array and map outside of the synchronization block, and only synchronize upon setting
    it (of course checking before we set it whether another thread snuck in and set it
    while we waited for the lock). So it is effectively the same as synchronizing the method
    (which the reporter says fixes the problem), but does it with smaller lock scope.
    
    With this change, all unit and integration tests pass.
    rhauch authored

Jan 17, 2012

  1. Randall Hauch

    MODE-1370 Added additional observation tests

    Added three unit tests that verified the ObservationManager.setUserData() is being
    set correctly. All tests pass, with no changes to the non-test code, proving the
    code is indeed working correctly.
    rhauch authored

Jan 13, 2012

  1. Randall Hauch

    MODE-1367 Corrected copyright dates for 2012

    Updated the two COPYRIGHT.txt files and also updated the two AUTHOR.txt files
    to reflect the contributors.
    rhauch authored

Jan 10, 2012

  1. Randall Hauch

    MODE-1366 Error parsing JCR-SQL2 queries using square brackets for qu…

    …oting
    
    The JCR-SQL2 grammar uses square brackets for quoting identifiers, node names
    and node paths. However, path literals may also have square brackets around
    the same-name-siblings. The JCR-SQL2 parser was not able to properly parse
    quoted paths with SNS indexes.
    
    The fix is to adjust the tokenizer to count the number of open and close
    square brackets, and to stop the quoted string token when the all of the opened
    square brackets were closed. Additional unit tests were added to verify the
    tokenizer and JCR-SQL2 parser behavior.
    
    All unit and integration tests pass with these changes.
    rhauch authored
  2. Randall Hauch

    MODE-1362 Corrected integration tests

    The JcrDriverIntegrationTest queries the output of the DDL sequencer, and so required
    changes to the expected results to mirror the updated output.
    rhauch authored
  3. Horia Chiorean

    MODE-1362 Fixed mismatch between cnds and actual produced nodes by th…

    …e ddl sequencer
    hchiorean authored

Jan 09, 2012

  1. Horia Chiorean

    MODE-1362 Cleaned-up ddl integration tests and added test method for …

    …validating content
    hchiorean authored

Jan 03, 2012

  1. Randall Hauch

    MODE-1364 Corrected use of reference in join condition

    The indexes were not storing the value of REFERENCE or WEAK REFERENCE properties, and thus
    null was returned in the tuples for these records. Consequently, the join could not be performed
    with null values.
    
    Added several test cases that replicated this problem and now verify the updated code
    exhibits the correct behavior.
    rhauch authored

Dec 22, 2011

  1. Randall Hauch

    Changed version to 2.8-SNAPSHOT after releasing 2.7.0.Final

    rhauch authored
  2. Randall Hauch

    Updated release notes and authors file for 2.7.0.Final

    rhauch authored
Something went wrong with that request. Please try again.