ofbiz-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Christian Carlow (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (OFBIZ-5074) date-find in form widget does not persist value
Date Wed, 04 Mar 2015 21:11:38 GMT

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

Christian Carlow commented on OFBIZ-5074:

This issue is still relevant and needed.  The <date-find> values are not persisted after
submission due to MacroFormRenderer.java not evaluating value and value2 correctly.  In face,
value2 isn't event passed to the definition in framework/widget/templates/htmlFormMacroLibrary.ftl.

> date-find in form widget does not persist value
> -----------------------------------------------
>                 Key: OFBIZ-5074
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-5074
>             Project: OFBiz
>          Issue Type: Bug
>          Components: ALL COMPONENTS
>    Affects Versions: Release Branch 12.04, Trunk
>            Reporter: Taher Alkhateeb
>            Priority: Minor
>              Labels: common, form, search, service, widget
> Any search form that calls "performFind" and has a "date-find" tag will not persist but
it will give correct search results. 
> For example, If I go to Order -> Requests and search using any of the date fields,
the result will be correct but the field will be blank upon returning results. This behavior
affects only dates.
> I suspect the main offender here is a bug in performFind service or one of the services
it calls (prepareFind or executeFind). I believe that the "queryStringMap" does not contain
the date-find fields in its returned value. I did not look heavily into the code but I think
"fld" types are not persisted in-between requests.

This message was sent by Atlassian JIRA

View raw message