Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[udig-devel] [jira] (UDIG-1924) IGeoResource's Persistent Properties - Case Sensitive Keys

Issue Type: Bug Bug
Affects Versions: UDIG 1.3.1
Assignee: Jody Garnett
Components: framework
Created: 30/Jul/12 10:26 PM
Description:

Background: We are trying to store some metadata (mapping of attributes that point to documents) for DocumentView.

Issue: We are not able get the metadata that we stored because there are two entries in the properties map. See sample below and notice the different cases of 'c:'/'C:'. (Note that I was just using a filesystem shapefile here to test the function).

{c:\Users\nchan\Downloads\DocumentsView\internal\australia.shp#australia={title=australia, hotlink=ISO:FILE,STATE:FILE},
C:\Users\nchan\Downloads\DocumentsView\internal\australia.shp#australia={title=australia}}

Our implementation just uses the basic usage below to get/set the properties which internally just gets the resource's ID as key:

IGeoResource.getPersistentProperties().put(key, value)
or
IGeoResource.getPersistentProperties().get()

A suspect from Jody is that there may be another function that also uses properties that does not use IDs but rather calls shapefile.toUrl() directly.

Environment: Win 7
Project: uDIG
Priority: Major Major
Reporter: Naz Chan
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira

Back to the top