[OS-JIRA] Created: (WOL-761) Refactor > Format changes \" to \\"

From: Simon McLean (JIRA) ("Simon)
Date: Tue Mar 25 2008 - 19:14:25 EDT

  • Next message: Art Isbell: "Re: [OS-JIRA] Created: (WOL-760) Component Editor > Refactor > Format introduces extra spaces into html comments each time it runs"

    Refactor > Format changes \" to \\"
    -----------------------------------

                     Key: WOL-761
                     URL: http://issues.objectstyle.org/jira/browse/WOL-761
                 Project: WOProject/WOLips
              Issue Type: Bug
              Components: wolips
        Affects Versions: WOLips stable 3.3.4906 for Eclipse 3.3.2
                Reporter: Simon McLean

    I just finished my component, then did refactor > format to clean up and it butchered my ognl expressions! It converted all \" to \\" :-

    <td class = "$~errorMessages.objectForKey(\\"title\\") != null ? \\"error\\" : \\"label\\"">My Title</td>

    Looks like there's a bug in reformat with escaping ... I never use quotes in OGNL -- it's too confusing. Switch to ' instead and you will have an easier time. Please log a bug for this in the wolips wiki as well.

    ms

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



    This archive was generated by hypermail 2.0.0 : Tue Mar 25 2008 - 19:15:14 EDT