Uploaded image for project: 'Tools (JBoss Tools)'
  1. Tools (JBoss Tools)
  2. JBIDE-10022

Multiple problem markers on the same broken EL

XMLWordPrintable

      EXECUTE: Create a jsf kickstart project (2.0)
      EXECUTE: Open greeting.xhtml
      EXECUTE: Change #

      {msgs.greeting}

      to #

      {msgs.greeting1}

      . Save the file.
      FAILURE: See Problems View. There are four warning messages instead of the only one.

      I see there at lease two problems. First at all it seems that EclipseUIUtil.isOpenInActiveEditor(IFile) doesn't work anymore. It returns false for any file even if it is open in an active editor. So we use the cached page context of the file when we are editing it. This is a bug.
      Second issue is that our PageContextFactory returns a context with many duplicated EL references for the same EL. It causes multiple problem markers for the same EL.

            vrubezhny Victor Rubezhny (Inactive)
            alexeykazakov Alexey Kazakov
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: