PILLUTLAAVINASH / google-enterprise-connector-manager

Automatically exported from code.google.com/p/google-enterprise-connector-manager
0 stars 0 forks source link

Adding a connector with an existing name is detected late. #46

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. The user creates a connector instance called "foo" in the GSA admin console.
2. From the Connectors page, the user selects the same connector manager
and click Add New Connector.
3. The GSA makes a getConnectorList request to the Connector Manager.
4. The user types "foo" in the Connector Name field and clicks Get
Configuration Form.
5. The GSA makes a getConfigForm request to the Connector Manager and
displays the configuration form.
6. The user optionally fills out the form, and then clicks the Save
Configuration button.
7. The GSA issues an error: "The following connector name already exists:
foo." 

What is the expected output? What do you see instead?

The GSA does not make a request to the Connector Manager before issuing the
error in step 7, so it's not checking with the Connector Manager to see if
the connector has been defined. That means that it has the information it
needs in order to have determined the collision in step 5, rather than waiting.

Also, in step 7, the GSA does not display the connector's form snippet. To
configure the connector under a different name, I have to submit the
configuration form with no connector parameters. The GSA then calls
getConfigForm again and displays the full configuration form.

I think the best thing would be to alert the user to the name collision in
step 5. Barring that, the configuration form that was submitted in step 6
should be redisplayed, or the user has lost any edits they have made.

What version of the product are you using? On what operating system?

Hosted GSA at 8.6.49.37, Connector Manager revision 449.

Please provide any additional information below.

Original issue reported on code.google.com by jl1615@gmail.com on 25 May 2007 at 9:57

GoogleCodeExporter commented 8 years ago
Need to do more research on this.

Original comment by donald.z...@gmail.com on 18 Apr 2008 at 10:14

GoogleCodeExporter commented 8 years ago
This is a duplicate of Google bug #759827.

Original comment by jl1615@gmail.com on 4 Feb 2009 at 1:58