You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ofbiz.apache.org by "Hans Bakker (JIRA)" <ji...@apache.org> on 2006/06/01 06:10:30 UTC

[jira] Created: (OFBIZ-10) non existend ContentId caused NPE (attached patch fixes this)

non existend ContentId caused NPE (attached patch fixes this)
-------------------------------------------------------------

         Key: OFBIZ-10
         URL: http://issues.apache.org/jira/browse/OFBIZ-10
     Project: The Open For Business Project
        Type: Improvement

  Components: framework  
    Reporter: Hans Bakker
 Attachments: framework20060523.patch



-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


[jira] Closed: (OFBIZ-10) non existend ContentId caused NPE (attached patch fixes this)

Posted by "David E. Jones (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/jira/browse/OFBIZ-10?page=all ]
     
David E. Jones closed OFBIZ-10:
-------------------------------

    Fix Version: SVN trunk
     Resolution: Fixed
      Assign To: David E. Jones

Thanks Hans, this is now in SVN (rev 7811).

I changed this a bit to throw an exception instead of just logging an error, is more consistent with how other things are handled.

> non existend ContentId caused NPE (attached patch fixes this)
> -------------------------------------------------------------
>
>          Key: OFBIZ-10
>          URL: http://issues.apache.org/jira/browse/OFBIZ-10
>      Project: The Open For Business Project
>         Type: Improvement

>   Components: framework
>     Reporter: Hans Bakker
>     Assignee: David E. Jones
>      Fix For: SVN trunk
>  Attachments: framework20060523.patch
>


-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


[jira] Commented: (OFBIZ-10) non existend ContentId caused NPE (attached patch fixes this)

Posted by "Hans Bakker (JIRA)" <ji...@apache.org>.
    [ http://issues.apache.org/jira/browse/OFBIZ-10?page=comments#action_12442147 ] 
            
Hans Bakker commented on OFBIZ-10:
----------------------------------


   [[ Old comment, sent by email on Sun, 18 Jun 2006 10:42:16 +0700 ]]

Hi David,

The reason i did not throw an exception, is that this content id coud be used 
in an online website. Not showing the page, i think is better  then to show 
een logn exeption report on the frontendwebsite.

Hans



> non existend ContentId caused NPE (attached patch fixes this)
> -------------------------------------------------------------
>
>                 Key: OFBIZ-10
>                 URL: http://issues.apache.org/jira/browse/OFBIZ-10
>             Project: OFBiz (The Open for Business Project)
>          Issue Type: Improvement
>          Components: framework
>            Reporter: Hans Bakker
>         Assigned To: David E. Jones
>             Fix For: SVN trunk
>
>         Attachments: framework20060523.patch
>
>


-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Updated: (OFBIZ-10) non existend ContentId caused NPE (attached patch fixes this)

Posted by "Hans Bakker (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/jira/browse/OFBIZ-10?page=all ]

Hans Bakker updated OFBIZ-10:
-----------------------------

    Attachment: framework20060523.patch

> non existend ContentId caused NPE (attached patch fixes this)
> -------------------------------------------------------------
>
>          Key: OFBIZ-10
>          URL: http://issues.apache.org/jira/browse/OFBIZ-10
>      Project: The Open For Business Project
>         Type: Improvement

>   Components: framework
>     Reporter: Hans Bakker
>  Attachments: framework20060523.patch
>


-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira