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

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 3.0.0
    • 3.0 M1
    • Editors, Editors > JSP
    • None
    • 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

            simon.jiang Simon Jiang
            lu.li Lu Li (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:
              7 years, 12 weeks, 4 days ago

              Packages

                Version Package
                3.0 M1