geonetwork_minimal_datadir's People
Forkers
landrybgeonetwork_minimal_datadir's Issues
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"
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>
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 ?
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
No branch for geonetwork 3.8.2
There are no branch in this repository for the version 3.8.2.
I am wondering though if this is necessary, as it will be bootstraped by what is bundled in the webapp anyway.
If this is not necessary anymore, we might want to fix the official setup doc around here:
https://github.com/georchestra/georchestra/blob/master/docs/setup/tomcat.md#geonetwork-30x-georchestra-1512-and-above
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.