Open zwobit opened 10 years ago
Hi,
Thanks for reporting this.
You got this while doing what action(s)?
Claudius
Mmmh okay, i played around with it some more, this seems to trigger the condition:
xquery version "3.0";
import module namespace security="http://exist-db.org/mods/security" at "/apps/tamboti/modules/search/security.xqm";
<data>
<test test="{security:can-write-collection('/db/resources/commons/Priya_Paul_Collection/')}"/>
</data>
while this seems to work
xquery version "3.0";
import module namespace security="http://exist-db.org/mods/security" at "/apps/tamboti/modules/search/security.xqm";
<test test="{security:can-write-collection('/db/resources/commons/Priya_Paul_Collection/')}"/>
Seems this is not a tamboti bug.
No problems with either query here. Can't see why wrapping something up in should make any difference ….
Jens
On 14 Mar 2014 at 12:42:02, Tobi Krebs (notifications@github.com) wrote:
Mmmh okay, i played around with it some more, this seems to trigger the condition:
xquery version "3.0"; import module namespace security="http://exist-db.org/mods/security" at "/apps/tamboti/modules/search/security.xqm";
while this seems to work
xquery version "3.0"; import module namespace security="http://exist-db.org/mods/security" at "/apps/tamboti/modules/search/security.xqm";
Seems this is not a tamboti bug.
— Reply to this email directly or view it on GitHub.
Running
leads to endless query which uses up 100 percent of cpu and finally to OutOfMemory Exception. This is reproducible on "ws2" and my local machine.