Hello XWiki experts,
I've been getting into a crazy situation where I could not save a page anymore. The error reported was a hibernate error complaining about consistency violation wrt to a primary key on xwikilinks.
Having looked into the DB, the indexes, tried to remove things, .... I just realized that the error was the parser.
That page (a groovy page) was recorded in Syntax 1.0 and the parser caught a piece of string [A-Z], within a regexp, as a link. That'd be a broken link, but it turned out to create this constraint violation.
For this case I just upgraded the syntax.
Good to know in the future for us, and probably others since "quickly patching a syntax 1.0 page" is likely to be something several people still do although it's all deprecated.
Paul
Hi, we have made the experience, that regular users can edit access rights
for pages. Is this regular behaviour? And funnily: The user can only _grant_
access rights but cannot revoke them. Plus: he can only grant it to _one_
group/user. In both cases (when trying to revoke or when trying to grant to
any other group/user) the system says, that there was an error when
communicating with the server.
Is it in gerenal possible to restrict access to the access page and to the
objects page for regular users?
Thanks!
Hi,
The function $util.clearName "Cleans up the passed text by removing
all accents and special characters to make it a valid page name." It
removes spaces from names, as demonstrated in the FAQ tutorial [1].
Removing spaces is a bit too much for my taste; I've resorted to using
$util.clearAccents to filter page names (also replacing periods with
commas!). I hope the users of my wiki won't find illicit uses/breaking
page names. Are there better alternatives?
I agree using spaces can make it difficult to access URLs, but the
page names become far clearer.
Cheers, Joris
Mistake on my side, it's the latest XEM 4.1.2.
Sorry for providing wrong information.
Jan
From: Jan Å legr
Sent: Wednesday, July 11, 2012 5:46 PM
To: users(a)xwiki.org
Subject: XEM 4.0.3: Bulletin Board doesn't work properly
Hi all,
I installed XEM 4.0.3 from scratch, created wiki and install Bulletin Board application I have used with XEM 2.3 in the past.
I discovered small but troublesome bug: If a new topic is created, after Save and view button is pressed, the created page lost information about its parent page, so it's not listed in the list of forum topics. If the parent document is added manually, everything is fine.
I know BB application is old and based on XWiki 1.0 Syntax, but it's still valuable and there is no, as far as I now, replacement. I tried to find a source of the problem but I failed. Do somebody have any recommendation what to check and change in the code (or somewhere else) to solve the problem?
With regards,
Jan
Hi all,
I installed XEM 4.0.3 from scratch, created wiki and install Bulletin Board application I have used with XEM 2.3 in the past.
I discovered small but troublesome bug: If a new topic is created, after Save and view button is pressed, the created page lost information about its parent page, so it's not listed in the list of forum topics. If the parent document is added manually, everything is fine.
I know BB application is old and based on XWiki 1.0 Syntax, but it's still valuable and there is no, as far as I now, replacement. I tried to find a source of the problem but I failed. Do somebody have any recommendation what to check and change in the code (or somewhere else) to solve the problem?
With regards,
Jan
Hi,
wondering if there is a solution for the following problem:
I'm using a sheet, which includes a macro, which in turn is able to
dynamically include special documents with the help of a combo-box.
When creating a new 'mother' document based on that sheet and including
other documents which have for example attached pictures and are
referenced in the document for displaying them, they will lose their
reference and won't be showed. If i attach the same picture (with the
same title) to this 'mother' document, it's back there at the position
in area of the included document, where I need it.
Nevertheless this is not what I want to do. I just want to keep the
image reference ([image:IMGXXXX.JPG||width="300"]) of the included
document to its own attachments and not to the 'mother' document.
Many thanks and best regards,
Josef Haimerl
Hi All,
I want to hide history section which i see between attachments and
information section. As per link i tried using below code snippet at
various places(like view.vm,menuview.vm and xwikivars.vm) but nothing
worked. I am on wiki 3.5.
#set ($showhistory = "no")
Could you point me how to hide the history section from wiki?