Bug 562405 - eclipse+command:// handler should check whether the command is defined
Summary: eclipse+command:// handler should check whether the command is defined
Status: NEW
Alias: None
Product: Platform
Classification: Eclipse Project
Component: UI (show other bugs)
Version: 4.16   Edit
Hardware: PC Mac OS X
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Platform-UI-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-04-22 09:40 EDT by Thomas Wolf CLA
Modified: 2020-04-22 09:43 EDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Thomas Wolf CLA 2020-04-22 09:40:00 EDT
Try

  <a href="eclipse+command://foo.bar.baz?boo=gaga">Eclipse Command</a><br />

You'll get a popup asking about whether it is OK to execute a command 'Undefined'.

The recently added EclipseCommandURIHandler should check earlier whether the command exists (and possibly also, whether there is an active and enabled handler for it, i.e., if it is handled at all), and avoid bothering the user if not. (Possibly log an error.)