|
Ritu Raj Lakhera created OFBIZ-4924:
--------------------------------------- Summary: label with value as zero length string reading issue Key: OFBIZ-4924 URL: https://issues.apache.org/jira/browse/OFBIZ-4924 Project: OFBiz Issue Type: Bug Components: ALL COMPONENTS Affects Versions: Release 10.04, Release Branch 11.04, SVN trunk, Release Branch 12.04 Reporter: Ritu Raj Lakhera Priority: Minor Fix For: SVN trunk If we use a label with value as zero length string then I think it should be display the empty string while these label goes to use. But currently its return the key name same as in case of key does not exist in label file.So current result does not make sense even label key is exist. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira |
|
[ https://issues.apache.org/jira/browse/OFBIZ-4924?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Ritu Raj Lakhera updated OFBIZ-4924: ------------------------------------ Attachment: Label_UtilProperties-ofbiz-4924.patch Attached patch will resolve this issue. > label with value as zero length string reading issue > ---------------------------------------------------- > > Key: OFBIZ-4924 > URL: https://issues.apache.org/jira/browse/OFBIZ-4924 > Project: OFBiz > Issue Type: Bug > Components: ALL COMPONENTS > Affects Versions: Release 10.04, Release Branch 11.04, SVN trunk, Release Branch 12.04 > Reporter: Ritu Raj Lakhera > Priority: Minor > Fix For: SVN trunk > > Attachments: Label_UtilProperties-ofbiz-4924.patch > > > If we use a label with value as zero length string then I think it should be display the empty string while these label goes to use. > But currently its return the key name same as in case of key does not exist in label file.So current result does not make sense even label key is exist. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira |
|
In reply to this post by Nicolas Malin (Jira)
[ https://issues.apache.org/jira/browse/OFBIZ-4924?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jacques Le Roux closed OFBIZ-4924. ---------------------------------- Resolution: Fixed Check OFBIZ-4652 for the reason what we don't want this solution > label with value as zero length string reading issue > ---------------------------------------------------- > > Key: OFBIZ-4924 > URL: https://issues.apache.org/jira/browse/OFBIZ-4924 > Project: OFBiz > Issue Type: Bug > Components: ALL COMPONENTS > Affects Versions: Release 10.04, Release Branch 11.04, SVN trunk, Release Branch 12.04 > Reporter: Ritu Raj Lakhera > Priority: Minor > Fix For: SVN trunk > > Attachments: Label_UtilProperties-ofbiz-4924.patch > > > If we use a label with value as zero length string then I think it should be display the empty string while these label goes to use. > But currently its return the key name same as in case of key does not exist in label file.So current result does not make sense even label key is exist. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira |
|
In reply to this post by Nicolas Malin (Jira)
[ https://issues.apache.org/jira/browse/OFBIZ-4924?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13288915#comment-13288915 ] Jacques Le Roux edited comment on OFBIZ-4924 at 6/4/12 9:41 PM: ---------------------------------------------------------------- == GRAMMAR == Check OFBIZ-4652 for the reason we don't want this solution was (Author: jacques.le.roux): Check OFBIZ-4652 for the reason what we don't want this solution > label with value as zero length string reading issue > ---------------------------------------------------- > > Key: OFBIZ-4924 > URL: https://issues.apache.org/jira/browse/OFBIZ-4924 > Project: OFBiz > Issue Type: Bug > Components: ALL COMPONENTS > Affects Versions: Release 10.04, Release Branch 11.04, SVN trunk, Release Branch 12.04 > Reporter: Ritu Raj Lakhera > Priority: Minor > Fix For: SVN trunk > > Attachments: Label_UtilProperties-ofbiz-4924.patch > > > If we use a label with value as zero length string then I think it should be display the empty string while these label goes to use. > But currently its return the key name same as in case of key does not exist in label file.So current result does not make sense even label key is exist. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira |
|
In reply to this post by Nicolas Malin (Jira)
[ https://issues.apache.org/jira/browse/OFBIZ-4924?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13289195#comment-13289195 ] Ritu Raj Lakhera commented on OFBIZ-4924: ----------------------------------------- Thanks Jacques. As I saw issue 4652, it was related to saving a label entry with space although submitted patch is related to issue with reading a label. Currently it's creating quite ambiguous even a property key and value node is exist. > label with value as zero length string reading issue > ---------------------------------------------------- > > Key: OFBIZ-4924 > URL: https://issues.apache.org/jira/browse/OFBIZ-4924 > Project: OFBiz > Issue Type: Bug > Components: ALL COMPONENTS > Affects Versions: Release 10.04, Release Branch 11.04, SVN trunk, Release Branch 12.04 > Reporter: Ritu Raj Lakhera > Priority: Minor > Fix For: SVN trunk > > Attachments: Label_UtilProperties-ofbiz-4924.patch > > > If we use a label with value as zero length string then I think it should be display the empty string while these label goes to use. > But currently its return the key name same as in case of key does not exist in label file.So current result does not make sense even label key is exist. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira |
|
In reply to this post by Nicolas Malin (Jira)
[ https://issues.apache.org/jira/browse/OFBIZ-4924?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13289289#comment-13289289 ] Adrian Crum commented on OFBIZ-4924: ------------------------------------ This is not a bug. It is the intended behavior. > label with value as zero length string reading issue > ---------------------------------------------------- > > Key: OFBIZ-4924 > URL: https://issues.apache.org/jira/browse/OFBIZ-4924 > Project: OFBiz > Issue Type: Bug > Components: ALL COMPONENTS > Affects Versions: Release 10.04, Release Branch 11.04, SVN trunk, Release Branch 12.04 > Reporter: Ritu Raj Lakhera > Priority: Minor > Fix For: SVN trunk > > Attachments: Label_UtilProperties-ofbiz-4924.patch > > > If we use a label with value as zero length string then I think it should be display the empty string while these label goes to use. > But currently its return the key name same as in case of key does not exist in label file.So current result does not make sense even label key is exist. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira |
|
In reply to this post by Nicolas Malin (Jira)
[ https://issues.apache.org/jira/browse/OFBIZ-4924?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13289586#comment-13289586 ] Jacques Le Roux commented on OFBIZ-4924: ---------------------------------------- Yes, we don't we to get into this again. If you want to use an empty label just use " " .- > label with value as zero length string reading issue > ---------------------------------------------------- > > Key: OFBIZ-4924 > URL: https://issues.apache.org/jira/browse/OFBIZ-4924 > Project: OFBiz > Issue Type: Bug > Components: ALL COMPONENTS > Affects Versions: Release 10.04, Release Branch 11.04, SVN trunk, Release Branch 12.04 > Reporter: Ritu Raj Lakhera > Priority: Minor > Fix For: SVN trunk > > Attachments: Label_UtilProperties-ofbiz-4924.patch > > > If we use a label with value as zero length string then I think it should be display the empty string while these label goes to use. > But currently its return the key name same as in case of key does not exist in label file.So current result does not make sense even label key is exist. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira |
|
In reply to this post by Nicolas Malin (Jira)
[ https://issues.apache.org/jira/browse/OFBIZ-4924?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13289586#comment-13289586 ] Jacques Le Roux edited comment on OFBIZ-4924 at 6/5/12 6:51 PM: ---------------------------------------------------------------- == TYPO (need some rest really) == Yes, we don't want to get into this again. If you want to use an empty label just use " " .- was (Author: jacques.le.roux): Yes, we don't we to get into this again. If you want to use an empty label just use " " .- > label with value as zero length string reading issue > ---------------------------------------------------- > > Key: OFBIZ-4924 > URL: https://issues.apache.org/jira/browse/OFBIZ-4924 > Project: OFBiz > Issue Type: Bug > Components: ALL COMPONENTS > Affects Versions: Release 10.04, Release Branch 11.04, SVN trunk, Release Branch 12.04 > Reporter: Ritu Raj Lakhera > Priority: Minor > Fix For: SVN trunk > > Attachments: Label_UtilProperties-ofbiz-4924.patch > > > If we use a label with value as zero length string then I think it should be display the empty string while these label goes to use. > But currently its return the key name same as in case of key does not exist in label file.So current result does not make sense even label key is exist. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira |
| Free forum by Nabble | Edit this page |
