Bug 780940 (SOA-3407) - Methods to re-index content are not public
Summary: Methods to re-index content are not public
Keywords:
Status: CLOSED NEXTRELEASE
Alias: SOA-3407
Product: JBoss Enterprise SOA Platform 5
Classification: JBoss
Component: EDS
Version: 5.2.0.ER4
Hardware: Unspecified
OS: Unspecified
urgent
urgent
Target Milestone: ---
: 5.2.0.ER5
Assignee: Van Halbert
QA Contact:
URL: http://jira.jboss.org/jira/browse/SOA...
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-09-22 13:29 UTC by Van Halbert
Modified: 2011-10-26 18:43 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2011-10-26 18:43:50 UTC
Type: Bug


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker SOA-3407 0 None None None Never

Description Van Halbert 2011-09-22 13:29:26 UTC
project_key: SOA

The [JcrSession.reindex(...)|https://github.com/ModeShape/modeshape/blob/master/modeshape-jcr/src/main/java/org/modeshape/jcr/JcrSession.java#L1312] methods are public, but the JcrSession class is package protected, which means the methods are not visible or usable by callers.  These need to be made public by adding them to the ModeShape JCR API interfaces.

I also wonder if these methods should be moved to JcrWorkspace instead. Plus, we probably need forms that are asynchronous.

Comment 1 Van Halbert 2011-09-22 13:29:27 UTC
Link: Added: This issue Cloned from MODE-1269


Comment 2 Van Halbert 2011-09-22 13:31:12 UTC
Workflow: Removed: GIT Pull Request workflow  Added: jira
Security: Added: Public


Comment 3 Randall Hauch 2011-09-22 14:24:37 UTC
The fix was merged into the 'master' branch, but waiting to close until we hear whether or not this is to also be merged into the '2.5.x' branch (used for SOA-P and BRMS).

Comment 5 Randall Hauch 2011-09-22 18:44:19 UTC
The changes were merged into the '2.5.x' branch.

Comment 6 Van Halbert 2011-10-26 18:43:50 UTC
Unit tests in: modeshape-jcr/src/test/java/org/modeshape/jcr/JcrRepositoryTest
were added to validate the changing of scope for the reindexing related methods.


Note You need to log in before you can comment on or make changes to this bug.