MyEclipse Forums
Post new topic   Reply to topic
View previous topic Printable version Log in to check your private messages View next topic
Author Message
gmascherino
Post subject: JavaScript validation issues after upgrading to 10  PostPosted: Nov 15, 2011 - 06:06 PM



Joined: Nov 04, 2011
Posts: 8

I recently upgraded to 10.0 and now have major JavaScript validation issues. I am working on a large project that contains over 1000 jsp files and almost all of them include statements like: onkeypress="return textAreaLimit(this, 255)". That should be perfectly valid and validated fine in 9.1. It causes several thousand validation errors in my project.

If that wasn't a serious enough issue I am having a problem where MyEclipse occasionally ignores the setting to exclude resources after my project is refreshed, either manually or when I relaunch MyEclipse. I go to my project properties, then MyEclipse->Validation->Excluded Resources and then check my folders that contain my jsps to hide the validation errors. Then sometimes MyEclipse seems to ignore that setting and all of my jsp validation errors return. The only way to fix it is to go back into the excluded resources section, uncheck the resources, wait for the long process to re-validate, and then recheck the resources and then again wait for it to re-validate.

I found references to the eclipse bug online associated with my validation issues here: https://bugs.eclipse.org/bugs/show_bug.cgi?format=multiple&id=353198
 
 View user's profile Send private message  
Reply with quote Back to top
support-swapna
Post subject:   PostPosted: Nov 16, 2011 - 11:24 AM



Joined: Nov 11, 2010
Posts: 2149

gmascherino ,

I have escalated it to a dev team member. They will get back to you.

_________________
Swapna
MyEclipse Support
 
 View user's profile Send private message  
Reply with quote Back to top
Support-Brian
Post subject:   PostPosted: Nov 17, 2011 - 10:39 AM
Moderator
Moderator


Joined: Aug 21, 2004
Posts: 2509

gmascherino

1) A workaround for now, please go to Window > Preferences > MyEclipse > Files & Editors > Javascript > Validator > Errors & Warnings - disable the semantic validation here and your error should disappear.

We are going to fix this particular problem for 10.0.1, so that you don't see it even when the semantic validation is enabled.

2) instead of Excluding validation using those settings, you can go to the global validation preferences at Window > Preferences > MyEclipse > Validation and turn off the JS validators there, or you could do that at the project level too.

_________________
Brian
MyEclipse Support
 
 View user's profile Send private message Visit poster's website  
Reply with quote Back to top
Support-Brian
Post subject:   PostPosted: Nov 20, 2011 - 07:51 PM
Moderator
Moderator


Joined: Aug 21, 2004
Posts: 2509

A fix for this issue has been released in our milestone stream release of 10.0.1; please see this link for further details.

_________________
Brian
MyEclipse Support
 
 View user's profile Send private message Visit poster's website  
Reply with quote Back to top
Display posts from previous:     
Jump to:  
All times are GMT - 6 Hours
Post new topic   Reply to topic
View previous topic Printable version Log in to check your private messages View next topic
Powered by PNphpBB2 © 2003-2004 The PNphpBB Group
Credits