Uploaded image for project: 'Nuxeo Platform'
  1. Nuxeo Platform
  2. NXP-31873

Cannot create a document whose name starts with @

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: 2021.36
    • Fix Version/s: None
    • Component/s: Core

      Description

      Step to reproduce with LTS 2021.36

      1. Navigate to any container where you can create a Folder
      2. Create a folder
      3. In the title, enter @test
      4. Click "Create"

      => a 404 page is displayed.

      Notice the @test folder is created, but you can't open it, it always lead to a 404.

      I believe there is an ambiguity with the @ signed used to trigger a Web Adapter, because the error in the log is: 

      Unable to find source-code formatter for language: shell. Available languages are: actionscript, ada, applescript, bash, c, c#, c++, cpp, css, erlang, go, groovy, haskell, html, java, javascript, js, json, lua, none, nyan, objc, perl, php, python, r, rainbow, ruby, scala, sh, sql, swift, visualbasic, xml, yaml2023-05-15T09:46:43,774 WARN  [http-nio-0.0.0.0-8080-exec-17] [org.nuxeo.ecm.webengine.app.WebEngineExceptionMapper] org.nuxeo.ecm.webengine.model.exceptions.WebResourceNotFoundException: Service Something not found for object: /nuxeo/site/api/v1/path/default-domain/Misc/File%20Test of type Document
      org.nuxeo.ecm.webengine.model.exceptions.WebResourceNotFoundException: Service Something not found for object: /nuxeo/site/api/v1/path/default-domain/Misc/File%20Test of type Document
              at org.nuxeo.ecm.webengine.model.impl.ModuleImpl.getAdapter(ModuleImpl.java:227)
              at org.nuxeo.ecm.webengine.model.impl.AbstractWebContext.newAdapter(AbstractWebContext.java:347)
              at org.nuxeo.ecm.webengine.model.impl.DefaultObject.disptachAdapter(DefaultObject.java:44)
      

        Attachments

          Activity

            People

            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated: