You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ofbiz.apache.org by "Kojo Gambrah (JIRA)" <ji...@apache.org> on 2009/08/27 12:34:59 UTC

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

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.


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

Posted by "Kojo Gambrah (JIRA)" <ji...@apache.org>.
     [ 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.


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

Posted by "Hans Bakker (JIRA)" <ji...@apache.org>.
     [ 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.