You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ofbiz.apache.org by "Rohit Sureka (JIRA)" <ji...@apache.org> on 2006/06/16 12:29:29 UTC

[jira] Created: (OFBIZ-28) Database error, when special characters are entered

Database error, when special characters are entered
---------------------------------------------------

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

  Components: content  
    Versions: SVN trunk    
 Environment: Linux, Postgres
    Reporter: Rohit Sureka


hi, content manger allows for content with special characters such as ' (apostrophe ) to entered into the database which causes database error. It must be escaped before being put into the database.

-- 
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-28) Database error, when special characters are entered

Posted by "Rohit Sureka (JIRA)" <ji...@apache.org>.
    [ http://issues.apache.org/jira/browse/OFBIZ-28?page=comments#action_12424295 ] 
            
Rohit Sureka commented on OFBIZ-28:
-----------------------------------

This problem is not present in the latest SVN, i guess the issue may be closed.

> Database error, when special characters are entered
> ---------------------------------------------------
>
>                 Key: OFBIZ-28
>                 URL: http://issues.apache.org/jira/browse/OFBIZ-28
>             Project: OFBiz (The Open for Business Project)
>          Issue Type: Bug
>          Components: content
>    Affects Versions: SVN trunk
>         Environment: Linux, Postgres
>            Reporter: Rohit Sureka
>
> hi, content manger allows for content with special characters such as ' (apostrophe ) to entered into the database which causes database error. It must be escaped before being put into the database.

-- 
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-28) Database error, when special characters are entered

Posted by "Si Chen (JIRA)" <ji...@apache.org>.
    [ http://issues.apache.org/jira/browse/OFBIZ-28?page=comments#action_12416550 ] 

Si Chen commented on OFBIZ-28:
------------------------------

What is the actual error message?

> Database error, when special characters are entered
> ---------------------------------------------------
>
>          Key: OFBIZ-28
>          URL: http://issues.apache.org/jira/browse/OFBIZ-28
>      Project: The Open For Business Project
>         Type: Bug

>   Components: content
>     Versions: SVN trunk
>  Environment: Linux, Postgres
>     Reporter: Rohit Sureka

>
> hi, content manger allows for content with special characters such as ' (apostrophe ) to entered into the database which causes database error. It must be escaped before being put into the database.

-- 
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-28) Database error, when special characters are entered

Posted by "Rohit Sureka (JIRA)" <ji...@apache.org>.
    [ http://issues.apache.org/jira/browse/OFBIZ-28?page=comments#action_12416558 ] 

Rohit Sureka commented on OFBIZ-28:
-----------------------------------

i am sorry i don't have it now, but i guess you will get this error too. Just change one of the FactID's in content. Use words like Macy's or 4 C's of diamonds. I am sure you will get the error when you start the ecommerce webpage.

> Database error, when special characters are entered
> ---------------------------------------------------
>
>          Key: OFBIZ-28
>          URL: http://issues.apache.org/jira/browse/OFBIZ-28
>      Project: The Open For Business Project
>         Type: Bug

>   Components: content
>     Versions: SVN trunk
>  Environment: Linux, Postgres
>     Reporter: Rohit Sureka

>
> hi, content manger allows for content with special characters such as ' (apostrophe ) to entered into the database which causes database error. It must be escaped before being put into the database.

-- 
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-28) Database error, when special characters are entered

Posted by "Rohit Sureka (JIRA)" <ji...@apache.org>.
    [ http://issues.apache.org/jira/browse/OFBIZ-28?page=comments#action_12442145 ] 
            
Rohit Sureka commented on OFBIZ-28:
-----------------------------------


   [[ Old comment, sent by email on Fri, 16 Jun 2006 10:11:55 -0700 (PDT) ]]

hi Si,

the error is as follows:

org.ofbiz.base.util.GeneralException: Error rendering screen [component://ecommerce/widget/CatalogScreens.xml#category]: org.ofbiz.base.util.GeneralException: Error rendering screen [component://ecommerce/widget/CommonScreens.xml#main-decorator]: org.ofbiz.base.util.GeneralException: Error rendering screen [component://ecommerce/widget/CommonScreens.xml#rightbar]: org.ofbiz.base.util.GeneralException: Error rendering screen [component://ecommerce/widget/ContentScreens.xml#factoids]: java.lang.NullPointerException (null) (Error rendering screen [component://ecommerce/widget/ContentScreens.xml#factoids]: java.lang.NullPointerException (null)) (Error rendering screen [component://ecommerce/widget/CommonScreens.xml#rightbar]: org.ofbiz.base.util.GeneralException: Error rendering screen [component://ecommerce/widget/ContentScreens.xml#factoids]: java.lang.NullPointerException (null) (Error rendering screen [component://ecommerce/widget/ContentScreens.xml#factoids]:
 java.lang.NullPointerException (null))) (Error rendering screen [component://ecommerce/widget/CommonScreens.xml#main-decorator]: org.ofbiz.base.util.GeneralException: Error rendering screen [component://ecommerce/widget/CommonScreens.xml#rightbar]: org.ofbiz.base.util.GeneralException: Error rendering screen [component://ecommerce/widget/ContentScreens.xml#factoids]: java.lang.NullPointerException (null) (Error rendering screen [component://ecommerce/widget/ContentScreens.xml#factoids]: java.lang.NullPointerException (null)) (Error rendering screen [component://ecommerce/widget/CommonScreens.xml#rightbar]: org.ofbiz.base.util.GeneralException: Error rendering screen [component://ecommerce/widget/ContentScreens.xml#factoids]: java.lang.NullPointerException (null) (Error rendering screen [component://ecommerce/widget/ContentScreens.xml#factoids]: java.lang.NullPointerException (null)))) 




"Si Chen (JIRA)" <ji...@apache.org> wrote:     [ http://issues.apache.org/jira/browse/OFBIZ-28?page=comments#action_12416550 ] 

Si Chen commented on OFBIZ-28:
------------------------------

What is the actual error message?




-- 
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



 __________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 


> Database error, when special characters are entered
> ---------------------------------------------------
>
>                 Key: OFBIZ-28
>                 URL: http://issues.apache.org/jira/browse/OFBIZ-28
>             Project: OFBiz (The Open for Business Project)
>          Issue Type: Bug
>          Components: content
>    Affects Versions: SVN trunk
>         Environment: Linux, Postgres
>            Reporter: Rohit Sureka
>
> hi, content manger allows for content with special characters such as ' (apostrophe ) to entered into the database which causes database error. It must be escaped before being put into the database.

-- 
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-28) Database error, when special characters are entered

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

Jacopo Cappellato closed OFBIZ-28.
----------------------------------

    Resolution: Fixed

> Database error, when special characters are entered
> ---------------------------------------------------
>
>                 Key: OFBIZ-28
>                 URL: http://issues.apache.org/jira/browse/OFBIZ-28
>             Project: OFBiz (The Open for Business Project)
>          Issue Type: Bug
>          Components: content
>    Affects Versions: SVN trunk
>         Environment: Linux, Postgres
>            Reporter: Rohit Sureka
>
> hi, content manger allows for content with special characters such as ' (apostrophe ) to entered into the database which causes database error. It must be escaped before being put into the database.

-- 
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-28) Database error, when special characters are entered

Posted by "Si Chen (JIRA)" <ji...@apache.org>.
    [ http://issues.apache.org/jira/browse/OFBIZ-28?page=comments#action_12416555 ] 

Si Chen commented on OFBIZ-28:
------------------------------

that's just a plain old NPE.  How about from the logs/console.log or logs/obiz.log?  Don't be shy--paste it all in.  :)

> Database error, when special characters are entered
> ---------------------------------------------------
>
>          Key: OFBIZ-28
>          URL: http://issues.apache.org/jira/browse/OFBIZ-28
>      Project: The Open For Business Project
>         Type: Bug

>   Components: content
>     Versions: SVN trunk
>  Environment: Linux, Postgres
>     Reporter: Rohit Sureka

>
> hi, content manger allows for content with special characters such as ' (apostrophe ) to entered into the database which causes database error. It must be escaped before being put into the database.

-- 
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-28) Database error, when special characters are entered

Posted by "Rohit Sureka (JIRA)" <ji...@apache.org>.
    [ http://issues.apache.org/jira/browse/OFBIZ-28?page=comments#action_12416552 ] 

Rohit Sureka commented on OFBIZ-28:
-----------------------------------

the error is:

org.ofbiz.base.util.GeneralException: Error rendering screen [component://ecommerce/widget/CatalogScreens.xml#category]: org.ofbiz.base.util.GeneralException: Error rendering screen [component://ecommerce/widget/CommonScreens.xml#main-decorator]: org.ofbiz.base.util.GeneralException: Error rendering screen [component://ecommerce/widget/CommonScreens.xml#rightbar]: org.ofbiz.base.util.GeneralException: Error rendering screen [component://ecommerce/widget/ContentScreens.xml#factoids]: java.lang.NullPointerException (null) (Error rendering screen [component://ecommerce/widget/ContentScreens.xml#factoids]: java.lang.NullPointerException (null)) (Error rendering screen [component://ecommerce/widget/CommonScreens.xml#rightbar]: org.ofbiz.base.util.GeneralException: Error rendering screen [component://ecommerce/widget/ContentScreens.xml#factoids]: java.lang.NullPointerException (null) (Error rendering screen [component://ecommerce/widget/ContentScreens.xml#factoids]: java.lang.NullPointerException (null))) (Error rendering screen [component://ecommerce/widget/CommonScreens.xml#main-decorator]: org.ofbiz.base.util.GeneralException: Error rendering screen [component://ecommerce/widget/CommonScreens.xml#rightbar]: org.ofbiz.base.util.GeneralException: Error rendering screen [component://ecommerce/widget/ContentScreens.xml#factoids]: java.lang.NullPointerException (null) (Error rendering screen [component://ecommerce/widget/ContentScreens.xml#factoids]: java.lang.NullPointerException (null)) (Error rendering screen [component://ecommerce/widget/CommonScreens.xml#rightbar]: org.ofbiz.base.util.GeneralException: Error rendering screen [component://ecommerce/widget/ContentScreens.xml#factoids]: java.lang.NullPointerException (null) (Error rendering screen [component://ecommerce/widget/ContentScreens.xml#factoids]: java.lang.NullPointerException (null)))) 

> Database error, when special characters are entered
> ---------------------------------------------------
>
>          Key: OFBIZ-28
>          URL: http://issues.apache.org/jira/browse/OFBIZ-28
>      Project: The Open For Business Project
>         Type: Bug

>   Components: content
>     Versions: SVN trunk
>  Environment: Linux, Postgres
>     Reporter: Rohit Sureka

>
> hi, content manger allows for content with special characters such as ' (apostrophe ) to entered into the database which causes database error. It must be escaped before being put into the database.

-- 
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