Search flags wrong lines in JSP

Home Forums Archived Forums MyEclipse Archived Bugs Search flags wrong lines in JSP

This topic contains 6 replies, has 3 voices, and was last updated by Profile photo of Brian Fernandes Brian Fernandes 2 years, 9 months ago.

Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #323738
    Profile photo of steveh
    steveh
    Member

    I have a problem since upgrading to MyEclipse IDE 10. If I do a File Search then if a result is within a JSP instead of the correct matching text being marked the editor marks another, slightly earlier, position in the file. If I do a search and replace then it is this earlier – wrong – text that is replaced instead of the matching text.

    I am set up for JSPs to use the MyEclipse JSP Editor for .jsp files (NOT the JSP Visual Designer). This bug happens every time.

    Installation details are below:

    *** Date:
    Monday, 27 February 2012 14:52:28 o’clock GMT

    ** System properties:
    OS=WindowsXP
    OS version=5.1.0
    Java version=1.6.0_31

    *** MyEclipse details:
    MyEclipse Enterprise Workbench
    Version: 10.0
    Build id: 10.0-20111028

    *** Eclipse details:
    MyEclipse Enterprise Workbench

    Version: 10.0
    Build id: 10.0-20111028

    Eclipse startup command=-os
    win32
    -ws
    win32
    -arch
    x86
    -showsplash
    -launcher
    C:\Program Files\Genuitec\Profiles\MyEclipse 10\myeclipse.exe
    -name
    Myeclipse
    –launcher.library
    C:\Program Files\Genuitec\Profiles\MyEclipse 10\../../Common/plugins/org.eclipse.equinox.launcher.i18n.win32.win32.x86_3.2.0.v201103301700\eclipse_3215.dll
    -startup
    C:\Program Files\Genuitec\Profiles\MyEclipse 10\../../Common/plugins/org.eclipse.equinox.launcher_1.2.0.v20110502.jar
    -install
    C:\Program Files\Genuitec\Profiles\MyEclipse 10
    -configuration
    C:\Program Files\Genuitec\Profiles\MyEclipse 10\configuration
    -vm
    C:\Program Files\Java\jre6\bin\client\jvm.dll

    #323761
    Profile photo of support-swapna
    support-swapna
    Moderator

    steveh ,

    Thanks for pointing to it.I could replicate the issue at my end. I have filed a PR for the dev team to work on it.
    Let us know if you have any other issues.

    #327587
    Profile photo of steveh
    steveh
    Member

    I’ve just upgraded to 10.5 and this bug is still present when searching JSPs and HTML files. Any idea when it might be fixed or if a workaround is known?

    #327678
    Profile photo of support-swapna
    support-swapna
    Moderator

    steveh,

    Sorry that we missed this out. We had several priority issues to be worked for 10.5.
    I will check with the dev team on this one and get back to you.

    Sorry for inconvenience.

    #327770
    Profile photo of support-swapna
    support-swapna
    Moderator

    steveh,

    The dev team is investigating this issue for the next release. Unfortunately, there is no workaround for now. We will post the workaround if the team comes up with one.

    Sorry for inconvenience.

    #327832
    Profile photo of Brian Fernandes
    Brian Fernandes
    Moderator

    Steve,

    While we have reproduced some variations of this problem; we’re having a hard time reproducing this consistently. Since you seem to have 100% reproduction rate, I’d like to ask you some questions:

    1) Are you able to reproduce this issue right off the bat when you start MyEclipse? If you start MyEclipse and then do a search in a project, do you immediately see the wrong locations highlighted? Or do you need to run a deploy or save the file, open in an editor, etc.? Any steps that will help us reproduce the problem consistently?

    2) If yes to the above, can you create a new dummy web project and create an HTML file it in it. Try to reproduce this problem by searching for some text in this file. Can you reproduce it here too or is it specific to your project?

    Thanks.

    #330036
    Profile photo of Brian Fernandes
    Brian Fernandes
    Moderator

    Steve,

    This issue was tracked and fixed in the 10.6 release which is available now. 10.6 can be installed via a small update from the MyEclipse Configuration Center or you could download a new installer instead. If you still experience the same problem with 10.6, please let us know.

    Thank you for reporting the problem.

Viewing 7 posts - 1 through 7 (of 7 total)

The forum ‘Bugs’ is closed to new topics and replies.