I noticed that someone said that there would be a fix for this in a future release, but is there a workaround for this? I am getting these same exceptions on two different machines with different MySQL/Tomcat versions.
Exceptions:
>an assertion failure occured (this may indicate a bug in Hibernate, but is more >likely due to unsafe use of the session)
>org.hibernate.AssertionFailure: possible nonthreadsafe access to session
Thank you,
Tim Dove
Hello again,
I need in my wiki this configuration
xwiki level: everything is restricted to admins
namespace X: everyone (connected or not) has read access.
Problem:
If i put nothing at namespace X level, nobody except admins can read
documents
If i define read access at namespace X level, i need to know what i
have to put in user/group to define 'anyone'
You could of course tell me to use a combo of guest and
XWiki.XWikiAllGroup, but unfortunately, our user are not created using
the registration interface. They are mapped to an ldap server. So the
XWiki.XWikiAllGroup stays empty. Unless, of course, this is a virtual
group which says always true when asked if xyz belong to it. But it
doubt it's virtual :)
So, what are suggestions about this?
regards,
Tchize
Hi,
It worked for me also, many thanks Robin.
I just had to correct something in the code, in the link: instead of
"viewrev" as action I replaced with "view" because action viewrev was
not understood in my wiki (0.9.840).
Jeremie
> -----Original Message-----
> From: yoavshapira(a)gmail.com [mailto:yoavshapira@gmail.com] On
> Behalf Of Yoav Shapira
> Sent: mardi 16 mai 2006 15:07
> To: robin(a)soal.org; xwiki-users(a)objectweb.org
> Subject: Re: [xwiki-users] RSS feed for an individual page?
>
> Robin,
> That seems to work very well! Thanks again ;)
>
> Yoav
>
> On 5/13/06, Yoav Shapira <yoavs(a)computer.org> wrote:
> > Robin,
> > This sounds promising -- I will try it out on Monday. Thanks!
> >
> > Yoav
> >
> > On 5/13/06, Robin Fernandes <rewbs.soal(a)gmail.com> wrote:
> > > Hi,
> > >
> > > I don't think there's a per page RSS feed available by
> default, but
> > > you could create one quite easily by doing something like this:
> > >
> > > 1. Go to the class editor and edit the skin object 2.
> Create a new
> > > TextArea property with the name "pagefeed.vm"
> > > 3. Go to your skin and edit objects. Select the skin object and
> > > scroll to the pagefeed.vm testbox.
> > > 4. Paste in this code, or similar (I haven't tested it
> extensively):
> > > http://openmpt.xwiki.com/xwiki/bin/view/XWiki/PageFeed?xpage=code
> > > 5. Save
> > >
> > > We have just created a new template that generates an
> Atom feed for
> > > the revision history of a document. So if we view a page
> with this
> > > template, instead of having the document displayed in the
> standard
> > > web page layout, we'll get its Atom feed.
> > >
> > > To use the template, simply set xpage=pagefeed on the
> query string.
> > > So you'll get a URL like this (click to see corresponding feed):
> > >
> http://openmpt.xwiki.com/xwiki/bin/view/Main/WebHome?xpage=pagefeed
> > >
> > > 6. You could now modify your sidebar to include a link to the
> > > current page's RSS feed like:
> > > Feed for this Page: <a href="$!tdoc.getExternalURL("Main.WebRss",
> > > "view", "xpage=pagefeed")"><img
> src="$xwiki.getSkinFile("rss.gif")"
> > > border="0" alt="Atom feed for this page" /></a>
> > >
> > > Is this suitable?
> > > Note: I'm not sure how well this will scale.
> > >
> > > Regards,
> > > Robin
> > >
> > > On 11/05/06, Yoav Shapira <yoavs(a)computer.org> wrote:
> > > > Hi,
> > > > Newbie user here, I apologize in advance if my question is an
> > > > obvious FAQ. I tried to research it myself with no luck. My
> > > > question is
> > > > simple: where can I find the changes feed for an
> individual wiki page?
> > > >
> > > > I installed XWiki, everything is working fine,
> including the feed
> > > > for all the changes which I access via the little RSS button in
> > > > the bottom-right corner, which points to
> > > > http://localhost:8080/xwiki/bin/view/Main/WebRss?xpage=rdf. So
> > > > far, so good. But my individual wiki pages don't seem
> to have this button.
> > > > Am I just missing something obvious?
> > > >
> > > > Thank you,
> > > >
> > > > Yoav Shapira
> > > >
> > > >
> > > >
> > > >
> > > > --
> > > > 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
> > > >
> > > >
> > > >
> > >
> > >
> > >
> > >
> > > --
> > > 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
> > >
> > >
> > >
> >
> >
> > --
> > Yoav Shapira
> > Nimalex LLC
> > 1 Mifflin Place, Suite 310
> > Cambridge, MA, USA
> > yoavs(a)computer.org / www.yoavshapira.com
> >
>
>
> --
> Yoav Shapira
> Nimalex LLC
> 1 Mifflin Place, Suite 310
> Cambridge, MA, USA
> yoavs(a)computer.org / www.yoavshapira.com
>
>
Hi,
Newbie user here, I apologize in advance if my question is an obvious
FAQ. I tried to research it myself with no luck. My question is
simple: where can I find the changes feed for an individual wiki page?
I installed XWiki, everything is working fine, including the feed for
all the changes which I access via the little RSS button in the
bottom-right corner, which points to
http://localhost:8080/xwiki/bin/view/Main/WebRss?xpage=rdf. So far,
so good. But my individual wiki pages don't seem to have this button.
Am I just missing something obvious?
Thank you,
Yoav Shapira
Hello,
Are you sure that user name as it appears in user admin page
(Xwiki.XWikiUsers) is exactly the same as in group admin page ??
(Xwiki.XWikiAdminGroup)
I don't think names with ':' are suitable name.
For instance in my wiki the names are of this form: 'XWiki.jbousque' in
groups users list.
> -----Original Message-----
> From: Tchize [mailto:tchize@myrealbox.com]
> Sent: mardi 16 mai 2006 10:55
> To: xwiki-users(a)objectweb.org
> Subject: [xwiki-users] assigning users to groups does not work?
>
> Hello,
>
> am trying to assign user to a group.
> I go in the web interface and add a user. I go to
> /xwiki/bin/view/XWiki/XWikiAdminGroup and click on 'edit
> table'. The interface then shows this when i query the group:
>
> Group members
> Member
> xwiki:delbd
> XWiki.delbd
> xwiki:XWiki.delbd
> delbd
>
>
>
> However, if i log with this user, he doesn't appear to be
> part of the groups, he doesn't have the rights associated
> with the group.
>
> I did a step by step run of xwiki code in eclipse in
> XWikiRightServiceImpl and i found in line 300 that Collection
> glist = groupService.listGroupsForUser(name, context); return
> an empty list for user 'delbd'
>
> What is the problem? Did i fail in some way?
>
>
Hello,
am trying to assign user to a group.
I go in the web interface and add a user. I go to
/xwiki/bin/view/XWiki/XWikiAdminGroup and click on 'edit table'. The
interface then shows this when i query the group:
Group members
Member
xwiki:delbd
XWiki.delbd
xwiki:XWiki.delbd
delbd
However, if i log with this user, he doesn't appear to be part of the
groups, he doesn't have the rights associated with the group.
I did a step by step run of xwiki code in eclipse in
XWikiRightServiceImpl and i found in line 300 that
Collection glist = groupService.listGroupsForUser(name, context);
return an empty list for user 'delbd'
What is the problem? Did i fail in some way?
Hello everyone
Is there a possibility of listing all the connected users from a
Velocity script?
I looked in the source code and I did not find any method that can do
something like that from the context or xwiki objects.
Thanks
Diana
I wonder if anyone has used xwiki to publish structured data like a research paper. There are multiple sections and some metadada for each paper. I would like to input these sections and metadata in different fields so that they can be searched by individual section or metadata field later. In addition, I want to save each paper in XML format as well. What are the possible ways to implement these new functions?
Thanks,
AJ
I've read some of the archives, and this list looks pretty friendly.
I'd be grateful for some help. I've been running XWiki for about two
weeks and plan to use it for work. The PDF and RSS features are
outstanding! I've also spend a lot of time looking at the xwiki.org
site and the FAQs on xwiki.com, looking for answers and finding some
good ones
Now the list of questions:
Skins
I'd really like to change the look of the site. There's an FAQ for
creating skins, but I can only see it in French. Unfortunately, I
don't read French. Is there an English language version?
I did manage to get Google to try to translate the document, but it
wasn't really readable.
Comments preferences
I found the FAQ on reversing comments order. Either I missed something,
or it wasn't clear whether I was supposed to directly edit comments2.vm
in the templates dir, or paste the contents of the file into the
"Comments" area for the default skin. So I did the pasting and modified
the code there with good results. So it appears that if your current
skin object doesn't have anything defined for a particular property, it
defaults to the file in the templates directory. Is this true? Next
question is about preferences. Looking deeper at the code for
comments2.vm, there are calls to $xwiki.getWebPreference to retrieve
values for "showcomments" and "commentsorder". Where and how are these
preference values defined? I search xwiki.org, the FAQ, and Googled,
with no luck.
Email registration verification
Okay, I found the setting for using email verification of registrations
by going to XWiki preference, registration. Do these settings do
anything yet? I tried turning them on, but it doesn't appear to change
anything about the registration process. I'm on 0.9.840.
I have many more questions, but that's probably too many already.
Thanks in advance,
</CR>
--
Chris Rigsby
Systems Architect, Enterprise Application Systems
University of Minnesota
rigsb007(a)umn.edu * 612/624-5334
Has anyone got a method for searching PDF attachments (and/or other
attachment types) that have been stored alongside documents?
I have the following search SQL:
#set($sql= ", XWikiAttachment attach, XWikiAttachmentContent as attachc
where doc.web = 'KB.AnalystDocs' and doc.id = attach.docId and attach.id =
attachc.id and attachc.content like '%$text%' order by doc.name")
in my WebSearch page. Unfortunately, that doesn't decode the content, which
I would like to do.
Any pointers on how to do this would be gratefully received.
(Perhaps altering the upload code that that when it stores it, it tries to
do a to text translation using plug-in types?)
-Adrian
--
Adrian Hall
Sr. Product Line Manager, Administration and Identity Management
e. ahall(a)mirapoint.com; t. +1 (408) 720-3856; c. +1 (408) 667-4977