[jira] Created: (OFBIZ-1589) Prevent NPEs while authorizing GC

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

[jira] Created: (OFBIZ-1589) Prevent NPEs while authorizing GC

Nicolas Malin (Jira)
Prevent NPEs while authorizing GC
---------------------------------

                 Key: OFBIZ-1589
                 URL: https://issues.apache.org/jira/browse/OFBIZ-1589
             Project: OFBiz
          Issue Type: Bug
          Components: accounting, order
            Reporter: Rashko Rejmer
            Priority: Minor


If there are no record in ProductStoreFinActSetting for the store that was used for order creation then we get NPE.
If they are no transactions for a fin account then FinAccount.availableBalance field is empty and we also get NPE.

--
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-1589) Prevent NPEs while authorizing GC

Nicolas Malin (Jira)

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

Rashko Rejmer updated OFBIZ-1589:
---------------------------------

    Attachment: giftCardAuthorization.patch

Patch for this issue.

> Prevent NPEs while authorizing GC
> ---------------------------------
>
>                 Key: OFBIZ-1589
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-1589
>             Project: OFBiz
>          Issue Type: Bug
>          Components: accounting, order
>            Reporter: Rashko Rejmer
>            Priority: Minor
>         Attachments: giftCardAuthorization.patch
>
>
> If there are no record in ProductStoreFinActSetting for the store that was used for order creation then we get NPE.
> If they are no transactions for a fin account then FinAccount.availableBalance field is empty and we also get NPE.

--
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-1589) Prevent NPEs while authorizing GC

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

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

Rashko Rejmer updated OFBIZ-1589:
---------------------------------

    Description:
If there are no records in ProductStoreFinActSetting for the store that was used for order creation then we get NPE.
If there are no transactions for a fin account then FinAccount.availableBalance field is empty and we also get NPE.

  was:
If there are no record in ProductStoreFinActSetting for the store that was used for order creation then we get NPE.
If they are no transactions for a fin account then FinAccount.availableBalance field is empty and we also get NPE.


> Prevent NPEs while authorizing GC
> ---------------------------------
>
>                 Key: OFBIZ-1589
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-1589
>             Project: OFBiz
>          Issue Type: Bug
>          Components: accounting, order
>            Reporter: Rashko Rejmer
>            Priority: Minor
>         Attachments: giftCardAuthorization.patch
>
>
> If there are no records in ProductStoreFinActSetting for the store that was used for order creation then we get NPE.
> If there are no transactions for a fin account then FinAccount.availableBalance field is empty and we also get NPE.

--
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-1589) Prevent NPEs while authorizing GC

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

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

Jacques Le Roux closed OFBIZ-1589.
----------------------------------

       Resolution: Fixed
    Fix Version/s: Release Branch 4.0
                   SVN trunk
         Assignee: Jacques Le Roux

Thanks  Rashko,

Your patch is in trunk rev. 614072, release4.0 614074


> Prevent NPEs while authorizing GC
> ---------------------------------
>
>                 Key: OFBIZ-1589
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-1589
>             Project: OFBiz
>          Issue Type: Bug
>          Components: accounting, order
>            Reporter: Rashko Rejmer
>            Assignee: Jacques Le Roux
>            Priority: Minor
>             Fix For: SVN trunk, Release Branch 4.0
>
>         Attachments: giftCardAuthorization.patch
>
>
> If there are no records in ProductStoreFinActSetting for the store that was used for order creation then we get NPE.
> If there are no transactions for a fin account then FinAccount.availableBalance field is empty and we also get NPE.

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