ModeShape

Clone Tools
  • last updated a few minutes ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Merge pull request #1452 from hchiorean/MODE-2496

MODE-2496 Makes sure custom authentication providers in the AS kit are added first in the list

Merge pull request #1451 from Westernacher/mode-2497

Support German Scharfes 'S' symbol when tokenising

MODE-2496 Makes sure custom authentication providers in the AS kit are added first in the list This essentially makes sure that any custom providers will take precedence over the default (built-in) security providers which interface with the AS's security domain.

Support German Scharfes 'S' symbol when tokenising This symbol is weird because the so-called 'capital' version (as determined by the JVM) is 'SS'. i.e. longer than the lower-case version. This sends the indexes out of kilter within the TokenStream class when using case insensitive tokenising.

The solution is to override the match method in the CaseInsensitiveToken to convert the current token to upper-case, rather than storing an upper-case version of the entire input string, which may not have the same indexes as the lower-case version.

(cherry picked from commit 9a8ac56)

Merge pull request #1450 from hchiorean/MODE-2495

MODE-2495 Fixes how user transactions are handled

MODE-2495 Fixes how user transactions are handled The previous code made the incorrect assumption that a user transaction is "confined" to the thread that started it. This is obviously not the case, since the same transaction can be suspended & resumed subsequently off different threads.

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