Uploaded image for project: 'Sling'
  1. Sling
  2. SLING-6997

Write Pipe constructions spits out an error when path depends on expressions

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • Pipes 0.0.10
    • Pipes 1.0.4
    • Extensions
    • None

    Description

      in case a write pipe depends on an expression, it fails with following ERROR

             at jdk.nashorn.api.scripting.NashornScriptEngine.evalImpl(NashornScriptEngine.java:406)
              at jdk.nashorn.api.scripting.NashornScriptEngine.evalImpl(NashornScriptEngine.java:402)
              at jdk.nashorn.api.scripting.NashornScriptEngine.eval(NashornScriptEngine.java:155)
              at org.apache.sling.pipes.PipeBindings.evaluate(PipeBindings.java:230)
              at org.apache.sling.pipes.PipeBindings.instantiateExpression(PipeBindings.java:243)
              at org.apache.sling.pipes.BasePipe.getPath(BasePipe.java:136)
              at org.apache.sling.pipes.internal.WritePipe.<init>(WritePipe.java:65)
      
      

      setting this up as minor, as it "just" spoils the logs, resourceExpression being useless

      Attachments

        Issue Links

          Activity

            People

              npeltier Nicolas Peltier
              npeltier Nicolas Peltier
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: