[jira] [Commented] (OFBIZ-9446) https://localhost:8443/ecomseo/checkLogin exception

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[jira] [Commented] (OFBIZ-9446) https://localhost:8443/ecomseo/checkLogin exception

Nicolas Malin (Jira)

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

Michael Brohl commented on OFBIZ-9446:
--------------------------------------

Ahh, now I see it: alternateViews contains view entities of type ContentAssocDataResourceViewTo.
At 420 you see:        
{code:java}
alternateViews.add(0, view);
{code}

If view is of type Content instead of ContentAssocDataResourceViewTo, the following
{code:java}
alternateViews = EntityUtil.filterByDate(alternateViews, UtilDateTime.nowTimestamp(), "caFromDate", "caThruDate", true);
{code}

fails.

I will revert the commits for OFBIZ-9445 and we'll fix this.

> https://localhost:8443/ecomseo/checkLogin exception
> ---------------------------------------------------
>
>                 Key: OFBIZ-9446
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-9446
>             Project: OFBiz
>          Issue Type: Bug
>          Components: ecommerce
>    Affects Versions: Trunk
>            Reporter: Wai
>
> https://localhost:8443/ecomseo/checkLogin
> console output...
> java.lang.IllegalArgumentException: "caFromDate" is not a field of Content
> org.apache.ofbiz.entity.util.EntityUtil.filterByDate(EntityUtil.java:208)



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)