[jira] Created: (OFBIZ-2871) Missing Note name causes error in notes.ftl

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

[jira] Created: (OFBIZ-2871) Missing Note name causes error in notes.ftl

Nicolas Malin (Jira)
Missing Note name causes error in notes.ftl
-------------------------------------------

                 Key: OFBIZ-2871
                 URL: https://issues.apache.org/jira/browse/OFBIZ-2871
             Project: OFBiz
          Issue Type: Bug
          Components: party
    Affects Versions: SVN trunk
            Reporter: Kojo Gambrah
            Priority: Minor
             Fix For: SVN trunk


The Party Note Names field is an optional field. When the field is null, the notes.ftl template encounters an
error because it does not check whether the field exists or not in its data model.

To reproduce the bug, create a note for a party in the party manager application without a note name.


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

Reply | Threaded
Open this post in threaded view
|

[jira] Updated: (OFBIZ-2871) Missing Note name causes error in notes.ftl

Nicolas Malin (Jira)

     [ https://issues.apache.org/jira/browse/OFBIZ-2871?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Kojo Gambrah updated OFBIZ-2871:
--------------------------------

    Attachment: Notes.ftl.patch

I have modified the notes.ftl file to check for the existence of the noteName before attempting to display it.

> Missing Note name causes error in notes.ftl
> -------------------------------------------
>
>                 Key: OFBIZ-2871
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-2871
>             Project: OFBiz
>          Issue Type: Bug
>          Components: party
>    Affects Versions: SVN trunk
>            Reporter: Kojo Gambrah
>            Priority: Minor
>             Fix For: SVN trunk
>
>         Attachments: Notes.ftl.patch
>
>
> The Party Note Names field is an optional field. When the field is null, the notes.ftl template encounters an
> error because it does not check whether the field exists or not in its data model.
> To reproduce the bug, create a note for a party in the party manager application without a note name.

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

Reply | Threaded
Open this post in threaded view
|

[jira] Closed: (OFBIZ-2871) Missing Note name causes error in notes.ftl

Nicolas Malin (Jira)
In reply to this post by Nicolas Malin (Jira)

     [ https://issues.apache.org/jira/browse/OFBIZ-2871?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Hans Bakker closed OFBIZ-2871.
------------------------------

    Resolution: Fixed

fixed in Revision: 807495.

Thanks for the report.



> Missing Note name causes error in notes.ftl
> -------------------------------------------
>
>                 Key: OFBIZ-2871
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-2871
>             Project: OFBiz
>          Issue Type: Bug
>          Components: party
>    Affects Versions: SVN trunk
>            Reporter: Kojo Gambrah
>            Priority: Minor
>             Fix For: SVN trunk
>
>         Attachments: Notes.ftl.patch
>
>
> The Party Note Names field is an optional field. When the field is null, the notes.ftl template encounters an
> error because it does not check whether the field exists or not in its data model.
> To reproduce the bug, create a note for a party in the party manager application without a note name.

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