Re: OCM: why not to hide ugly init code?

2008-03-11 Thread Christophe Lombart
Just one comment : The OCM has to be completely independent of Jackrabbit core. By this way, it can be used with other JCR implementation. As you can see, Jackrabbit core is only used for the unit tests. That's why the code is so ugly ... until there is a standard way to add new node types. br, C

[jira] Resolved: (JCR-1336) Bug in duplicate mapping check

2008-03-11 Thread Christophe Lombart (JIRA)
[ https://issues.apache.org/jira/browse/JCR-1336?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Christophe Lombart resolved JCR-1336. - Resolution: Fixed Fix Version/s: 1.5 Patch applied. Thanks Sorry for the delay. Can

[jira] Assigned: (JCR-1336) Bug in duplicate mapping check

2008-03-11 Thread Christophe Lombart (JIRA)
[ https://issues.apache.org/jira/browse/JCR-1336?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Christophe Lombart reassigned JCR-1336: --- Assignee: Christophe Lombart > Bug in duplicate mapping check > ---

Re: Retrieve path & uuid field after insert a new objec

2008-03-11 Thread Christophe Lombart
Hi, I fix this problem. Can you check if it is ok for you ? In stead of calling the method retrieveSimpleFields, I only refresh the path and the uuid field. thanks, Christophe 2008/3/11 Yonder <[EMAIL PROTECTED]>: > Hi, > > Unlike Hibernate, ObjectContentManager cannot retrieve the path or uui

[jira] Resolved: (JCR-1385) UUID field not populated when saving a new node

2008-03-11 Thread Christophe Lombart (JIRA)
[ https://issues.apache.org/jira/browse/JCR-1385?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Christophe Lombart resolved JCR-1385. - Resolution: Fixed Fix Version/s: 1.5 I just fixed this issue. Can you check if it is

[jira] Updated: (JCR-1381) Path is not indexed when inserting a new node with SNS

2008-03-11 Thread Christophe Lombart (JIRA)
[ https://issues.apache.org/jira/browse/JCR-1381?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Christophe Lombart updated JCR-1381: Fix Version/s: 1.5 > Path is not indexed when inserting a new node with SNS > ---

[jira] Resolved: (JCR-1381) Path is not indexed when inserting a new node with SNS

2008-03-11 Thread Christophe Lombart (JIRA)
[ https://issues.apache.org/jira/browse/JCR-1381?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Christophe Lombart resolved JCR-1381. - Resolution: Fixed I just fixed this issue. Can you check if it is ok for you ? Now, the pa

Re: OCM: why not to hide ugly init code?

2008-03-11 Thread Christophe Lombart
Hi Alex, On Tue, Mar 11, 2008 at 10:32 PM, Alex Lukin <[EMAIL PROTECTED]> wrote: > As allways, should I create Jira issue with this? Please, yes. I'm very busy with other activities and it will be a great help and ... if possible with a patch :-) That's the fast way to improve the code. Thank

OCM: why not to hide ugly init code?

2008-03-11 Thread Alex Lukin
Hi, All, Hi, Christophe! I just took a look at new OCM docs at http://jackrabbit.apache.org/5-with-jackrabbit-ocm.html I must say taht ugly init code for annotation based OCM may be and must be hidden. In my application I created needed xml file and placed it in same package where OCM init

[jira] Assigned: (JCR-1385) UUID field not populated when saving a new node

2008-03-11 Thread Christophe Lombart (JIRA)
[ https://issues.apache.org/jira/browse/JCR-1385?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Christophe Lombart reassigned JCR-1385: --- Assignee: Christophe Lombart > UUID field not populated when saving a new node > --

[jira] Assigned: (JCR-1381) Path is not indexed when inserting a new node with SNS

2008-03-11 Thread Christophe Lombart (JIRA)
[ https://issues.apache.org/jira/browse/JCR-1381?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Christophe Lombart reassigned JCR-1381: --- Assignee: Christophe Lombart > Path is not indexed when inserting a new node with SNS >

[jira] Updated: (JCR-1388) Jackrabbit does not allow concurrent reads to the data store if copyWhenReading=false

2008-03-11 Thread Esteban Franqueiro (JIRA)
[ https://issues.apache.org/jira/browse/JCR-1388?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Esteban Franqueiro updated JCR-1388: Attachment: JCR-1388-datastore-concurrent-reads.10.patch Oops, wrong file. Here is the right

[jira] Updated: (JCR-1388) Jackrabbit does not allow concurrent reads to the data store if copyWhenReading=false

2008-03-11 Thread Esteban Franqueiro (JIRA)
[ https://issues.apache.org/jira/browse/JCR-1388?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Esteban Franqueiro updated JCR-1388: Attachment: (was: JCR-1388-datastore-concurrent-reads.9.patch) > Jackrabbit does not allo

[jira] Updated: (JCR-1388) Jackrabbit does not allow concurrent reads to the data store if copyWhenReading=false

2008-03-11 Thread Esteban Franqueiro (JIRA)
[ https://issues.apache.org/jira/browse/JCR-1388?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Esteban Franqueiro updated JCR-1388: Attachment: JCR-1388-datastore-concurrent-reads.9.patch > As I wrote before, I suggest you us

Re: Jackrabbit Security -> branch or not

2008-03-11 Thread Jukka Zitting
Hi, On Tue, Mar 11, 2008 at 5:16 PM, Angela Schreiber <[EMAIL PROTECTED]> wrote: > anyway, you didn't get my mail. you can't mark it beta or preview > since it affects the very fundamentals. it's there or > it isn't i don't see any room for 'relative' here ;) There's always a range from to

[jira] Commented: (JCR-1462) repository.xml: throw an exception on error

2008-03-11 Thread Marcel Reutegger (JIRA)
[ https://issues.apache.org/jira/browse/JCR-1462?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12577480#action_12577480 ] Marcel Reutegger commented on JCR-1462: --- I tend to agree that the repository should not

Re: Jackrabbit Security -> branch or not

2008-03-11 Thread Angela Schreiber
Jukka Zitting wrote: From my perspective the main criteria between having this in trunk or a development branch is its impact on Jackrabbit 1.5. If we bring the ACL work to the trunk, then the feature would becomes a major part of the Jackrabbit 1.5 roadmap and it should be in a relatively usabl

Re: Jackrabbit Security -> branch or not

2008-03-11 Thread Angela Schreiber
Thomas Mueller wrote: Hi, I agree with Esteban, as long as the current tests pass I would add it to the trunk. i would not have suggested to commit it to trunk if there were existing test failing (apart from those that failed before -> see the restoreTest bug). my point is: i'm sure there wi

[continuum] BUILD FAILURE: Apache Jackrabbit - Apache Jackrabbit - Build Def: Jackrabbit build with Java 1.4

2008-03-11 Thread Jackrabbit Continuum
Online report : http://jackrabbit.zones.apache.org/continuum/buildResult.action?buildId=3167&projectId=2 Build statistics: State: Failed Previous State: Ok Started at: Tue 11 Mar 2008 14:48:44 + Finished at: Tue 11 Mar 2008 14:56:50 + Total time: 8m 5s Build Trigger: Schedule Buil

[jira] Commented: (JCR-1462) repository.xml: throw an exception on error

2008-03-11 Thread Thomas Mueller (JIRA)
[ https://issues.apache.org/jira/browse/JCR-1462?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12577465#action_12577465 ] Thomas Mueller commented on JCR-1462: - Committed in revision 635940. This is a 'proof of

Re: Jackrabbit Security -> branch or not

2008-03-11 Thread Jukka Zitting
Hi, On Fri, Mar 7, 2008 at 8:11 PM, Angela Schreiber <[EMAIL PROTECTED]> wrote: > what's your preference? My number one wish is to bring the development effort the the Jackrabbit svn, so I prefer both having it in trunk or a development branch better than keeping something as large as this as pa

Retrieve path & uuid field after insert a new object

2008-03-11 Thread Yonder
Hi, Unlike Hibernate, ObjectContentManager cannot retrieve the path or uuid field of an newly persistent object. In my project, I insert the following code after line 221 in ObjectConverterImpl.java and I got the correct value: simpleFieldsHelp.retrieveSimpleFields(session, classDescriptor,

[jira] Updated: (JCR-1375) Limit fields read from index

2008-03-11 Thread Marcel Reutegger (JIRA)
[ https://issues.apache.org/jira/browse/JCR-1375?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Marcel Reutegger updated JCR-1375: -- Fix Version/s: (was: 1.5) core 1.4.2 When there are stored fields with sig

Re: Project Idea for GSoC based on Jackrabbit

2008-03-11 Thread Jukka Zitting
Hi, On Mon, Mar 10, 2008 at 10:34 AM, Thilina Buddhika <[EMAIL PROTECTED]> wrote: > I am really interested in Apache Jackrabbit project. I have been building > some applications on top of Jackrabbit, and I am realizing the potential of > Jackrabbit. So I thought of doing a GSoC project based on