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

New plugin project wizard and new profile dialog can complete with validation errors present


    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 2.0.0 M2
    • 2.0.0
    • Wizards, Wizards > Project
    • None


      – For reproducing error in the plugin wizard

      • Set up sdk and runtime
      • Open liferay plugin wizard
      • Select build type to 'ant' and uncheck the used default location
      • Select a valid location and make the error disappear
      • Then type in invalid location, when the typing is on present, no error will show up because validation hasn't been finished, quickly click on finish button.
      • Will see the creation failure or unexpected things happen, becaused finish action shouldn't be allowed during the typing process when validation still on present.
      • You can also switch build type to 'maven'
      • Type in invalid charactors to group id or Active profiles
      • When typing is on present, quickly click on finish button.
      • Will see the same issue caused by the same reason.

      – For reproducing error in the new profile dialog

      • Switch build type to 'maven'
      • Open new maven profile dialog (Click on the Active profiles creation button)
      • Type in invalid charactors to new profile id
      • When the typing is on present, will see the OK buttont still show up.
      • Quickly click on OK button
      • This action can be done which shouldn't be allowed.

      This is a sapphire bug we've reported in the bugzilla:

      But it may not be fixed before we release 2.0, in this case, we can fix it ourselves.




            gregory.amerson Gregory Amerson
            tao.tao Tao Tao (Inactive)
            0 Vote for this issue
            1 Start watching this issue


              8 years, 40 weeks, 2 days ago


                Version Package