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

ASF subversion and git services commented on OFBIZ-12505:
---------------------------------------------------------

Commit 7df68996a7b45d89d8c5664012b67e58427a87e5 in ofbiz-framework's branch 
refs/heads/trunk from Jacques Le Roux
[ https://gitbox.apache.org/repos/asf?p=ofbiz-framework.git;h=7df6899 ]

Fixed: Wrong Field Name Definition in RequirementForms (OFBIZ-12505)

The issue exists also in the older version.

The field "requirementByDate" form "FindApprovedProductRequirements" in
RequirementForms.xml has been set wrongly and it should be "requiredByDate".

This causes the result could not be queried out properly as indicated as below:

The result is governed by the service "getRequirementsForSupplier",
where reads the list from the view "RequirementAndRole".
In the view entity definition, the field is defined as
<alias entity-alias="RQ" name="requiredByDate"/>,
but it is not the case in the form "FindApprovedProductRequirements" above.

After changing it to the correct name, the bug is solved.

jleroux: Same exists in OrderEntryForms::FindRequirements

Thanks: Schumann Ye for report Pierre Smits for creating the initial PR494


> Wrong Field Name Definition in RequirementForms
> -----------------------------------------------
>
>                 Key: OFBIZ-12505
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-12505
>             Project: OFBiz
>          Issue Type: Bug
>          Components: order
>    Affects Versions: 18.12.05
>         Environment: WIN10, MSSQL
>            Reporter: Schumann Ye
>            Assignee: Pierre Smits
>            Priority: Minor
>             Fix For: 18.12.06, 22.01.01
>
>
> The issue exists also in the older version.
> The field "requirementByDate" form "FindApprovedProductRequirements" in 
> RequirementForms.xml has been set wrongly and it should be "requiredByDate".
> This causes the result could not be queried out properly as indicated as 
> below:
>  # The result is governed by the service "getRequirementsForSupplier", where 
> reads the list from the view "RequirementAndRole".
>  # In the view entity definition, the field is defined as 
> <alias entity-alias="RQ" name="{color:#FF0000}requiredByDate{color}"/>, but 
> it is not the case in the form "FindApprovedProductRequirements" above.
>  
> After changing it to the correct name, the bug is solved.



--
This message was sent by Atlassian Jira
(v8.20.1#820001)

Reply via email to