{"action":"created","issue":{"url":"https://api.github.com/repos/eXistSolutions/hsg-shell/issues/62","labels_url":"https://api.github.com/repos/eXistSolutions/hsg-shell/issues/62/labels{/name}","comments_url":"https://api.github.com/repos/eXistSolutions/hsg-shell/issues/62/comments","events_url":"https://api.github.com/repos/eXistSolutions/hsg-shell/issues/62/events","html_url":"https://github.com/eXistSolutions/hsg-shell/issues/62","id":122204746,"number":62,"title":"problem with frus-history research section","user":{"login":"joewiz","id":59118,"avatar_url":"https://avatars.githubusercontent.com/u/59118?v=3","gravatar_id":"","url":"https://api.github.com/users/joewiz","html_url":"https://github.com/joewiz","followers_url":"https://api.github.com/users/joewiz/followers","following_url":"https://api.github.com/users/joewiz/following{/other_user}","gists_url":"https://api.github.com/users/joewiz/gists{/gist_id}","starred_url":"https://api.github.com/users/joewiz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/joewiz/subscriptions","organizations_url":"https://api.github.com/users/joewiz/orgs","repos_url":"https://api.github.com/users/joewiz/repos","events_url":"https://api.github.com/users/joewiz/events{/privacy}","received_events_url":"https://api.github.com/users/joewiz/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/eXistSolutions/hsg-shell/labels/help%20wanted","name":"help wanted","color":"159818"}],"state":"open","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/eXistSolutions/hsg-shell/milestones/1","html_url":"https://github.com/eXistSolutions/hsg-shell/milestones/1.0%20-%20Launch","labels_url":"https://api.github.com/repos/eXistSolutions/hsg-shell/milestones/1/labels","id":1419768,"number":1,"title":"1.0 - Launch","description":"Production launch of the new, technically completely reworked website with TEI Simple and templating.","creator":{"login":"JoernT","id":484059,"avatar_url":"https://avatars.githubusercontent.com/u/484059?v=3","gravatar_id":"","url":"https://api.github.com/users/JoernT","html_url":"https://github.com/JoernT","followers_url":"https://api.github.com/users/JoernT/followers","following_url":"https://api.github.com/users/JoernT/following{/other_user}","gists_url":"https://api.github.com/users/JoernT/gists{/gist_id}","starred_url":"https://api.github.com/users/JoernT/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JoernT/subscriptions","organizations_url":"https://api.github.com/users/JoernT/orgs","repos_url":"https://api.github.com/users/JoernT/repos","events_url":"https://api.github.com/users/JoernT/events{/privacy}","received_events_url":"https://api.github.com/users/JoernT/received_events","type":"User","site_admin":false},"open_issues":26,"closed_issues":45,"state":"open","created_at":"2015-11-19T12:57:08Z","updated_at":"2016-01-15T15:43:18Z","due_on":"2016-02-23T05:00:00Z","closed_at":null},"comments":5,"created_at":"2015-12-15T06:41:40Z","updated_at":"2016-01-18T19:53:42Z","closed_at":null,"body":"i think this may have broken before, but it is still: \r\n- http://localhost:8080/exist/apps/hsg-shell/historicaldocuments/frus-history/research\r\n\r\nnote that pages **within** this `/research` section still work:\r\n- http://localhost:8080/exist/apps/hsg-shell/historicaldocuments/frus-history/research/production-and-timeliness-data\r\n\r\nthe error report for the /research page:\r\n```\r\nexerr:ERROR XPTY0004: The actual cardinality for parameter 1 does not match the cardinality declared in the function's signature: toc:href($publication-id as xs:string, $document-id as xs:string, $section-id as xs:string*, $fragment as xs:string*) item()*. Expected cardinality: exactly one, got 0. [at line 55, column 27, source: /db/apps/hsg-shell/modules/ext-html.xql]\r\nIn function:\r\n\ttoc:href(xs:string, xs:string, xs:string*, xs:string*) [54:13:/db/apps/hsg-shell/modules/frus-toc-html.xqm]\r\n\tpmf:ref(map, element(), xs:string+) [222:21:/db/apps/hsg-shell/modules/ext-html.xql]\r\n\tmodel:apply(map, node()*) [505:36:/db/apps/hsg-shell/resources/odd/compiled/frus-web.xql]\r\n\tmodel:apply-children(map, element(), item()*) [161:33:/db/apps/hsg-shell/resources/odd/compiled/frus-web.xql]\r\n\tpmf:apply-children(map, element(), item()*) [46:9:/db/apps/tei-simple/content/html-functions.xql]\r\n\tpmf:paragraph(map, element(), xs:string+, item()*) [195:25:/db/apps/tei-simple/content/html-functions.xql]\r\n\tmodel:apply(map, node()*) [37:13:/db/apps/hsg-shell/resources/odd/compiled/frus-web.xql]\r\n\tmodel:transform(map, node()*) [15:11:/db/apps/hsg-shell/resources/odd/compiled/frus-web.xql]\r\n\tpml:transform(node()*, map?) [53:5:/db/apps/hsg-shell/resources/odd/compiled/frus-web-module.xql]\r\n\t(item()*, item()*) [52:59:/db/apps/hsg-shell/modules/config.xqm]\r\n\tpages:process-content(function, element()*, map?) [191:5:/db/apps/hsg-shell/modules/pages.xqm]\r\n\tpages:process-content(function, element()*) [247:20:/db/apps/hsg-shell/modules/pages.xqm]\r\n\tfhh:articles-list(item()*, item()*) [48:9:/db/apps/hsg-shell/modules/frus-history-html.xqm]\r\n\ttemplates:call-with-args(function, function*, element(), map) [208:13:/Users/joe/workspace/eXist-LTS/webapp/WEB-INF/data/expathrepo/shared-0.4.0/content/templates.xql]\r\n\ttemplates:process-output(element(), map, item()*, element()) [205:9:/Users/joe/workspace/eXist-LTS/webapp/WEB-INF/data/expathrepo/shared-0.4.0/content/templates.xql]\r\n\ttemplates:call-by-introspection(element(), map, map, function) [187:28:/Users/joe/workspace/eXist-LTS/webapp/WEB-INF/data/expathrepo/shared-0.4.0/content/templates.xql]\r\n\ttemplates:call(item(), element(), map) [135:36:/Users/joe/workspace/eXist-LTS/webapp/WEB-INF/data/expathrepo/shared-0.4.0/content/templates.xql]\r\n\ttemplates:process(node()*, map) [22:19:/Users/joe/workspace/eXist-LTS/webapp/WEB-INF/data/expathrepo/shared-0.4.0/content/templates.xql]\r\n\tapp:fix-links(node()*) [22:5:/db/apps/hsg-shell/modules/app.xqm]\r\n\tapp:fix-links(node(), map) [48:9:/db/apps/hsg-shell/modules/app.xqm]\r\n\ttemplates:call-with-args(function, function*, element(), map) [208:13:/Users/joe/workspace/eXist-LTS/webapp/WEB-INF/data/expathrepo/shared-0.4.0/content/templates.xql]\r\n\ttemplates:process-output(element(), map, item()*, element()) [205:9:/Users/joe/workspace/eXist-LTS/webapp/WEB-INF/data/expathrepo/shared-0.4.0/content/templates.xql]\r\n\ttemplates:call-by-introspection(element(), map, map, function) [187:28:/Users/joe/workspace/eXist-LTS/webapp/WEB-INF/data/expathrepo/shared-0.4.0/content/templates.xql]\r\n\ttemplates:call(item(), element(), map) [135:36:/Users/joe/workspace/eXist-LTS/webapp/WEB-INF/data/expathrepo/shared-0.4.0/content/templates.xql]\r\n\ttemplates:process(node()*, map) [146:81:/Users/joe/workspace/eXist-LTS/webapp/WEB-INF/data/expathrepo/shared-0.4.0/content/templates.xql]\r\n\ttemplates:process(node()*, map) [146:81:/Users/joe/workspace/eXist-LTS/webapp/WEB-INF/data/expathrepo/shared-0.4.0/content/templates.xql]\r\n\ttemplates:process(node()*, map) [46:18:/Users/joe/workspace/eXist-LTS/webapp/WEB-INF/data/expathrepo/shared-0.4.0/content/templates.xql]\r\n\tpages:load(node(), map, xs:string?, xs:string?, xs:string?, xs:string) [48:9:/db/apps/hsg-shell/modules/pages.xqm]\r\n\ttemplates:call-with-args(function, function*, element(), map) [208:13:/Users/joe/workspace/eXist-LTS/webapp/WEB-INF/data/expathrepo/shared-0.4.0/content/templates.xql]\r\n\ttemplates:process-output(element(), map, item()*, element()) [205:9:/Users/joe/workspace/eXist-LTS/webapp/WEB-INF/data/expathrepo/shared-0.4.0/content/templates.xql]\r\n\ttemplates:call-by-introspection(element(), map, map, function) [187:28:/Users/joe/workspace/eXist-LTS/webapp/WEB-INF/data/expathrepo/shared-0.4.0/content/templates.xql]\r\n\ttemplates:call(item(), element(), map) [135:36:/Users/joe/workspace/eXist-LTS/webapp/WEB-INF/data/expathrepo/shared-0.4.0/content/templates.xql]\r\n\ttemplates:process(node()*, map) [146:81:/Users/joe/workspace/eXist-LTS/webapp/WEB-INF/data/expathrepo/shared-0.4.0/content/templates.xql]\r\n\ttemplates:process(node()*, map) [146:81:/Users/joe/workspace/eXist-LTS/webapp/WEB-INF/data/expathrepo/shared-0.4.0/content/templates.xql]\r\n\ttemplates:process(node()*, map) [377:25:/Users/joe/workspace/eXist-LTS/webapp/WEB-INF/data/expathrepo/shared-0.4.0/content/templates.xql]\r\n\tpages:app-root(node(), map) [48:9:/db/apps/hsg-shell/modules/pages.xqm]\r\n\ttemplates:call-with-args(function, function*, element(), map) [208:13:/Users/joe/workspace/eXist-LTS/webapp/WEB-INF/data/expathrepo/shared-0.4.0/content/templates.xql]\r\n\ttemplates:process-output(element(), map, item()*, element()) [205:9:/Users/joe/workspace/eXist-LTS/webapp/WEB-INF/data/expathrepo/shared-0.4.0/content/templates.xql]\r\n\ttemplates:call-by-introspection(element(), map, map, function) [187:28:/Users/joe/workspace/eXist-LTS/webapp/WEB-INF/data/expathrepo/shared-0.4.0/content/templates.xql]\r\n\ttemplates:call(item(), element(), map) [135:36:/Users/joe/workspace/eXist-LTS/webapp/WEB-INF/data/expathrepo/shared-0.4.0/content/templates.xql]\r\n\ttemplates:process(node()*, map) [465:17:/Users/joe/workspace/eXist-LTS/webapp/WEB-INF/data/expathrepo/shared-0.4.0/content/templates.xql]\r\n\ttemplates:process-output(element(), map, item()*) [273:9:/Users/joe/workspace/eXist-LTS/webapp/WEB-INF/data/expathrepo/shared-0.4.0/content/templates.xql]\r\n\ttemplates:process-output(element(), map, item()*, element()) [205:9:/Users/joe/workspace/eXist-LTS/webapp/WEB-INF/data/expathrepo/shared-0.4.0/content/templates.xql]\r\n\ttemplates:call-by-introspection(element(), map, map, function) [187:28:/Users/joe/workspace/eXist-LTS/webapp/WEB-INF/data/expathrepo/shared-0.4.0/content/templates.xql]\r\n\ttemplates:call(item(), element(), map) [135:36:/Users/joe/workspace/eXist-LTS/webapp/WEB-INF/data/expathrepo/shared-0.4.0/content/templates.xql]\r\n\ttemplates:process(node()*, map) [131:51:/Users/joe/workspace/eXist-LTS/webapp/WEB-INF/data/expathrepo/shared-0.4.0/content/templates.xql]\r\n\ttemplates:process(node()*, map) [88:9:/Users/joe/workspace/eXist-LTS/webapp/WEB-INF/data/expathrepo/shared-0.4.0/content/templates.xql]\r\n\ttemplates:apply(node()+, function, map?, map?) [59:5:/Users/joe/workspace/eXist-LTS/webapp/WEB-INF/data/expathrepo/shared-0.4.0/content/templates.xql]\r\n```"},"comment":{"url":"https://api.github.com/repos/eXistSolutions/hsg-shell/issues/comments/172634254","html_url":"https://github.com/eXistSolutions/hsg-shell/issues/62#issuecomment-172634254","issue_url":"https://api.github.com/repos/eXistSolutions/hsg-shell/issues/62","id":172634254,"user":{"login":"dizzzz","id":1700062,"avatar_url":"https://avatars.githubusercontent.com/u/1700062?v=3","gravatar_id":"","url":"https://api.github.com/users/dizzzz","html_url":"https://github.com/dizzzz","followers_url":"https://api.github.com/users/dizzzz/followers","following_url":"https://api.github.com/users/dizzzz/following{/other_user}","gists_url":"https://api.github.com/users/dizzzz/gists{/gist_id}","starred_url":"https://api.github.com/users/dizzzz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dizzzz/subscriptions","organizations_url":"https://api.github.com/users/dizzzz/orgs","repos_url":"https://api.github.com/users/dizzzz/repos","events_url":"https://api.github.com/users/dizzzz/events{/privacy}","received_events_url":"https://api.github.com/users/dizzzz/received_events","type":"User","site_admin":false},"created_at":"2016-01-18T19:53:42Z","updated_at":"2016-01-18T19:53:42Z","body":"so in essence prefixing \"frus1861\" with a slash makes the page work :-( "}}