Hi all,
I have some problems trying to exporta as pdf a page.
In the source code there is an image
> <img src="/xwiki/bin/download/Discussione/MasterPlan/Masterplan.png" alt="
> Masterplan.png" title="Masterplan.png"/>
>
but in the pdf I see also this line
> 8080xwiki/H4RLVAa1/Discussione.MasterPlan.Masterplan.png" alt="
> Masterplan.png" title="Masterplan.png"/>
>
and in the console these lines appears
line 29 column 1 - Warning: <img> attribute with missing trailing quote mark
> line 29 column 1 - Warning: <img> escaping malformed URI reference
> line 29 column 1 - Warning: <img> lacks "alt" attribute
Can someone help me??
Thanks
Raffo
Hi,
I'd like us to agree on using the strategy described here:
http://blogs.sonatype.com/john/2007/11/09/1194630418546.html
This has several advantages:
1) Keeps our code clean
2) Put all backward compatibility code in a single place which makes
it easy too to remove when the time has come
Here's my +1
If we agree I'll do a try of using this approach for moving out the
deprecated methods in the XWiki class into an aspect. It should be a
piece of cake since we already have the aspectj plugin in place for
the core build.
Thanks
-Vincent
Hi all,
I chenged in the file menuview.vm the row:
#submenuitem($doc.getURL("export", "format=pdf&$docvariant") $msg.get("
core.menu.export.pdf"))
in
#submenuitem($doc.getURL("export",
"format=pdf&includechilds=1&$docvariant") $msg.get("core.menu.export.pdf
"))
to include childs pages into PDF export but when I try to execute export in
PDF I get this exception
com.xpn.xwiki.XWikiException: Error number 12002 in 12: Exception while
exporting PDF
Wrapped Exception: org.apache.fop.fo.ValidationException: null:118:234:
Property id "HInventory" previously used; id values must be unique in
document.
at com.xpn.xwiki.pdf.impl.PdfExportImpl.exportXMLFO(PdfExportImpl.java
:194)
at com.xpn.xwiki.pdf.impl.PdfExportImpl.exportXHtml(PdfExportImpl.java
:134)
at com.xpn.xwiki.pdf.impl.PdfExportImpl.exportHtml(PdfExportImpl.java
:202)
at com.xpn.xwiki.pdf.impl.PdfExportImpl.export(PdfExportImpl.java:225)
at com.xpn.xwiki.web.ExportAction.exportPDFOrRTF(ExportAction.java:198)
It seems the validator has problems parsing the link in the text created
joining the parent with childs pages.
Thanks
raffo
Hi,
I'm proposing introducing a new api.Util class in 1.3M2. I'll
deprecate utility methods in api.XWiki and copy them to this new class.
Here's my +1
Thanks
-Vincent
Hi All,
The current curriki xar package has bugs in the sense lot of documents are
missing in the package.xml.
For example:
document Admin.ApplicationPageList
document Admin.ContentPageList
I don't know all that are missing, but every time I try to import I
encounter one new document.
Then I add the entry in package.xml build the xar again and then again try
to import.
This would become a long iterative process.
Further I see in the com.xpn.xwiki.plugin.packaging.Package file
method:Import you test for the existence of these files and then if file is
missing you raise the exception.
Won't it be nice if we check for the existence of all the files at once and
then raise one exception with complete set of missing files to speed up the
debugging process.
So two things need to be done:
1. add the missing files in the package.xml
2. change the process of raising exception for the missing files.
I would be doing these at my end, and if you want me I can checkin these
changes in the svn, but I would need the checkin rights else someone please
do the needful at central place too.
Thanks
Sachin
--
View this message in context: http://www.nabble.com/Bug-in-curriki-xar-package-tp15188075p15188075.html
Sent from the XWiki- Dev mailing list archive at Nabble.com.
My configuration does authentication in Apache and then passes the
pre-authenticated request to Tomcat. It looks like the class
com.xpn.xwiki.user.impl.xwiki.AppServerTrustedAuthServiceImpl assumes
the authentication has already occurred and creates an Xwiki user which
is what I think I want. So, I thought all I had to do was add a line to
the xwiki.cfg file like this:
xwiki.authentication.authclass=com.xpn.xwiki.user.impl.xwiki.AppServerTr
ustedAuthServiceImpl
But it didn't seem to work so I turned on debugging log4j.properties
with this:
log4j.logger.com.xpn.xwiki.user.impl.xwiki=debug
And this showed up in my xwiki.log:
17:21:20,996 [TP-Processor2] DEBUG xwiki.XWikiRightServiceImpl -
Checking match: XWiki.XWikiGuest in
17:21:20,996 [TP-Processor2] DEBUG xwiki.XWikiRightServiceImpl -
Checking match: XWiki.XWikiGuest in
17:21:20,997 [TP-Processor2] DEBUG xwiki.XWikiRightServiceImpl -
Failed match: XWiki.XWikiGuest in
17:21:20,997 [TP-Processor2] DEBUG xwiki.XWikiRightServiceImpl -
Checking object 2
17:21:20,997 [TP-Processor2] DEBUG xwiki.XWikiRightServiceImpl -
Checking match: view in view,register,
17:21:20,997 [TP-Processor2] DEBUG xwiki.XWikiRightServiceImpl -
Found a right for true
17:21:20,997 [TP-Processor2] DEBUG xwiki.XWikiRightServiceImpl -
Checking match: XWiki.XWikiGuest in XWiki.XWikiGuest,
17:21:20,997 [TP-Processor2] DEBUG xwiki.XWikiRightServiceImpl -
Checking match: XWiki.XWikiGuest in XWiki.XWikiGuest
17:21:20,998 [TP-Processor2] DEBUG xwiki.XWikiRightServiceImpl -
Found matching right in XWiki.XWikiGuest, for XWiki.XWikiGuest
17:21:20,998 [TP-Processor2] DEBUG xwiki.XWikiRightServiceImpl -
Access has been granted for (XWiki.XWikiGuest,Panels.MyRecentModif
It doesn't seem to be using the AppServerTrustedAuthServiceImpl because
the expected log statements don't appear in the log file. Any
suggestions on how to properly configure AppServerTrustedAuthServiceImpl
??
Any help greatly appreciated - Glenn
The contents of this e-mail are intended for the named addressee only. It contains information that may be confidential. Unless you are the named addressee or an authorized designee, you may not copy or use it, or disclose it to anyone else. If you received it in error please notify us immediately and then destroy it.
Hello,
I would like to move the spacemanager plugin that has been developped for
curriki 1.5 from product-curriki/plugins/ to platform-plugins/. The plugin
is mature enough to be used.
Also, I propose the following plan with it :
- Improve its javadoc (already started)
- Write its documentation for xwiki.org
- Release it as 1.0
Here is my +1 for the move
Jérôme.
Hi everyone,
If some are you are interesting in testing out the new Toucan skin
(the skin on xwiki.org) on your install you can download a preview here
http://tinyurl.com/yts6gr
Just unzip it in your skins/ directory next to the albatross/ directory.
Please report any issue you have here:
http://jira.xwiki.org/jira/browse/XSTOUCAN-1
Thanks
-Vincent
Hi,
I would like to release XEM 1.0 final. It only contains XE 1.2 to
1.2.1 bugfixes and more error handling in Wiki Manager.
You can see the complete release note at
http://www.xwiki.org/xwiki/bin/view/Main/ReleaseNotesXEM10.
Here's my +1
--
Thomas Mortagne
Hi,
I'd like to release the new Swizzle Plugin I've created.
See http://jira.xwiki.org/jira/browse/XPSWIZZLE-1
For documentation about it does see
http://code.xwiki.org/xwiki/bin/view/Plugins/SwizzlePlugin
Here's my +1
Note that I've proactively added it to the plugins section in SVN and
I should probably have asked for a vote before doing this. I assumed
(and I hope I was right) that nobody would see an issue with this. Of
course I'm committing to maintaining it.
Note that my ultimate idea is to use it on xwiki.org to:
1) automatically generate release notes.
2) add it to the News page to have JIRA updates on xwiki.org about
issues closed/created/modified
Thanks
-Vincent
The XWiki development team is pleased to announce the release of the
XWiki Swizzle Plugin 1.0.
Go grab it at http://code.xwiki.org/xwiki/bin/view/Plugins/SwizzlePlugin
This plugin allows using Swizzle (http://swizzle.codehaus.org) from a
XWiki page. For example this allows to query a JIRA instance and
display all sort of information in a XWiki page about it.
Some usage ideas:
1) List all issues in a given release
2) List all JIRA projects
3) Create a dashboard
4) List most voted on issues
etc
Thanks
-The XWiki dev team
Hi
I previously mentioned an performance issue under Linux and maybe I know now
why. It has nothing to do with Linux, but with a Firefox setting (which I
use only under Linux).
If you go in Firefox to your settings => Tab "Content" => Area "Font &
Color" => Button "Advanced" => untick "Allow pages to choose their own
fonts, instead of my selections above." => ok.
Then you will see, that XWiki.org is very slow to scroll. Other pages are
fine, even my own XWiki runs smooth.
--
View this message in context: http://www.nabble.com/Firefox-setting-affects-XWiki.org-tp15141427p15141427…
Sent from the XWiki- Dev mailing list archive at Nabble.com.
The XWiki development team is pleased to announce the release of XWiki
Enterprise1.3 Milestone 1.
Go grab it at http://www.xwiki.org/xwiki/bin/view/Main/Download
First milestone of the XWiki Enterprise 1.3 version.
Note that general goals for XWiki Enterprise 1.3 are:
* Bug fixes
* More automated tests
* Clean up the Skins, make it easy to create new skins and add
the new xwiki.org skin
* Improve performances (less Javascript files, more optimized
CSS, better caching, etc)
Main changes from 1.2.1:
* A good deal of bugs fixed
* Added ability to export pages as HTML in a zip file
* Added ability to export the current page in a XAR
* Removed Finch and Dodo skin from the default distribution. They
are now available as separate downloads.
* Better support for Oracle with the upgrade to Hibernate
3.2.5.ga version.
+ lots of other changes, see Platform details and XWiki Enterprise
details.
For more information see the Release notes at:
http://www.xwiki.org/xwiki/bin/view/Main/ReleaseNotesXWikiEnterprise13M1
Thanks
-The XWiki dev team
Hi all,
In the Download XWiki page at
http://www.xwiki.org/xwiki/bin/view/Main/Download there is a link to the
Maven repository. Once there, the "XWiki Enterprise files" entry links
to a directory where I can see .pom, .md5 and .sha1 files, but now .war
files is in there.
I can find .war files in the directory linked to "XWiki Platform
Standard WAR". For instance, the last one is now, I think,
http://maven.xwiki.org/snapshots/com/xpn/xwiki/platform/xwiki-web-standard/…
It is clear that I don't understand how Maven repository works! Is there
a .war for the last XWiki Enterprise build (if that exist)? Is this
xwiki-web-standard file the one I must download and install to test some
new feature or fixed bug?
Must I build it here?
Thanks for your help!
Ricardo
--
Ricardo Rodríguez
Your EPEC Network ICT Team
Thanks to John Casey from the Maven dev team, our build is now working
fine with the latest SNAPSHOT of Maven 2.1 (I've built it on the 30th
of Jan 2008, at 9:45 GMT+1).
I'll continue to do some testing with it for a while and if all is
fine I'll propose a switch to it since it allows us to rejoin the
maven dev path and fixes a few of our build issues (custom repos not
checked when maven is resolving parent poms, checkstyle plugin not
working, etc).
-Vincent
Hello,
we're struggling with our users inserting simple french names as
URLs... the result gives:
- title values which expand from été to ?t? (well... with double
question mark for each)
- and pages that you can't even go back to
We have changed the encoding overall to be UTF-8 .
What is happening wrong?
Is there a tentative in XWiki to:
- solve the problem that the encoding of parameters in a GET request
is undetermined (is hinted to be utf-8 in the new URI rfc but is
generally the charset the browser had the page with)
- make IRIs work in general? (kind of nice I believe, though might be
browser-broken)
- anyone successful with such names?
I think Tomcat is not guilty there either.
thanks in advance
paul
The XWiki development team is pleased to announce the release of XWiki
Enterprise1.2.1.
Go grab it at http://www.xwiki.org/xwiki/bin/view/Main/Download
This is a bug fix release. The highlight of this release is that it
fixes a bug when creating Users or Groups.
Changes from 1.2:
Bug fixed:
* XWIKI-1880 - Exception in the console when editing groups using
the new UI
* XWIKI-2027 - Lucene plugin filter some pages in the search
result list
* XWIKI-2028 - Can't delete document using Document.delete if
user does not have programming rights
* XWIKI-2029 - When loading a revision of a document the creation
date is incorrectly set as the last modification date
* XWIKI-2034 - Parse error (encountered EOF) while migrating the
database
* XWIKI-2037 - Two versions of commons-logging are put in WEB-INF/
lib
Improvements:
* XWIKI-2036 - Display the date in the logs
* XWIKI-2044 - Modify the database migrator that aligns RCS Diffs
data so that it can be executed even after the migrator that removes
RCS data from the document table has executed
New Features:
* XWIKI-1672 - Add API to delete a given wiki in a multi-wiki setup
For more information see the Release notes at:
http://www.xwiki.org/xwiki/bin/view/Main/ReleaseNotesXWikiEnterprise121
Thanks
-The XWiki dev team
Hi,
Due to some problems with the server where the XWiki maven repository is
stored, we have lost all the past releases stored there, and we didn't
have any backup.
This means that:
- the OW2 forge is the only place where you can get the XWiki releases
from, until we fix the repository;
- you might get some build errors when building parts of XWiki, and to
get past them you must manually build the missing modules.
Since it is late in Europe, where most of the developers are located, we
will postpone the repository fix until tomorrow.
XWiki Platform and XWiki Enterprise 1.2.1 were scheduled for release
tonight, and this problem will delay the release a few hours, since some
dependencies must be redeployed first.
On behalf of the XWiki team,
Sergiu
Hi all,
In the page
http://code.xwiki.org/xwiki/bin/view/Snippets/GeneratePdfForChildrenPagesSn…
read:
Since XWiki 1.2 it's possible to export several pages as PDF or RTF, using
> the currently undocumented includechilds=1, includelinks=1 and
> pagebreaks=1 request parameters. See XWIKI-1289 to follow the status on
> this.
I see in the menuview.vm the code
#submenuitem($doc.getURL("export", "format=pdf&$docvariant") $msg.get("
> core.menu.export.pdf"))
to compile the request URL and I find the variable $docvariant set in
xwikivars.vm
> ## Check revision option
> #if ($request.rev)
>
Can someone help me to find where to put includechilds=1 to make it icluded
in the link?
Thanks
Raffo
Hi,
I'd like to release XE 1.3M1 tomorrow. It has the following changes
compared to 1.2.1:
Release Notes - XWiki Platform - Version 1.3 M1
** Bug
* [XWIKI-1645] - build time/test jars should not be packaged with
xwiki + possible bloat
* [XWIKI-1921] - Packager import from directory does not support
files with any name
* [XWIKI-1930] - XWiki.searchDocuments(String, boolean, int, int)
does not use "distinctbylanguage" parameter
* [XWIKI-1947] - At plugin initialization, the context does not
contain an URLFactory
* [XWIKI-1958] - XWiki.getVirtualWikisDatabaseNames does not
search in main wiki
* [XWIKI-1964] - getMatchedUsers doesn't work as expected when
using more than one filters
* [XWIKI-1971] - Deleting or putting "false" in the validation
cookie bypasses cookie validation
* [XWIKI-1992] - XWiki cannot start when xwiki.cfg is missing
* [XWIKI-2000] - Exception updating the database when starting
XWiki in mysql
* [XWIKI-2001] - XWiki.isMySQL always returns false due to a
deprecated check
* [XWIKI-2009] - Error occurs during Oracle database initialization
* [XWIKI-2013] - Named HQL queries only support String values
HibernateStore.
* [XWIKI-2023] - Class differences are shown in the opposite
direction (from new version to old version)
* [XWIKI-2026] - The API version of xwiki.clearName() does not
return a valid (for URL) page name
* [XWIKI-2040] - api.User#isUserInGroup should not throw exceptions
* [XWIKI-2042] - Wiki markup in the footnotes break the HTML
** Improvement
* [XWIKI-1961] - Use the new XWiki.getVirtualWikisDatabaseNames
in Lucene plugin
* [XWIKI-1991] - Replace usage of sun.misc.BASE64Encoder with
commons-codec
* [XWIKI-2032] - Remove Finch and Dodo skin from the default
distribution
** New Feature
* [XWIKI-564] - Export pages in HTML, in a zip file
* [XWIKI-1672] - Allow to delete wiki
* [XWIKI-1931] - XAR Export for a page
* [XWIKI-1978] - Create a new module for the patchservice
** Task
* [XWIKI-1968] - Auto-create the Advanced/Basic usertype property
if it does not exist
* [XWIKI-1973] - Upgrade to xml-apis 1.3.04
* [XWIKI-2005] - Upgrade Commons HttpClient to 3.1, ical4j to
0.9.20 and Picocontainer to 1.2
* [XWIKI-2031] - Move skins in their own build modules
Release Notes - XWiki Enterprise - Version 1.3 M1
** Bug
* [XE-161] - XWiki.Result page has multiwiki problems
* [XE-170] - Malformed HTML in CalendarData class
* [XE-181] - Remove empty Blog.Categories objects in the
Blog.Categories page
** Improvement
* [XE-157] - Add links to Blog post titles when displayed in a
blog list
* [XE-158] - Add title and introduction to the Dashboard page
* [XE-171] - Display scaled images in the photo album application
Here's my +1
Thanks
-Vincent
Hi all,
I'm facing here some troubles while setting up virtual wikis by hand and
would like to understand how this feature work.
In XWikiServerClass we add two properties: server and owner. The role
and functioning of server is far clear. I also understand owner as a
neat need: "the owner user of the Virtual XWiki; for example
XWiki.Admin" as stated in
http://platform.xwiki.org/xwiki/bin/view/AdminGuide/Virtualization#HByhand,
or "the user that should automatically have admin rights on your new
virtual wiki (example XWiki.admin)" as in
http://www.xwiki.org/xwiki/bin/view/FAQ/HowToSetupVirtualWikis.
But I've configured a number of virtual wikis here and I am not able to
find their owners anywhere. Neither in the controller database, nor in
their own databases.
Please, where these owner users are created? Thanks!
Ricardo
--
Ricardo Rodríguez
Your EPEC Network ICT Team
Hi,
Thomas would like to release XE 1.2.1 tomorrow (Monday). Here are the
current changes done 1.2 final:
** Bug
* [XWIKI-2027] - Lucene plugin filter some pages in the search
result list
* [XWIKI-2028] - Can't delete document using Document.delete if
user does not have programming rights
* [XWIKI-2029] - When loading a revision of a document the
creation date is incorrectly set as the last modification date
* [XWIKI-2034] - Parse error (encountered EOF) while migrating
the database
** Improvement
* [XWIKI-2036] - Display the date in the logs
We'll also include the following 2 issues in the release:
* [XWIKI-1880] - Exception in the console when editing groups
using the new UI
* [XWIKI-2037] - Two versions of commons-logging are put in WEB-
INF/lib
Last, I'll try to include this one too but for the moment I'm having a
hard time reproducing it:
* [XWIKI-2035] - "Exception while patching" error
Here's my +1
Anything else that's absolutely required for 1.2.1?
Note that once 1.2.1 is released I'll call a vote for the release of
1.3M1.
Thanks
-Vincent
Hi all,
I try to develop a plugin with two methods:
- public String echo(String echoString)
- public boolean movePageAndChildren(XWikiContext context,
XWikiDocument doc,String space)
I'm trying to use it witk this code:
#set($targetspace = $request.targetspace)
#set($targetdoc = $request.targetdoc)
#if($targetdoc and $targetspace)
#set($tDoc=$xwiki.getDocument($targetdoc))
$xwiki.pagemanager.echo($targetspace)
$xwiki.pagemanager.movePageAndChildren($context.context,$tDoc,$targetspace)
#end
<form action="">
<table>
<tr><td>Target Document:</td>
<td><input type="text" name="targetdoc" value="$!request.targetdoc"
size="60"/></td></tr>
<tr><td>Target Space:</td>
<td><input type="text" name="targetspace" value="$!request.targetspace"
size="60" /></td></tr>
<tr><td><input type="submit" value="Copy" />
</td></tr>
</table>
</form>
but when I execute it it seems that the movePageAndChildren method is not
executed because I get this output:
prova space2
$xwiki.pagemanager.movePageAndChildren($context.context,$tDoc,$targetspace)
with this input
- Target Document=space1.prova
- Target Space=space2
Thanks
Raffo