Opened 17 years ago
Closed 17 years ago
#204 closed defect (fixed)
added same wms twice into a gui
Reported by: | Vera | Owned by: | Uli Rothstein |
---|---|---|---|
Priority: | major | Milestone: | 2.5 release |
Component: | administration | Version: | 2.5 rc2 |
Keywords: | Load / Add WMS twice into a gui | Cc: |
Description
Added the same wms (germany) twice into a gui with the following error message:
Warning: pg_execute() [function.pg-execute]: Query failed: FEHLER: duplizierter Schlüssel verletzt Unique-Constraint »pk_gui_layer« in /data/mapbender/http/php/database-pgsql.php on line 176
There should be a Warning for users who try to load the same wms to a gui.
Change History (1)
comment:1 by , 17 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
Version: | 2.4.4 → 2.5 rc2 |
Note:
See TracTickets
for help on using tickets.
added validation to check wether a WMS is already loaded into a gui.
http://trac.osgeo.org/mapbender/browser/branches/2.5/http/php/mod_loadCapabilitiesList.php?rev=2464