ModeShape

Clone Tools
  • last updated a few minutes ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
MODE-1795 Importing XML should map default XML namespace

When importing XML, any XML namespaces should be used, even if the

prefix for the XML namespace matches an existing namespace prefix.

Per Section 11.1 of the JSR-283 specification, an existing JCR namespace

should be used if its URL matches the XML namespace URI. If

there is no existing JCR namespace matching the XML namespace URI,

then the namespace should be registered using the XML namespace prefix

if not already used or a generated prefix if the XML namespace prefix

is already used.

A new unit test case was added to verify the behavior.

    • -0
    • +4
    /modeshape-jcr/src/test/resources/io/simple-document-view-with-default-namespace.xml
MODE-1623 - Updated the mode:isolationLevel flag fix and added an ignored unit test which can be run to reproduce this issue.

MODE-1623 - Fixed the general setting of numeric properties which are not java.util.Long and in particular, the mode:isolationLevel property on the JPA source.

MODE-1482 - Updated the FileSystemSource, so that children of folders which aren't readable or which don't exist are ignored and not added to the children's list.

MODE-1561 - Updated code as per review

MODE-1561 - Updated the TikaTextExtractor to support a "writeLimit" property which is passed down to Tika. If absent, the default Tika limit of 100k characters is used.

MODE-1624 - Added a couple of test cases which attempt to reproduce the issue

Fixed bad merging of MODE-1740

MODE-1740 Updated entity hashCode() and equals() methods to handle null IDs

These changes correct the hashCode and equals methods on three Entity

classes so that these methods work when the entity IDs (which are

configured to be automatically set by JPA) have not yet been set.

MODE-1628 Fix storeTo method (configuration stored to xml contains not valid namespace "=")

MODE-1616 Changed some of the test that use HSQLDB to use an in-memory DB

Merge branch '2.x' of github.com:ModeShape/modeshape into 2.x

Release notes for 2.8.3.Final

MODE-1595 - Fixed the code for Except and Intersect components, when the tuples iterators have no more results

MODE-1593 Corrected statistics to ensure no negative times.

The query results statistics sometimes generate negative times on Windows platforms

because of the way that System.nanoTime() is implemented on that platform. The correct

approach is simply to take the absolute value of the time delta (see MODE-1536).

MODE-1585 - Fixed checkout of nodes when a federated source is used

MODE-1596 - Fixed refreshing of node types at startup, when "projectNodeTypes" is enabled and there's a system workspace coupled to a JPA (persistent) source.

MODE-1594 - Fixed ClassCastException for SQL2 queries involving the UNION, INTERSECT, or EXCEPT operators

MODE-1560 - Fixed poi version to 3.8

MODE-1559 - Updated the MSOffice sequencer so that the "mode:derived" properties are set on the root of the sequencing output.

MODE-1582 - Fixed the import of binary values for the document view: previously, they were treated as strings and therefore they would not be decoded from Base64.

    • binary
    /modeshape-jcr/src/test/resources/io/binary.pdf
Merge branch 'MODE-1572-2.x' of https://github.com/hchiorean/modeshape into hchiorean-MODE-1572-2.x

MODE-1572 - Fixed the prefixes used for the base64Binary XML attribute

MODE-1562 changed getResourceLength impl

removed null check

Updated the release script

Updated release_notes.md file

MODE-1490 - Added checks for oderBefore: if the source and destination are the same, no changes should be performed.

MODE-1406 Corrected validation of shareable node creation

When a shareable node is created, the validation logic assures that the new shared node will

have the correct node type. If the parent node type's associated child node definition

is restrictive of the allowed child node type, this validation logic may fail because it

was incorrectly resolving the shared node (e.g., the primary type of the child was thought

to be "mode:share", an internal node type used in the shareable nodes feature, rather than

the actual primary type of the shareable node.

The fix was simply using "originalNode()" rather than "proxyNode()" to obtain the original

shared node.

A new test case replicates the problem and error, and after the fix runs successfull.

MODE-1553 - Removed fixxme comment from test CND file

MODE-1553 - Updated the Processor so that the jcr:uuid property is stored as a node property, when the node is created.