[GeoNetwork-devel] [GeoNetwork opensource Developer website] #677: Error when trying to change the system configuration

#677: Error when trying to change the system configuration
----------------------------------------+-----------------------------------
Reporter: johnh | Owner: geonetwork-devel@…
     Type: defect | Status: new
Priority: major | Milestone: v2.6.5
Component: General | Version: v2.6.3
Keywords: system configuration error |
----------------------------------------+-----------------------------------
Hi,

I am running GeoNetwork 2.7.0 on Linux debian platform with amd64. I have
logged in as 'admin' and selected the 'Administration' menu option. If I
select "System configuration" the input form is shown but when I try to
save any changes to the form I get the error:

"Unable to save the system configuration
Error : operation-aborted
Message : Cannot set all values
Class : OperationAbortedEx
"
I get the same error even if I don't make any changes and select the
"save" button.

Thanks.

johnh

--
Ticket URL: <http://trac.osgeo.org/geonetwork/ticket/677&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.

#677: Error when trying to change the system configuration
----------------------------------------+-----------------------------------
Reporter: johnh | Owner: geonetwork-devel@…
     Type: defect | Status: new
Priority: major | Milestone: v2.7.0
Component: General | Version: v2.6.3
Keywords: system configuration error |
----------------------------------------+-----------------------------------
Changes (by johnh):

  * milestone: v2.6.5 => v2.7.0

--
Ticket URL: <http://trac.osgeo.org/geonetwork/ticket/677#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.

#677: Error when trying to change the system configuration
----------------------------------------+-----------------------------------
Reporter: johnh | Owner: geonetwork-devel@…
     Type: defect | Status: new
Priority: major | Milestone: v2.7.0
Component: General | Version: v2.6.3
Keywords: system configuration error |
----------------------------------------+-----------------------------------
Changes (by johnh):

* cc: johnh (added)

--
Ticket URL: <http://trac.osgeo.org/geonetwork/ticket/677#comment:2&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.

#677: Error when trying to change the system configuration
----------------------------------------+-----------------------------------
Reporter: johnh | Owner: geonetwork-devel@…
     Type: defect | Status: new
Priority: major | Milestone: v2.7.0
Component: General | Version: v2.6.3
Keywords: system configuration error |
----------------------------------------+-----------------------------------

Comment(by fxp):

This is a configuration error. You probably have missing settings. Check
the settings table.
{{{
2011-11-28 11:14:04,167 DEBUG [geonetwork.settings] - Set path:
system/metadata/defaultView, value: simple
2011-11-28 11:14:04,167 DEBUG [geonetwork.settings] - Unable to find
Settings row.
}}}

If you could update to (at least) revision 8121, the debug info contains
the missing settings path now :
"Unable to find Settings row for: " + path
and helps solving that type of issue.

--
Ticket URL: <http://trac.osgeo.org/geonetwork/ticket/677#comment:3&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.

#677: Error when trying to change the system configuration
----------------------------------------+-----------------------------------
Reporter: johnh | Owner: geonetwork-devel@…
     Type: defect | Status: new
Priority: major | Milestone: v2.7.0
Component: General | Version: v2.6.3
Keywords: system configuration error |
----------------------------------------+-----------------------------------

Comment(by heikki):

Just to explain a bit more:

the settings table represents a hierarchical, tree structure, of the
settings. So each setting has a 'parent' setting.

If any ancestor setting is missing, settings can't be saved and you get
this message.

In my opinion this implementation is unnecessarily prone to error and we'd
be better off replacing it with simple key-value pair settings. The
hierarchy is not very useful, and to retain some kind of grouping we could
simply use a field 'type' or so.

--
Ticket URL: <http://trac.osgeo.org/geonetwork/ticket/677#comment:4&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.

#677: Error when trying to change the system configuration
----------------------------------------+-----------------------------------
Reporter: johnh | Owner: geonetwork-devel@…
     Type: defect | Status: new
Priority: major | Milestone: v2.7.0
Component: General | Version: v2.6.3
Keywords: system configuration error |
----------------------------------------+-----------------------------------

Comment(by josegar74):

Related to #431

--
Ticket URL: <http://trac.osgeo.org/geonetwork/ticket/677#comment:5&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.

#677: Error when trying to change the system configuration
----------------------+-----------------------------------------------------
  Reporter: johnh | Owner: geonetwork-devel@…
      Type: defect | Status: closed
  Priority: major | Milestone: v2.7.0
Component: General | Version: v2.6.3
Resolution: invalid | Keywords: system configuration error
----------------------+-----------------------------------------------------
Changes (by simonp):

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

Comment:

Move settings changes proposed here to enhancement in ticket #677 and
close this ticket as invalid because in this case the database was
actually out of date with respect to the settings - see comment by fxp
above.

--
Ticket URL: <http://trac.osgeo.org/geonetwork/ticket/677#comment:6&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.

#677: Error when trying to change the system configuration
----------------------+-----------------------------------------------------
  Reporter: johnh | Owner: geonetwork-devel@…
      Type: defect | Status: closed
  Priority: major | Milestone: v2.7.0
Component: General | Version: v2.6.3
Resolution: invalid | Keywords: system configuration error
----------------------+-----------------------------------------------------

Comment(by simonp):

Ticket #759 is the ticket with the settings enhancement

--
Ticket URL: <http://trac.osgeo.org/geonetwork/ticket/677#comment:7&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.