Hi,
I was busy with other stuff and couldn’t take a look at your problem.
This error means you have to check your xml structure in the config-editor. Check the XSD (config-editor.xsd) and your XML(config-editor.xml). Maybe some tool like Oxygen can help you here.
···
On Wed, Jan 24, 2018 at 8:12 AM, Amaya Martínez Echeverría <amartinez@anonymised.com> wrote:
Hi María,
Did you get my last message? I can’t see posted at the forge’s developers list and I suppose it is under revision…
Best regards,
Amaia Martínez.
De: Amaya Martínez Echeverría
Enviado el: miércoles, 17 de enero de 2018 12:52
Para: ‘María Arias de Reyna’ <delawen@anonymised.com>
Asunto: RE: {Spam?} Re: [GeoNetwork-devel] Error creating new config-editor view (Geonetwork 3.x.x)Hi,
Ok, I’ve started again configuring all, just in case something was corrupt and forcing the custom view with enabled=”true”. Here is the error I get, and attached you can find the xml file. What am I doing wrong?
2018-01-17 12:37:17,255 ERROR [jeeves.service] - → exception during transformation for : md.edit
2018-01-17 12:37:17,255 ERROR [jeeves.service] - → (C) stylesheet : C:\apache-tomcat-8.5.9\temp\0-geonetwork\xsl..\xslt\ui-metadata\edit\edit.xsl
2018-01-17 12:37:17,255 ERROR [jeeves.service] - → (C) message : A sequence of more than one item is not allowed as the first argument of gn-fn-metadata:isFieldFlatModeException() (, )
2018-01-17 12:37:17,255 ERROR [jeeves.service] - → (C) exception : XPathException
Maybe cannot define the in each view? I mean, if an element has been defined previously in this kind of exception block, cannot reconfigure again in a different view?
Regards and thanks for your time,
Amaia.
De: María Arias de Reyna [mailto:delawen@anonymised.com]
Enviado el: miércoles, 17 de enero de 2018 10:56
Para: Amaya Martínez Echeverría <amartinez@anonymised.com>; Devel geonetwork-devel@anonymised.comsourceforge.net <geonetwork-devel@anonymised.com…537…sourceforge.net>
Asunto: Re: {Spam?} Re: [GeoNetwork-devel] Error creating new config-editor view (Geonetwork 3.x.x)Hi,
No, the config-editor file is not stored on the database.
If the problem was the translation (maybe you are using spa while changing the strings.xml in eng), you would see a blank option on the views.
Other first things to check are: is the metadata you are trying to edit from the same schema (iso19139)? Are there any errors on the log file?
On Wed, Jan 17, 2018 at 10:48 AM, Amaya Martínez Echeverría <amartinez@anonymised.com> wrote:
Hello María,
First of all, thanks for the quick answer. I’m updating directly the config-editor file in the data directory and the view is not disabled (by default a view without disabled attribute set to true is not disabled).
I have no mentioned that I’ve deploy the war of Geonetwork OOTB (Out Of The Box) so that I’m working with the embedded database…Could be the problem? I mean, could be this configuration on any BLOB field or something similar? There is no error on the tomcat logs but the view doesn’t appear in the picker.
Regards,
Amaia.
De: María Arias de Reyna [mailto:delawen@anonymised.com]
Enviado el: miércoles, 17 de enero de 2018 10:37
Para: Amaya Martínez Echeverría <amartinez@anonymised.com>
CC: geonetwork-devel@anonymised.comsourceforge.net
Asunto: {Spam?} Re: [GeoNetwork-devel] Error creating new config-editor view (Geonetwork 3.x.x)Hi Amaya,
Have you checked that the schema_plugins folder for iso19139 has been replaced on the data directory? By default, GeoNetwork does not remove and redeploy de schemas on each restart, to avoid overwriting custom code.
The other thing to check is that the view is not disabled.
Regards,
María.
On Wed, Jan 17, 2018 at 10:11 AM, Amaya Martínez Echeverría <amartinez@anonymised.com> wrote:
Hello,
I’m new in Geonetwork’s matter, and I’m configuring a Geonetwork 3.2.2.
I’m trying to create a config-editor view following the instructions available at (-Defining a view- section)
I’ve just copied the block and set a different name to it for testing the feature (). Then added to *\WEB-INF\data\config\schema_plugins\iso19139\loc\eng\strings.xml the
Tracasa literal, but after reloading tomcat doesn’t work. (I’ve tested it over 3.2.2 release and over 3.0.5).
Could anyone help me with this? Do I need to do something else?
Thanks in advance,
Amaia.
AVISO SOBRE CONFIDENCIALIDAD: La información incluida en este mensaje es CONFIDENCIAL y de uso EXCLUSIVO a su FINALIDAD. Su posterior divulgación será responsabilidad de quien la realice
Check out the vibrant tech community on one of the world’s most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
GeoNetwork-devel mailing list
GeoNetwork-devel@anonymised.comsourceforge.net
https://lists.sourceforge.net/lists/listinfo/geonetwork-devel
GeoNetwork OpenSource is maintained at http://sourceforge.net/projects/geonetwork
AVISO SOBRE CONFIDENCIALIDAD: La información incluida en este mensaje es CONFIDENCIAL y de uso EXCLUSIVO a su FINALIDAD. Su posterior divulgación será responsabilidad de quien la realice
AVISO SOBRE CONFIDENCIALIDAD: La información incluida en este mensaje es CONFIDENCIAL y de uso EXCLUSIVO a su FINALIDAD. Su posterior divulgación será responsabilidad de quien la realice