Uploaded image for project: 'PUBLIC - Liferay IDE'
  1. PUBLIC - Liferay IDE
  2. IDE-2046

JSP validation become very slow and No validation when no runtime

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 3.0.0
    • Fix Version/s: 3.0 M1
    • Component/s: Editors, Editors > JSP
    • Labels:
      None
    • Environment:
      Liferay IDE 3.0.0.201507070652

      Description

      in jsp file , if there has many validations for the properties then it will become very slow .

      eg. if there is 100 lines of
      "<liferay-ui:error message="MessageKeyTest"/>"
      then the file will take like 40s to finish validation .it should be done in few seconds.

      Stack:
      SDK.getBuildProperties() line: 773
      ServerUtil.getPortalBundle(IProject) line: 495
      PluginsSDKProjectProvider.provide(Object) line: 344
      LiferayCore.create(Object) line: 69
      LiferayJspValidator.validateReferenceToProperty(IXMLReferenceTo, IDOMNode, IFile, IValidator, IReporter, boolean) line: 275

      Also , when there is no runtime , the validation will be wrong , the JSP editor will show no error or warning

        Attachments

          Activity

            People

            Assignee:
            simon.jiang Simon Jiang
            Reporter:
            lu.li Lu Li (Inactive)
            Participants of an Issue:
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Days since last comment:
              6 years, 19 weeks, 5 days ago

                Packages

                Version Package
                3.0 M1