{"action":"created","issue":{"url":"https://api.github.com/repos/icaruseu/mom-ca/issues/21","labels_url":"https://api.github.com/repos/icaruseu/mom-ca/issues/21/labels{/name}","comments_url":"https://api.github.com/repos/icaruseu/mom-ca/issues/21/comments","events_url":"https://api.github.com/repos/icaruseu/mom-ca/issues/21/events","html_url":"https://github.com/icaruseu/mom-ca/issues/21","id":35885148,"number":21,"title":"Browsers from Spain get an XRX-Error","user":{"login":"GVogeler","id":324006,"avatar_url":"https://avatars.githubusercontent.com/u/324006?v=3","gravatar_id":"","url":"https://api.github.com/users/GVogeler","html_url":"https://github.com/GVogeler","followers_url":"https://api.github.com/users/GVogeler/followers","following_url":"https://api.github.com/users/GVogeler/following{/other_user}","gists_url":"https://api.github.com/users/GVogeler/gists{/gist_id}","starred_url":"https://api.github.com/users/GVogeler/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/GVogeler/subscriptions","organizations_url":"https://api.github.com/users/GVogeler/orgs","repos_url":"https://api.github.com/users/GVogeler/repos","events_url":"https://api.github.com/users/GVogeler/events{/privacy}","received_events_url":"https://api.github.com/users/GVogeler/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/icaruseu/mom-ca/labels/enhancement","name":"enhancement","color":"84b6eb"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2014-06-17T12:48:52Z","updated_at":"2015-05-05T09:01:59Z","closed_at":null,"body":"<exception>\r\n<path>/db/XRX.live/mom/app/xrx/main.xql</path>\r\n<message>\r\nexerr:ERROR Error while evaluating expression: <html xmlns=\"http://www.w3.org/1999/xhtml\" id=\"tag:www.monasterium.net,2011:/mom/mainwidget/home\">{let $x___ := \"\" let $whome:htdoc-entry := htdoc:get('tag:www.monasterium.net,2011:/mom/htdoc/home') let $whome:htdoc-title := htdoc:title($whome:htdoc-entry)/text() let $whome:htdoc-atomid := $whome:htdoc-entry/atom:id/text() let $whome:statistics := mom:statistics() return ( <head> <title>{ if($xrx:mainwidget/xrx:title/xrx:i18n) then i18n:translate($xrx:mainwidget/xrx:title/xrx:i18n) else() }{ if($xrx:htdoc//xrx:i18n) then i18n:translate($xrx:htdoc//xrx:i18n) else() }&#160;{ string-join(subsequence($xrx:tokenized-uri, 1, count($xrx:tokenized-uri) - 1), '|') }&#160;-&#160;{ conf:param(\"platform-browser-title\") }</title> <link rel=\"stylesheet\" type=\"text/css\" href=\"/mom/css/?atomid=tag:www.monasterium.net,2011:/mom/widget/home\"/> </head>, <body data-xrx-widget=\"tag:www.monasterium.net,2011:/mom/portal/default\">{ if(auth:matches(<xrx:rule xmlns:xrx=\"http://www.monasterium.net/NS/xrx\"> <xrx:user/> <xrx:role>translator</xrx:role> </xrx:rule>)) then <div class=\"xrx-translate-page-link\"> <a href=\"/mom/translate?id=tag:www.monasterium.net,2011:/mom/widget/home\">‣&#160;{ i18n:translate(<xrx:i18n xmlns:xrx=\"http://www.monasterium.net/NS/xrx\"> <xrx:key>translate-page</xrx:key> [...]\r\n"},"comment":{"url":"https://api.github.com/repos/icaruseu/mom-ca/issues/comments/99000682","html_url":"https://github.com/icaruseu/mom-ca/issues/21#issuecomment-99000682","issue_url":"https://api.github.com/repos/icaruseu/mom-ca/issues/21","id":99000682,"user":{"login":"StephanMa","id":6735556,"avatar_url":"https://avatars.githubusercontent.com/u/6735556?v=3","gravatar_id":"","url":"https://api.github.com/users/StephanMa","html_url":"https://github.com/StephanMa","followers_url":"https://api.github.com/users/StephanMa/followers","following_url":"https://api.github.com/users/StephanMa/following{/other_user}","gists_url":"https://api.github.com/users/StephanMa/gists{/gist_id}","starred_url":"https://api.github.com/users/StephanMa/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/StephanMa/subscriptions","organizations_url":"https://api.github.com/users/StephanMa/orgs","repos_url":"https://api.github.com/users/StephanMa/repos","events_url":"https://api.github.com/users/StephanMa/events{/privacy}","received_events_url":"https://api.github.com/users/StephanMa/received_events","type":"User","site_admin":false},"created_at":"2015-05-05T09:01:59Z","updated_at":"2015-05-05T09:01:59Z","body":"Found two Errors which produce this error:\r\n\r\nThe first Error is inside the \r\n/my/XRX/src/mom/app/i18n/i18n.app.xml. There were two Languages defined with the same \"old\" Key. \"es\" for espanol and eesti. Changed eesti to \"et\".\r\n\r\nThe second Error should have occured many times. Somehow it just effects this language Setting stuff. Changed /my/XRX/src/core/app/conf.xqm concerning setting the variable $conf:project-name and $conf:xrx-live-collection-name. Sometimes it occurs that there are more then 1 Projectname inside the System. Now just the first entry is used by the System. Before i commit the changes, i would like to test it with some more Data. But this Patch workes on my current System with a Browser with \"Accept-Language\" = \"es\""}}