Opened 12 years ago

Closed 12 years ago

#1128 closed defect (fixed)

Changing protocol for online resources does not work properly

Reported by: ianwallen Owned by: geonetwork-devel@…
Priority: major Milestone: v2.8.0
Component: User interface (web) Version: v2.8.0RC2
Keywords: Cc:

Description

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

Change History (1)

comment:1 by ianwallen, 12 years ago

Resolution: fixed
Status: newclosed

Fixed in commit b52286f03635ba33aca39de46689c0db8ec51843

Note: See TracTickets for help on using tickets.