Grails
  1. Grails
  2. GRAILS-7929

GSP Compilation error doesn't show error location (file and line number) for syntax tags

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 2.0-M1
    • Fix Version/s: 2.0-M2
    • Component/s: View technologies
    • Labels:
    • Environment:
      latest 2.0.0.BUILD-SNAPSHOT head at adf81e86c0ac4282b264cd2244317f3b5553ad32

      Description

      GSP compilation doesn't report the error location (file and line number) for the g:if tag.

      example gsp fragment:

      <g:if>
      env or test is missing
      </g:if>
      

      reproducing error: unzip the attached test app and do "grails war". it gives an error:

      | Error GSP Compilation error in file null at line 0: Tag [if] must have one or both of the attributes [test] or [env]
      

        Activity

        Show
        Lari Hotari added a comment - Commit: https://github.com/grails/grails-core/commit/1a2baabdd20068a3c1c19d86e728ea0130b16809

          People

          • Assignee:
            Lari Hotari
            Reporter:
            Lari Hotari
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development