Details

    • Type: Bug
    • Status: Open (View Workflow)
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 2.1.3.Final
    • Fix Version/s: None
    • Component/s: Core, Predicate Language
    • Labels:
      None

      Description

      This example from the undertow docs doesn't parse:

      http://undertow.io/undertow-docs/undertow-docs-2.0.0/#textual-representation-of-handlers

       

      path-template('/foobar') -> {
       redirect(/);
      } else {
       path(/some-other-path) -> header(header=my-header,value=my-value)
      }
      

      The error is 

      Error parsing predicated handler string unexpected token ->

      The nested path() predicate causes the parsing error.  Removing the nested path() predicate will allow the example to work.  

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                flavia.rainone Flavia Rainone
                Reporter:
                bdw429s Brad Wood
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated: