Details
-
Type:
Improvement
-
Status:
Closed
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: UDIG 1.1.1, UDIG 1.2.M2, UDIG 1.2.M3, UDIG 1.2.M4, UDIG 1.2.M5, UDIG 1.2.M6
-
Fix Version/s: UDIG 1.2.1
-
Component/s: application, framework
-
Labels:None
-
Patch attached:Yes
Description
Add layers from a service that has an identifier like (http://myproduct.mycompany.com) may result into blocking operations in GeometryProperty because of the URL.equals implementation. It properly depends on infrastructure and network settings (proxy).
Solution: collect Layer-ID's as String in a set and compare these (see attached patch).
See also javadoc of "equals" method in java.net.URL class ('Since hosts comparison requires name resolution, this operation is a blocking operation.')
Activity
Jody Garnett
made changes -
| Field | Original Value | New Value |
|---|---|---|
| Fix Version/s | UDIG 1.2.0 [ 16264 ] |
Jody Garnett
made changes -
| Fix Version/s | UDIG 1.2.1 [ 16440 ] | |
| Fix Version/s | UDIG 1.2.0 [ 16264 ] |
Andrea Antonello
made changes -
| Status | Open [ 1 ] | Resolved [ 5 ] |
| Resolution | Fixed [ 1 ] |
Andrea Antonello
made changes -
| Status | Resolved [ 5 ] | Closed [ 6 ] |