Content Manager Question #2

2007-08-23 Thread Adrian Crum
I think I've mapped out the basic entity usage for forums. I wanted to see if it's okay to use an unused field to hold the forum thread ID. I know I can start with any ContentAssoc record and walk up the tree to find the ID of the uppermost message (the thread start) but since forums (and thread

Re: Content Manager Question

2007-08-23 Thread Al Byers
Yes, the ownerContentId is strictly for security. Andrew did some clean up and addition of service-based permission granting code, so make sure you see those. -Al On 8/23/07, David E Jones <[EMAIL PROTECTED]> wrote: > > > If I remember right ownerContentId was used for security purposes, > permis

Re: Content Manager Question

2007-08-23 Thread Adrian Crum
David, Thank you for the replies! They are helpful. -Adrian David E Jones wrote: If I remember right ownerContentId was used for security purposes, permissions and such. In fact, it should ONLY be used for this purpose. I'm not sure how the permission checking code is working right now, b

Re: Content Manager Question

2007-08-23 Thread David E Jones
If I remember right ownerContentId was used for security purposes, permissions and such. In fact, it should ONLY be used for this purpose. I'm not sure how the permission checking code is working right now, but if it does a tree walk base on the ownerContentId then it doesn't matter which way

Re: Content Manager Question

2007-08-23 Thread David E Jones
Yes, the contentIdTo should be the child. Just think of it in terms of the primary use scenario: find a child content element (or sub-content) by using the contentId and a map-key (sorting and filtering by from/thruDate the same as we always do for effective dates). -David Adrian Crum wrote

Re: Content Manager Question

2007-08-23 Thread Adrian Crum
Okay, I found a reply from Al Byers in a July 3, 2007 content management thread (user ml): "So contentId is for the parent and contentIdTo is for the child." Unless there are any objections, I will assume that is the correct method. Adrian Crum wrote: One other thing - eCommerce forum Conte

Re: Content Manager Question

2007-08-23 Thread Adrian Crum
One other thing - eCommerce forum ContentAssoc.contentIdTo contains the "child" message (or reply to "this" message). Content Manager forum ContentAssoc.contentIdTo contains the "parent" message (the message "this" message replied to). Which method is correct? Adrian Crum wrote: I'm trying

Content Manager Question

2007-08-23 Thread Adrian Crum
I'm trying to debug the forum section of the Content Manager component and I need help. In the eCommerce forum, Content.ownerContentId contains the contentId of the "parent" message - which created a nice tree structure. In the Content Manager forum, Content.ownerContentId always contains the

[jira] Created: (OFBIZ-1216) Message: Service target threw an unexpected exception (org/ofbiz/workflow/WfException)

2007-08-23 Thread Srinivas (JIRA)
Message: Service target threw an unexpected exception (org/ofbiz/workflow/WfException) -- Key: OFBIZ-1216 URL: https://issues.apache.org/jira/browse/OFBIZ-1216 Projec