[jira] Created: (OFBIZ-2171) success messages are not displaying properly.

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

[jira] Created: (OFBIZ-2171) success messages are not displaying properly.

Nicolas Malin (Jira)
success messages are not displaying properly.
---------------------------------------------

                 Key: OFBIZ-2171
                 URL: https://issues.apache.org/jira/browse/OFBIZ-2171
             Project: OFBiz
          Issue Type: Bug
          Components: ecommerce
    Affects Versions: SVN trunk
            Reporter: Anurag Singh Senger
            Priority: Minor


On some places success message is showing with additional prefixes and suffixes.
Like    "Prefix:Prefix message:The action was performed successfully.Suffix message:Suffix:"

When i traced this, i found that this problem is started from revision no 735402. At this revision no if i replaced DefaultMessages.xml file with revision no 735401, then it works fine.

--
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] Commented: (OFBIZ-2171) success messages are not displaying properly.

Nicolas Malin (Jira)

    [ https://issues.apache.org/jira/browse/OFBIZ-2171?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12671540#action_12671540 ]

Scott Gray commented on OFBIZ-2171:
-----------------------------------

Please provide some steps to reproduce this problem

> success messages are not displaying properly.
> ---------------------------------------------
>
>                 Key: OFBIZ-2171
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-2171
>             Project: OFBiz
>          Issue Type: Bug
>          Components: ecommerce
>    Affects Versions: SVN trunk
>            Reporter: Anurag Singh Senger
>            Priority: Minor
>
> On some places success message is showing with additional prefixes and suffixes.
> Like    "Prefix:Prefix message:The action was performed successfully.Suffix message:Suffix:"
> When i traced this, i found that this problem is started from revision no 735402. At this revision no if i replaced DefaultMessages.xml file with revision no 735401, then it works fine.

--
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] Commented: (OFBIZ-2171) success messages are not displaying properly.

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

    [ https://issues.apache.org/jira/browse/OFBIZ-2171?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12671787#action_12671787 ]

Anurag Singh Senger commented on OFBIZ-2171:
--------------------------------------------

Hello Scott,
My current revision number of trunk is 7422080.
Here are the steps to see the problem.

1) Hit the url  http://localhost:8080/ecommerce.
2) login with Username= admin and Password= ofbiz.
3) click on profile link.
4) update Email address
5) after clicking on save button it shows the problem.
Here 2 different messages are showing.
A) if we click on save button without any changes in Email address, it shows
 "Prefix:Prefix message:Contact Mechanism successfully updated.Suffix message:Suffix:"
B) if we click on save button after making any changes in Email address, it shows
 "Prefix:Prefix message:Prefix:Prefix message:Contact Mechanism successfully updated.Suffix message:Suffix:Suffix message:Suffix:".

> success messages are not displaying properly.
> ---------------------------------------------
>
>                 Key: OFBIZ-2171
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-2171
>             Project: OFBiz
>          Issue Type: Bug
>          Components: ecommerce
>    Affects Versions: SVN trunk
>            Reporter: Anurag Singh Senger
>            Priority: Minor
>
> On some places success message is showing with additional prefixes and suffixes.
> Like    "Prefix:Prefix message:The action was performed successfully.Suffix message:Suffix:"
> When i traced this, i found that this problem is started from revision no 735402. At this revision no if i replaced DefaultMessages.xml file with revision no 735401, then it works fine.

--
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] Issue Comment Edited: (OFBIZ-2171) success messages are not displaying properly.

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

    [ https://issues.apache.org/jira/browse/OFBIZ-2171?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12671787#action_12671787 ]

anuragsse edited comment on OFBIZ-2171 at 2/9/09 2:08 AM:
--------------------------------------------------------------------

Hello Scott,
My current revision number of trunk is 742280.
Here are the steps to see the problem.

1) Hit the url  http://localhost:8080/ecommerce.
2) login with Username= admin and Password= ofbiz.
3) click on profile link.
4) update Email address
5) after clicking on save button it shows the problem.
Here 2 different messages are showing.
A) if we click on save button without any changes in Email address, it shows
 "Prefix:Prefix message:Contact Mechanism successfully updated.Suffix message:Suffix:"
B) if we click on save button after making any changes in Email address, it shows
 "Prefix:Prefix message:Prefix:Prefix message:Contact Mechanism successfully updated.Suffix message:Suffix:Suffix message:Suffix:".

      was (Author: anuragsse):
    Hello Scott,
My current revision number of trunk is 7422080.
Here are the steps to see the problem.

1) Hit the url  http://localhost:8080/ecommerce.
2) login with Username= admin and Password= ofbiz.
3) click on profile link.
4) update Email address
5) after clicking on save button it shows the problem.
Here 2 different messages are showing.
A) if we click on save button without any changes in Email address, it shows
 "Prefix:Prefix message:Contact Mechanism successfully updated.Suffix message:Suffix:"
B) if we click on save button after making any changes in Email address, it shows
 "Prefix:Prefix message:Prefix:Prefix message:Contact Mechanism successfully updated.Suffix message:Suffix:Suffix message:Suffix:".
 

> success messages are not displaying properly.
> ---------------------------------------------
>
>                 Key: OFBIZ-2171
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-2171
>             Project: OFBiz
>          Issue Type: Bug
>          Components: ecommerce
>    Affects Versions: SVN trunk
>            Reporter: Anurag Singh Senger
>            Priority: Minor
>
> On some places success message is showing with additional prefixes and suffixes.
> Like    "Prefix:Prefix message:The action was performed successfully.Suffix message:Suffix:"
> When i traced this, i found that this problem is started from revision no 735402. At this revision no if i replaced DefaultMessages.xml file with revision no 735401, then it works fine.

--
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-2171) success messages are not displaying properly.

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

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

Anurag Singh Senger updated OFBIZ-2171:
---------------------------------------

    Attachment: proper_success_message.patch

Here is the patch that can resolve the problem.

> success messages are not displaying properly.
> ---------------------------------------------
>
>                 Key: OFBIZ-2171
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-2171
>             Project: OFBiz
>          Issue Type: Bug
>          Components: ecommerce
>    Affects Versions: SVN trunk
>            Reporter: Anurag Singh Senger
>            Priority: Minor
>         Attachments: proper_success_message.patch
>
>
> On some places success message is showing with additional prefixes and suffixes.
> Like    "Prefix:Prefix message:The action was performed successfully.Suffix message:Suffix:"
> When i traced this, i found that this problem is started from revision no 735402. At this revision no if i replaced DefaultMessages.xml file with revision no 735401, then it works fine.

--
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] Commented: (OFBIZ-2171) success messages are not displaying properly.

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

    [ https://issues.apache.org/jira/browse/OFBIZ-2171?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12671921#action_12671921 ]

Adrian Crum commented on OFBIZ-2171:
------------------------------------

Anurag,

The attached patch can not be committed because the changes to UtilProperties.java will break existing functionality.

I suggest spending more time researching the problem.


> success messages are not displaying properly.
> ---------------------------------------------
>
>                 Key: OFBIZ-2171
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-2171
>             Project: OFBiz
>          Issue Type: Bug
>          Components: ecommerce
>    Affects Versions: SVN trunk
>            Reporter: Anurag Singh Senger
>            Priority: Minor
>         Attachments: proper_success_message.patch
>
>
> On some places success message is showing with additional prefixes and suffixes.
> Like    "Prefix:Prefix message:The action was performed successfully.Suffix message:Suffix:"
> When i traced this, i found that this problem is started from revision no 735402. At this revision no if i replaced DefaultMessages.xml file with revision no 735401, then it works fine.

--
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] Commented: (OFBIZ-2171) success messages are not displaying properly.

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

    [ https://issues.apache.org/jira/browse/OFBIZ-2171?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12671931#action_12671931 ]

Jacques Le Roux commented on OFBIZ-2171:
----------------------------------------

No need to say that I totally agree with Adrian (I love this kind of sentence, creasy isn'it: we don't need to say, but we say it! ;)). I have a solution at hand, I will commit soon. This comes from the switch from properties files to a sole xml file.

> success messages are not displaying properly.
> ---------------------------------------------
>
>                 Key: OFBIZ-2171
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-2171
>             Project: OFBiz
>          Issue Type: Bug
>          Components: ecommerce
>    Affects Versions: SVN trunk
>            Reporter: Anurag Singh Senger
>            Priority: Minor
>         Attachments: proper_success_message.patch
>
>
> On some places success message is showing with additional prefixes and suffixes.
> Like    "Prefix:Prefix message:The action was performed successfully.Suffix message:Suffix:"
> When i traced this, i found that this problem is started from revision no 735402. At this revision no if i replaced DefaultMessages.xml file with revision no 735401, then it works fine.

--
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-2171) success messages are not displaying properly.

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

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

Jacques Le Roux closed OFBIZ-2171.
----------------------------------

    Resolution: Invalid
      Assignee: Jacques Le Roux

Thanks for your effort Anurag,

I commited a fix at revision: 742668.

I 1st tried to use the old HTML mechanim (you can find it in DefaultMessages.properties in R4). But it's not working anymore and renderd the stringd without HTML interpretation. So I chose a simple fix : I replaced with XML space : & #160;


> success messages are not displaying properly.
> ---------------------------------------------
>
>                 Key: OFBIZ-2171
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-2171
>             Project: OFBiz
>          Issue Type: Bug
>          Components: ecommerce
>    Affects Versions: SVN trunk
>            Reporter: Anurag Singh Senger
>            Assignee: Jacques Le Roux
>            Priority: Minor
>         Attachments: proper_success_message.patch
>
>
> On some places success message is showing with additional prefixes and suffixes.
> Like    "Prefix:Prefix message:The action was performed successfully.Suffix message:Suffix:"
> When i traced this, i found that this problem is started from revision no 735402. At this revision no if i replaced DefaultMessages.xml file with revision no 735401, then it works fine.

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

Re: [jira] Closed: (OFBIZ-2171) success messages are not displaying properly.

Anurag S Sengar
Thanks Jacques!

--
Thanks and Regards
Anurag Singh

Jacques Le Roux (JIRA) wrote:

>      [ https://issues.apache.org/jira/browse/OFBIZ-2171?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
>
> Jacques Le Roux closed OFBIZ-2171.
> ----------------------------------
>
>     Resolution: Invalid
>       Assignee: Jacques Le Roux
>
> Thanks for your effort Anurag,
>
> I commited a fix at revision: 742668.
>
> I 1st tried to use the old HTML mechanim (you can find it in DefaultMessages.properties in R4). But it's not working anymore and renderd the stringd without HTML interpretation. So I chose a simple fix : I replaced with XML space : & #160;
>
>
>  
>> success messages are not displaying properly.
>> ---------------------------------------------
>>
>>                 Key: OFBIZ-2171
>>                 URL: https://issues.apache.org/jira/browse/OFBIZ-2171
>>             Project: OFBiz
>>          Issue Type: Bug
>>          Components: ecommerce
>>    Affects Versions: SVN trunk
>>            Reporter: Anurag Singh Senger
>>            Assignee: Jacques Le Roux
>>            Priority: Minor
>>         Attachments: proper_success_message.patch
>>
>>
>> On some places success message is showing with additional prefixes and suffixes.
>> Like    "Prefix:Prefix message:The action was performed successfully.Suffix message:Suffix:"
>> When i traced this, i found that this problem is started from revision no 735402. At this revision no if i replaced DefaultMessages.xml file with revision no 735401, then it works fine.
>>    
>
>