Giter Site home page Giter Site logo

geonetwork_minimal_datadir's Introduction

geOrchestra

Codacy Badge

geOrchestra is a complete Spatial Data Infrastructure solution.

It features a metadata catalog (GeoNetwork), an OGC server (GeoServer) with fine-grained access control (based on GeoFence), an advanced viewer and editor and many more (security and auth system based on proxy/CAS/LDAP, analytics, admin UIs, ...)

Please refer to the documentation for more information.

geonetwork_minimal_datadir's People

Contributors

fvanderbiest avatar landryb avatar pmauduit avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Forkers

landryb

geonetwork_minimal_datadir's Issues

XSD Validation error(s)

When starting a GN with 3.8.3 branch, I get an error with XSD validation :

Failed whilst validating schema-ident file /opt/gn_datadir/config/schema_plugins/iso19139/schema-ident.xml. Exception message if any is XSD Validation error(s):
<xsderrors>

  <error>

    <typeOfError>ERROR</typeOfError>

    <errorNumber>1</errorNumber>

    <message>cvc-complex-type.2.4.a: Invalid content was found starting with element 'title'. One of '{"http://geonetwork-opensource.org/schemas/schema-ident":appMinorVersionSupported}' is expected. (Element: title with parent element: schema)</message>

    <xpath>title[1]</xpath>

  </error>

</xsderrors>

Needs update for 3.4.1

Loading the default templates/schemas in an empty geonetwork from this datadir yields in a broken editor, either for a new metadata or editing a sample metadata:

 runtime_exceptionTemplate get-iso19139-title has not been definedXPathException 

indeed that's not defined in our minimal datadir:

[12/07 16:15] [email protected]:/srv/data/geonetwork $git grep get-iso19139-title
....nothing....

Defined in the schemas shipped in the geonetwork webapp:

$grep -r get-iso19139-title /srv/tomcat/georchestra/webapps/geonetwork/WEB-INF/data/config/
/srv/tomcat/georchestra/webapps/geonetwork/WEB-INF/data/config/schema_plugins/iso19139/layout/utility-tpl.xsl:  <xsl:template name="get-iso19139-title"

Problem with contact creation

I imported models from iso19139, and try to create a new contact from directories management.

When it try to load the edit form, it bug and in the logs I get :

Error at xsl:with-param on line 57 column 100 of layout-custom-fields.xsl:
[2020-11-04 16:54:13] [info] XPST0017: XPath syntax error at char 54 on line 57 in {...ype($editorConfig, name(), ...}:
[2020-11-04 16:54:13] [info] Cannot find a matching 3-argument function named
[2020-11-04 16:54:13] [info] {http://geonetwork-opensource.org/xsl/functions/metadata}getFieldType()
[2020-11-04 16:54:13] [info] Error at xsl:with-param on line 236 column 34 of layout.xsl:
[2020-11-04 16:54:13] [info] XPST0017: XPath syntax error at char 80 on line 236 in {... name(gmx:Anchor))}:
[2020-11-04 16:54:13] [info] Cannot find a matching 3-argument function named
[2020-11-04 16:54:13] [info] {http://geonetwork-opensource.org/xsl/functions/metadata}getFieldType()
[2020-11-04 16:54:13] [info] Error at xsl:with-param on line 404 column 31 of layout.xsl:
[2020-11-04 16:54:13] [info] XPST0017: XPath syntax error at char 77 on line 404 in {...(), name($theElement))}:
[2020-11-04 16:54:13] [info] Cannot find a matching 3-argument function named
[2020-11-04 16:54:13] [info] {http://geonetwork-opensource.org/xsl/functions/metadata}getFieldType()
[2020-11-04 16:54:13] [info] Error at xsl:with-param on line 429 column 100 of layout.xsl:
[2020-11-04 16:54:13] [info] XPST0017: XPath syntax error at char 54 on line 429 in {...ype($editorConfig, name(), ...}:
[2020-11-04 16:54:13] [info] Cannot find a matching 3-argument function named
[2020-11-04 16:54:13] [info] {http://geonetwork-opensource.org/xsl/functions/metadata}getFieldType()
[2020-11-04 16:54:13] [info] Error at xsl:with-param on line 446 column 100 of layout.xsl:
[2020-11-04 16:54:13] [info] XPST0017: XPath syntax error at char 54 on line 446 in {...ype($editorConfig, name(), ...}:
[2020-11-04 16:54:13] [info] Cannot find a matching 3-argument function named
[2020-11-04 16:54:13] [info] {http://geonetwork-opensource.org/xsl/functions/metadata}getFieldType()
[2020-11-04 16:54:13] [info] Error at xsl:with-param on line 586 column 100 of layout.xsl:
[2020-11-04 16:54:13] [info] XPST0017: XPath syntax error at char 54 on line 586 in {...ype($editorConfig, name(), ...}:
[2020-11-04 16:54:13] [info] Cannot find a matching 3-argument function named
[2020-11-04 16:54:13] [info] {http://geonetwork-opensource.org/xsl/functions/metadata}getFieldType()
[2020-11-04 16:54:13] [info] Error at xsl:with-param on line 149 column 100 of layout.xsl:
[2020-11-04 16:54:13] [info] XPST0017: XPath syntax error at char 54 on line 149 in {...ype($editorConfig, name(), ...}:
[2020-11-04 16:54:13] [info] Cannot find a matching 3-argument function named
[2020-11-04 16:54:13] [info] {http://geonetwork-opensource.org/xsl/functions/metadata}getFieldType()
[2020-11-04 16:54:13] [info] Error at xsl:with-param on line 212 column 100 of layout.xsl:
[2020-11-04 16:54:13] [info] XPST0017: XPath syntax error at char 54 on line 212 in {...ype($editorConfig, name(), ...}:
[2020-11-04 16:54:13] [info] Cannot find a matching 3-argument function named
[2020-11-04 16:54:13] [info] {http://geonetwork-opensource.org/xsl/functions/metadata}getFieldType()
[2020-11-04 16:54:13] [info] Error at xsl:variable on line 46 column 91 of utility-fn.xsl:
[2020-11-04 16:54:13] [info] XPST0017: XPath syntax error at char 61 on line 46 in {...itorConfig, $name, $childNa...}:
[2020-11-04 16:54:13] [info] Cannot find a matching 3-argument function named
[2020-11-04 16:54:13] [info] {http://geonetwork-opensource.org/xsl/functions/metadata}getFieldType()
[2020-11-04 16:54:13] [info] Error at xsl:value-of on line 51 column 91 of utility-fn.xsl:
[2020-11-04 16:54:13] [info] XPST0017: XPath syntax error at char 69 on line 51 in {...itorConfig, $name, $childNa...}:
[2020-11-04 16:54:13] [info] Cannot find a matching 3-argument function named
[2020-11-04 16:54:13] [info] {http://geonetwork-opensource.org/xsl/functions/metadata}getFieldType()
[2020-11-04 16:54:13] [info] Error at xsl:call-template on line 154 column 46 of layout-custom-fields.xsl:
[2020-11-04 16:54:13] [info] XTSE0680: Parameter directive is not declared in the called template

schema_plugins divergence

Even with the PR #9 being merged, we still have a lot of divergences between this repository and https://github.com/georchestra/geonetwork/tree/georchestra-gn3.8.2/schemas (ending in the webapp into WEB-INF/data/config/schema_plugins/).

I would be in favor of leaving the config/schema_plugins empty and leave GN copy the file at first startup. Maintaining customizations in both repositories does not make sense to me.

@landryb following this comment #7 (comment), is that ok for you if we leave GN creating the schemas at first bootstrap of the webapp, so that the user can customize it afterwards ?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.