I think I found the problem. In Main.WebSearch, there line that adds extra
conditions to the query to exclude certain spaces for non-admins was
excluding main:
...doc.web<>'Main' and ...
Why would that be? I'm assuming that was what was in the 1.1M1 when I got
it, but maybe I fudged it somehow. I'm going to dig through the history
and see.
Regards,
Brian.
BSayatovic(a)amig.c
om
To
06/18/2007 01:10 xwiki-users(a)objectweb.org
PM cc
Subject
Please respond to Re: [xwiki-users] XWiki 1.1-M1
xwiki-users@objec non-admins have no results
tweb.org
Regarding the visibility of results, I know its not a distinction of access
rights. I can give the view URL of some of the results I see as an
administrator (e.g. we have a page named PRISM) to a non-admin and they can
view it just fine. They can also follow wiki links to those pages. Yet
when they search for those pages, they don't come up while when I search
for them they do show up in the search results.
Regarding how I produce the exception, I think it is during the executionof
a search (or the rendering of the results). What completely throws me off,
though, is the file referenced in the exception:
http://wikiserver/xwiki/bin/skin/skins/albatross/icons/black-edit-ab2.png
What could possibly be wrong with an image?
Now I've also been tweaking the theme a little bit which I'ms tarting to
think might have broken this. I wish I could track down what is broken so
I don't have to start over from scratch again.
Regards,
Brian.
Vincent Massol
<vincent(a)massol.n
et> To
xwiki-users(a)objectweb.org
06/18/2007 12:24 cc
PM
Subject
Re: [xwiki-users] XWiki 1.1-M1
Please respond to non-admins have no results
xwiki-users@objec
tweb.org
Hi Brian,
On Jun 18, 2007, at 6:10 PM, BSayatovic(a)amig.com wrote:
I've recently installed XWiki 1.1 milestone 1. I and a couple of
others
are in the admin group, but everyone else is in the "all" group.
For some
reason, only admins can see the search results. Others can see the
search
page and can submit a search, but they never see in results.
I've just tested this on the 1.1M2 version we're going to release
tonight or tomorrow and it's working fine.
I think it's also working fine in 1.1M1. You need to be aware that
the search doesn't return the same results if you're admin and if
you're not. The reason is that we exclude the Admin, XWiki and Panels
spaces for non-admins. We also exclude the WebPreferences pages. Last
the pages displayed are only pages for which the user has "view" access.
I'm running this under Jetty on Win32 using
wrapper.exe to run it as a
service. In the wrapper.log, I see the following types of
exceptions, but
I don't know if these correlate to just those who can't see
results, or
everybody:
INFO | jvm 1 | 2007/06/18 10:37:29 | 10:37:29,344 WARN P1-17
http://wikiserver/xwiki/bin/skin/skins/albatross/icons/black-edit-
ab2.png
XWikiAction:execute:185 - Uncaught exception: Error number 0 in 11:
Uncaught exception
[snip]
I don't know what this exception is but there shouldn't be any
exception in the console... Do you know what to do to reproduce this
exception?
Thanks
-Vincent
--
You receive this message as a subscriber of the xwiki-users(a)objectweb.org
mailing list.
To unsubscribe: mailto:xwiki-users-unsubscribe@objectweb.org
For general help: mailto:sympa@objectweb.org?subject=help
ObjectWeb mailing lists service home page:
http://www.objectweb.org/wws
-----------------------------------------
CONFIDENTIALITY STATEMENT:
This e-mail transmission contains information that is intended to
be confidential. It is intended only for the addressee named
above. If you receive this e-mail in error, please do not read,
copy, or disseminate it. If you are not the intended recipient,
any disclosure, copying, distribution or use of the contents of
this information is prohibited. Please reply to the message
immediately by informing the sender that the message was
misdirected. After replying, please erase it from your computer
system. Your assistance in correcting this error is appreciated.
--
You receive this message as a subscriber of the xwiki-users(a)objectweb.org
mailing list.
To unsubscribe: mailto:xwiki-users-unsubscribe@objectweb.org
For general help: mailto:sympa@objectweb.org?subject=help
ObjectWeb mailing lists service home page:
http://www.objectweb.org/wws