[GeoNetwork-devel] [GeoNetwork opensource Developer website] #1128: Changing protocol for online resources does not work properly

#1128: Changing protocol for online resources does not work properly
----------------------------------+-----------------------------------------
Reporter: ianwallen | Owner: geonetwork-devel@…
     Type: defect | Status: new
Priority: major | Milestone: v2.8.0
Component: User interface (web) | Version: v2.8.0RC2
Keywords: |
----------------------------------+-----------------------------------------
When data is already loaded in the online resouce and the name contains
data, attempting to change the protocol generates an error

{{{
A file may have been uploaded. You cannot change the protocol until you
remove that file
}}}

This error does not make sense for most of the protocols.

Since this particular error message only seem to apply to "File for
download" option the code should be updated so that only when this option
is changed should it generate the error message.

Otherwise the current hack is to
    * null the name
    * change the protocol
    * re-insert the name

More information can be found on this discussion [http://osgeo-
org.1560.n6.nabble.com/issues-with-changing-protocol-for-online-resources-
td5011580.html]

--
Ticket URL: <http://trac.osgeo.org/geonetwork/ticket/1128&gt;
GeoNetwork opensource Developer website <http://sourceforge.net/projects/geonetwork/&gt;
GeoNetwork opensource is a standards based, Free and Open Source catalog application to manage spatially referenced resources through the web. It provides powerful metadata editing and search functions as well as an embedded interactive web map viewer. This website contains information related to the development of the software.

#1128: Changing protocol for online resources does not work properly
-----------------------------------+----------------------------------------
  Reporter: ianwallen | Owner: geonetwork-devel@…
      Type: defect | Status: closed
  Priority: major | Milestone: v2.8.0
Component: User interface (web) | Version: v2.8.0RC2
Resolution: fixed | Keywords:
-----------------------------------+----------------------------------------
Changes (by ianwallen):

  * status: new => closed
  * resolution: => fixed

Comment:

Fixed in commit b52286f03635ba33aca39de46689c0db8ec51843

--
Ticket URL: <http://trac.osgeo.org/geonetwork/ticket/1128#comment:1&gt;
GeoNetwork opensource Developer website <http://sourceforge.net/projects/geonetwork/&gt;
GeoNetwork opensource is a standards based, Free and Open Source catalog application to manage spatially referenced resources through the web. It provides powerful metadata editing and search functions as well as an embedded interactive web map viewer. This website contains information related to the development of the software.