#530: Deleting subelements n Point Of Contact in metadata editor
-----------------------+----------------------------------------------------
Reporter: josegar74 | Owner: geonetwork-devel@…
Type: defect | Status: new
Priority: major | Milestone: v2.6.5
Component: General | Version: v2.6.4
Keywords: |
-----------------------+----------------------------------------------------
Possibly happens with other elements although I could reproduce it with
Point Of Contact.
Test: With default editor start removing the Point Of Contact subelements.
After some deletes is shown the attached window.
Log file contains an exception like:
{{{
2011-06-08 17:18:52,889 ERROR [jeeves.service] - (C) Exc :
java.lang.IllegalStateException: Element not found at ref = 96
2011-06-08 17:18:52,889 DEBUG [jeeves.service] - Raised exception while
executing service
<error id="error">
<message>Element not found at ref = 96</message>
<class>IllegalStateException</class>
<stack>
<at class="org.fao.geonet.kernel.DataManager" file="DataManager.java"
line="1477" method="deleteElementEmbedded" />
<at class="org.fao.geonet.services.metadata.DeleteElement"
file="DeleteElement.java" line="72" method="exec" />
<at class="jeeves.server.dispatchers.ServiceInfo"
file="ServiceInfo.java" line="238" method="execService" />
<at class="jeeves.server.dispatchers.ServiceInfo"
file="ServiceInfo.java" line="141" method="execServices" />
<at class="jeeves.server.dispatchers.ServiceManager"
file="ServiceManager.java" line="399" method="dispatch" />
<at class="jeeves.server.JeevesEngine" file="JeevesEngine.java"
line="670" method="dispatch" />
<at class="jeeves.server.sources.http.JeevesServlet"
file="JeevesServlet.java" line="185" method="execute" />
<at class="jeeves.server.sources.http.JeevesServlet"
file="JeevesServlet.java" line="98" method="doGet" />
<at class="javax.servlet.http.HttpServlet" file="HttpServlet.java"
line="707" method="service" />
<at class="javax.servlet.http.HttpServlet" file="HttpServlet.java"
line="820" method="service" />
</stack>
<request>
<language>en</language>
<service>metadata.elem.delete</service>
</request>
}}}
--
Ticket URL: <http://trac.osgeo.org/geonetwork/ticket/530>
GeoNetwork opensource Developer website <http://sourceforge.net/projects/geonetwork/>
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.