ModeShape

Clone Tools
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Merge pull request #1449 from hchiorean/MODE-2489

MODE-2489 Added the ability to configure mime-type detection

Merge pull request #1448 from hchiorean/MODE-2488

MODE-2488 Moved the AS kit to Wildfly 9

MODE-2489 Updated the AS kit to expose the new mime-type detection configuration options.

MODE-2489 Refactored mime-type handling and added the possibility of configuring the repository to use either "content", "name" or no mime-type detection at all.

  1. … 21 more files in changeset.
MODE-2488 Moved the ModeShape AS subsystem to Wildfly 9.0.0.Final.

    • -28
    • +17
    /boms/modeshape-bom-jbossas/pom.xml
  1. … 101 more files in changeset.
MODE-2488 Changed the subsystem API to be binary compatible both with Wildfly 8 and Wildfly 9.

Merge pull request #1443 from jasperstein/MODE-2490

Fix MODE-2490

Merge pull request #1447 from Westernacher/mode-2494

MODE-2494 Adding check whether a child node join has been reversed during query optimization, mirroring logic for SameNodeJoinCondition and EquiJoinCondition.

MODE-2494 Adding check whether a child node join has been reversed during query optimization, mirroring logic for SameNodeJoinCondition and EquiJoinCondition.

For some complex queries, such as:

SELECT parent.[jcr:path], child1.[jcr:name], desc.[jcr:name]

FROM [nt:unstructured] AS parent

LEFT OUTER JOIN [nt:unstructured] AS child1 ON ISCHILDNODE(child1,parent)

INNER JOIN [nt:unstructured] AS desc on ISCHILDNODE(desc, child1)

LEFT OUTER JOIN [nt:unstructured] AS child2 ON ISCHILDNODE(child2,parent)

WHERE ISCHILDNODE(parent,'/')

AND NAME(child2) = 'Hybrid'

AND NAME(desc) LIKE 'Nissan%'

the query optimizer reverses the left and right sides of the join, leading to an assertion error in ScanningQueryEngine.

This fix checks if the join has been reversed, and creates rowextractors for the opposite columns if this is the case.

Added three tests, two which are fixed by this change, and one which is still an issue, suggesting a deeper problem. For the remaining (@Ignored) test, the exception is in the DescendantNodeJoinCondition code.

This seems less simple to resolve, and probably a true fix lies in ReplaceViews or somewhere similar.

Merge pull request #1446 from hchiorean/MODE-2491

MODE-2491 Fixed the LOWER and UPPER operands handling in case of multi-valued properties.

MODE-2491 Fixed the LOWER and UPPER operands handling in case of multi-valued properties.

Merge pull request #1445 from hchiorean/MODE-2493

MODE-2493 Fixed the rollback handling of ModeShape transactions.

Merge pull request #1444 from hchiorean/MODE-2484-2485

MODE-2484, MODE-2485 Fixed several potential ISPN locking issues

MODE-2493 Fixed the rollback handling of ModeShape transactions.

MODE-2485 Changed the interval at which the lock garbage collection thread runs (using the global GC settings) and reduced potential clustered lock contention by not using session.mutable(node) calls when they are not required.

MODE-2484 Changed the code to be able to keep track of all the binary keys which are modified in any given session. This is required because binary reference documents are stored in IPSN and they need to be locked as well together with all the nodes, before saving the changes of a session. Also, made sure that whenever a document is edited via the #edit method and locking is requested, the potential LockTimeoutException is thrown.

    • -0
    • +16
    /modeshape-jcr/src/test/resources/cnd/multi_binary.cnd
    • binary
    /modeshape-jcr/src/test/resources/data/large-file2.jpg
  1. … 3 more files in changeset.
Merge pull request #1442 from hchiorean/MODE-2482

MODE-2482 Added support for multi-valued properties to document view export/import.

MODE-2482 Added support for multi-valued properties to document view export/import.

    • -0
    • +13
    /modeshape-jcr/src/test/resources/cnd/mixins.cnd
Merge pull request #1441 from elvisisking/MODE-2477

MODE-2477 Static VDBs doesn't get sequenced

Merge pull request #1440 from elvisisking/MODE-2445

MODE-2445 Failed to import SalesForce Metadata

MODE-2477 Static VDBs doesn't get sequenced I removed the mandatory attribute from vdb:path property in vdb:marker as it is not required. When it is not present the validation error source is the model.

MODE-2445 Failed to import SalesForce Metadata The issue about parsing escaped single quotes had already been fixed since this issue was written. However, parsing this DDL revealed an issue with foreign key references. I've changed DdlSequencer to perform a second pass in order to resolve the forward-looking references.

Merge pull request #1439 from hchiorean/MODE-2481

MODE-2481 Added some more optimization to the ChildReferences implementations

MODE-2481 Added SNS information to the different child references implementations, allowing further optimization in the Context instance being used as well as in the SNS index computing.

  1. … 10 more files in changeset.
MODE-2481 Changed the structures which back up the ChildReferences implementations, trying to hold onto as little information as possible.

Merge pull request #1438 from hchiorean/MODE-2479

MODE-2479 Moved to ISPN 7.2.3.Final

MODE-2479 Moved to ISPN 7.2.3.Final.

Merge pull request #1437 from hchiorean/MODE-2473

MODE-2473 Fixed behavior of nodeIterator#skip when entire batches coming from an index provider are skipped.

MODE-2473 Fixed behavior of nodeIterator#skip when entire batches coming from an index provider are skipped.