Bug report #19069

Copy attribute / Copy feature attributes doesn't return value if value is URI

Added by James Passmore almost 6 years ago.

Status:Open
Priority:Normal
Assignee:-
Category:Unknown
Affected QGIS version:3.0.3 Regression?:No
Operating System:Windows Easy fix?:No
Pull Request or Patch supplied:No Resolution:
Crashes QGIS or corrupts data:No Copied to github as #:26899

Description

When using the identify tool, and looking at the values of a feature in the Identify Results window, I can right click and copy the attribute value when the value is plain text or a number, but not when the value is an URI. Similarly when I right click and select Copy feature attributes, I get all attribute names, but no values that are URIs.

For example, if I do a Copy feature attributes on the following feature (image)

Example of identify results with URI attributes

I only get the following text:

fid: 52
identifier: #M4EU.CO_264675
commodity: TREO
commodityRank: 
commodityImportance: 
mineralOccurrenceName: Aksu Diamas
commodityClassifier_uri: 
mineralOccurrence_uri: 
specification_uri: 
endusepotential: 
representativeCommodity_uri: 
mineralOccurrenceType_uri: 
inspire: GB.BGS.EURARE
country: TR

copy-attributes.png - Example of identify results with URI attributes (124 KB) James Passmore, 2018-05-30 07:13 PM

Also available in: Atom PDF