Bug 561429 - Validation Filter for XML Validator does not allow to pick file
Summary: Validation Filter for XML Validator does not allow to pick file
Status: NEW
Alias: None
Product: WTP Common Tools
Classification: WebTools
Component: wst.validation (show other bugs)
Version: 3.17 (2020-03)   Edit
Hardware: PC Windows 10
: P3 major with 2 votes (vote)
Target Milestone: ---   Edit
Assignee: wst.validation CLA
QA Contact: Chuck Bridgham CLA
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-03-24 16:31 EDT by Michael Moser CLA
Modified: 2024-05-16 05:34 EDT (History)
4 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Michael Moser CLA 2020-03-24 16:31:49 EDT
I want to exclude a specific file from XML validation but I can't select that file! The Folder or Filename dialog is obviously broken!

To reproduce:
In Window -> Preferences -> Validation pick XML Validator - Settings.
Create an Exclude Group. Next try to add a Rule to exclude a specific file to that Exclude Group. Click [Add Rule] and choose "Folder or File-name" and hit [Next]. 
You get a "Folder or Filename" dialog. Click the [Browse File...] button. In the file selection box navigate to the XML-File, select it and hit [Open]. 
You are back in the "Folder or Filename" dialog but the File or Folder-input field remains empty! ==> It's impossible to choose a file here!
Comment 1 Balazs Mesko CLA 2022-11-30 08:37:40 EST
This is issue is still there in 2022-09. When clicking "Add Rule" the new window opens, but "Validation filters for X Validation" remains the active window, so it is impossible to interact with the "New Filter Rule Wizard" window.
Comment 2 Robert White CLA 2023-04-20 09:20:02 EDT
This issue is still there in 2023-03 as described by Balazs Mesko. You can close the "Validation filters for XML Validation" dialog and the file picker dialog remains and is active, however no rule is created no matter what file is picked.
Comment 3 Balazs Mesko CLA 2024-05-15 09:10:16 EDT
The issue is still there in 2024-03. Could somebody direct me to a repo where could I fix this?
Comment 4 Erik Brangs CLA 2024-05-15 10:23:21 EDT
Take a look at https://github.com/eclipse-wtp-common/webtools.common .

There were some recent changes that might fix the issue ( see https://github.com/eclipse-wtp-common/webtools.common/commit/e4975b976c24c12561bcd77b7e4212c9a8ad6bf4 ). The changes are not in 2024-06 M1 so you will have to build locallly or wait for 2024-06 M2 to check if this is fixed.
Comment 5 Balazs Mesko CLA 2024-05-16 05:34:40 EDT
That's great news, I'll check out the M2 as soon as it is out.