Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Problem with contact creation #8

Open
jusabatier opened this issue Nov 4, 2020 · 3 comments
Open

Problem with contact creation #8

jusabatier opened this issue Nov 4, 2020 · 3 comments

Comments

@jusabatier
Copy link

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

@pmauduit
Copy link
Member

It can be repaired by copying the different versions (for the different schemas) of the following files from the webapp back to the gn datadir:

  • utility-fn.xsl
  • layout.xsl
  • layout-custom-fields.xsl

But I think we need a better approach for the schemas here, see #10 .

@pmauduit
Copy link
Member

With #10 (branch 3.8.2 of this repository), and using the schema from the webapp, it works

@pmauduit
Copy link
Member

Also tested using ansible / vagrant, it works if we target the gn3.8.2 branch.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants