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

[BUG] Wiki App Crashes #74

Open
ghost opened this issue Mar 2, 2020 · 6 comments
Open

[BUG] Wiki App Crashes #74

ghost opened this issue Mar 2, 2020 · 6 comments
Labels

Comments

@ghost
Copy link

ghost commented Mar 2, 2020

@innomon commented on Mar 2, 2020, 7:53 AM UTC:

Describe the bug
clicking on wiki app crashes it.

Expected behavior
should show the wiki app

To Reproduce

click here to open the wiki app, it crashes


URI: | /exist/apps/wiki/
-- | --
500
javax.servlet.ServletException: javax.servlet.ServletException: An error occurred while processing request to /exist/apps/wiki/: err:XPST0003 error found while loading module login: Error while loading module modules/login.xql: Syntax error within user defined function login:set-user: unexpected token: ( [at line 48, column 38]
XQueryURLRewrite
javax.servlet.ServletException: javax.servlet.ServletException: An error occurred while processing request to /exist/apps/wiki/: err:XPST0003 error found while loading module login: Error while loading module modules/login.xql: Syntax error within user defined function login:set-user: unexpected token: ( [at line 48, column 38]
javax.servlet.ServletException: An error occurred while processing request to /exist/apps/wiki/: err:XPST0003 error found while loading module login: Error while loading module modules/login.xql: Syntax error within user defined function login:set-user: unexpected token: ( [at line 48, column 38]
org.exist.xquery.XPathException: err:XPST0003 error found while loading module login: Error while loading module modules/login.xql: Syntax error within user defined function login:set-user: unexpected token: ( [at line 48, column 38]

Additional context

  • How is eXist-db installed? [headless JAR installer, with Nginx reverse proxy in front]

This issue was moved by adamretter from eXist-db/exist#3259.

@ghost ghost added the triage label Mar 2, 2020
@ghost
Copy link
Author

ghost commented Mar 2, 2020

@adamretter commented on Mar 2, 2020, 11:15 AM UTC:

innomon this indicates that there is a code error in the Wiki app. Where did you get the Wiki app from?

@ghost
Copy link
Author

ghost commented Mar 2, 2020

@innomon commented on Mar 2, 2020, 1:48 PM UTC:

innomon this indicates that there is a code error in the Wiki app. Where did you get the Wiki app from?

I downloaded from the packagemanager
https://cooperative.social/exist/apps/dashboard/admin#/packagemanager

APPLICATION
AtomicWiki
Version	0.8
Url	/exist/apps/wiki/
Name	http://exist-db.org/apps/wiki
Description	Redesign of AtomicWiki
Abbreviation	wiki
Website	http://atomic.exist-db.org

@ghost
Copy link
Author

ghost commented Mar 2, 2020

@adamretter commented on Mar 2, 2020, 1:53 PM UTC:

innomon ah okay, as this is a problem with AtomicWiki rather than eXist-db I am going to move the issue to that repository

@brobertson
Copy link

I've made some progress with this by typing functions 'as empty-sequence()' which had been 'as empty()'. However, now the restxq module is also throwing errors. Given that the wiki works on the eXist website, is there a version around that is functioning?

@brobertson
Copy link

brobertson commented Sep 10, 2020

For further context the wiki's restxq module now has an out-of-date map syntax. I wonder if there is a module in the eXist-db universe that has the same functionality but is up-to-date. E.g.: Error while loading module modules/restxq.xql: Function map:new() is not defined in module namespace: http://www.w3.org/2005/xpath-functions/map [at line 191, column 29]

@richardkaplan
Copy link

Any further thoughts on this?

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

No branches or pull requests

2 participants