SonarQube Plugins
  1. SonarQube Plugins
  2. SONARPLUGINS-2207

flex pmd mxml file incorrectly identifies script and metadata blocks

    Details

    • Type: Bug Bug
    • Status: Closed Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: FLEX-1.1
    • Fix Version/s: FLEX-1.2
    • Component/s: Flex
    • Labels:
      None
    • Patch Submitted:
      Yes
    • Number of attachments :
      0

      Description

      MxmlFile.as incorrectly identifies script and metadata blocks in mxml files because it is not specific enough. Any tag with "script" or "metadata" in it is matched.

      e.g.

      <somethingscript></somethingscript>

      https://github.com/SonarCommunity/sonar-flex/pull/1

        Issue Links

          Activity

          Hide
          Evgeny Mandrikov added a comment -
          Show
          Evgeny Mandrikov added a comment - Patch was applied in https://github.com/SonarCommunity/sonar-flex/commit/3daa185c2ac9846a69eb033dc7e733fc0f2956da Thanks for your contribution.
          Hide
          Freddy Mallet added a comment -

          Not tested

          Show
          Freddy Mallet added a comment - Not tested
          Hide
          Evgeny Mandrikov added a comment -

          I close it as is.

          Show
          Evgeny Mandrikov added a comment - I close it as is.

            People

            • Assignee:
              Evgeny Mandrikov
              Reporter:
              Jeffrey Barrus
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: