[
https://issues.apache.org/jira/browse/OFBIZ-3362?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12791915#action_12791915
]
Adrian Cumiskey commented on OFBIZ-3362:
----------------------------------------
I'm still learning how OFBiz all hangs together, but the
IndexOutOfBoundsException is thrown from
applications/marketing/webapp/marketing/WEB-INF/actions/contact/GetContactListMarketingEmail.groovy.
The primary email address coming from the owner's party of the contact list
is empty (null). The groovy script should have a further check to ensure that
this primary email address has a value before setting the marketing email.
This bug exists in the 9.04 branch (r765447) but has been since fixed in trunk.
So you have a choice of trying to applying a patch to your OFBiz installation
or work from trunk (recommended if you are comfortable with building OFBiz for
yourself).
If you decide to apply the patch, place it the patch file in your ofbiz
directory, and then type :-
patch -p0 < patch.txt
If you are uncomfortable with applying patch files I will also attach the fixed
version of GetContactListMarketingEmail.groovy which you should be able to just
copy to applications/marketing/webapp/marketing/WEB-INF/actions/contact.
Best wishes,
Adrian Cumiskey.
> create new contact list comm event
> ----------------------------------
>
> Key: OFBIZ-3362
> URL: https://issues.apache.org/jira/browse/OFBIZ-3362
> Project: OFBiz
> Issue Type: Bug
> Components: marketing
> Affects Versions: Release Branch 9.04
> Reporter: Heidi Dehaes
> Fix For: Release Branch 9.04
>
>
> When i am in the contactlist screen and choose the communications actions
> tab, then i try to click on "create new contact list comm event", he gives a
> screen with the following error:
> org.ofbiz.widget.screen.ScreenRenderException. Error rendering screen:
> (component://marketing/widget/ContactListScreens#EditcontactListCommEvent:
> java.lang.IndexOutOfBoundsException. index. 0 (index.0))
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.