Opened 12 years ago
Closed 12 years ago
#1140 closed defect (invalid)
Missing online resource protocols
Reported by: | ianwallen | Owned by: | |
---|---|---|---|
Priority: | major | Milestone: | v2.8.0 |
Component: | General | Version: | v2.8.0RC2 |
Keywords: | Cc: |
Description
It seems like the code is currently hard coded to used the following protocols however they are not in the protocol list (https://github.com/geonetwork/core-geonetwork/blob/master/web/src/main/webapp/loc/eng/xml/strings.xml#L712)
WWW:LINK-*http--download iso-19139 WWW:LINK-1.0-http--metadata-URL MCP WWW:LINK-*http--downloaddata MCP
These should be added to the list otherwise what is happening, is that they assigned but when the protocol drop down list is shown - it ends up defaulting to the first item in the list.
See the following thread
Change History (4)
comment:1 by , 12 years ago
comment:2 by , 12 years ago
I believe I found the value to be used.
<protocolChoice value="WWW:LINK-1.0-http--download">Web address for download</protocolChoice>
<protocolChoice show="y" value="WWW:LINK-1.0-http--metadata-URL">Metadata URL</protocolChoice> <protocolChoice show="y" value="WWW:LINK-1.0-http--downloaddata">Data for download (URL)</protocolChoice>
As the MCP file are added based on the anzmest-config-overrides.xml - it seems that if these are added to the current list, it may cause some issues.
Any objection with adding these to the current list?
The reason I believe they should be there is because they are hard coded in the current logic and if they are not added the protocol drop down list defaults to to first item in the list.
If there are objections it is not a problem - a work around would be to create my own config-overrride to include these value.
Any comments?
comment:4 by , 12 years ago
Resolution: | → invalid |
---|---|
Status: | new → closed |
I now have a better understanding of this list and it seems to be related to not being able to fully separate the xsl from other projects such as anzmest and geocat.
Ticket #984 should help separate the projects better.
So Marking it as invalid for now.
If someone wants to supply me with the protocol values and the associated text then I can add them to the list.