Uploaded image for project: 'XWiki Platform'
  1. XWiki Platform
  2. XWIKI-1768

Cannot delete Space with a simple quote in its name

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Major
    • 1.1.1
    • 1.1
    • {Unused} Core
    • None

    Description

      This is what I get:

      Error number 4001 in 4: Error while parsing velocity page 
      Wrapped Exception: Invocation of method 'searchDocuments' in  class com.xpn.xwiki.api.XWiki threw exception com.xpn.xwiki.XWikiException: Error number 3223 in 3: Exception while searching documents with sql [ where doc.fullName <> 'OnNo's Sandbox.WebHomeas' and (doc.parent = 'OnNo's Sandbox.WebHome' or (doc.parent = 'WebHome' and doc.web = 'OnNo's Sandbox'))]
      ...
      

      The problem is that simple quote is not escaped.

      Attachments

        Activity

          People

            vmassol Vincent Massol
            vmassol Vincent Massol
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: