[ 
https://issues.apache.org/jira/browse/OFBIZ-1946?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12628671#action_12628671
 ] 

Adrian Crum commented on OFBIZ-1946:
------------------------------------

I just found a serious problem with the Recurrence entities while trying to run 
the recurrence rules through some tests.

RecurrenceInfo has two fields - recurrenceRuleId and exceptionRuleId. In the 
RecurrenceInfo.java code, these two fields are used to look up RecurrenceRule 
records. The code builds one list for recurrence rules, and one list for 
exception rules. The problem is, in the RecurrrenceRule entity recurrenceId is 
a primary key - so you can't have more than one rule with the same ID. Bottom 
line - there is no way to create lists of rules.

Maybe we could add a sequenceId field (id-ne) to the RecurrenceRule entity and 
add it to the primary key.


> Sandbox: Improve the Recurrence Rules
> -------------------------------------
>
>                 Key: OFBIZ-1946
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-1946
>             Project: OFBiz
>          Issue Type: Improvement
>          Components: framework
>    Affects Versions: SVN trunk
>            Reporter: Adrian Crum
>            Assignee: Adrian Crum
>            Priority: Minor
>         Attachments: RecurrenceRule.patch
>
>
> Improve the recurrence rules to support locales and time zones. Details in 
> comments.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to