Hi All,
everything works fine now and the upgrade is done. Just to document this:
1. Unzip v5.3 and copy v5.1-Data-Directory to it
2. Copy needed or customized files from to v5.1 to v5.3, i.e. xwiki.cfg,
apis, templates, resources, ...
3. Optional: Remove if necessary unwanted plugins
4. Delete solr-Directory from data-Directory (Reason:
http://www.xwiki.org/xwiki/bin/view/ReleaseNotes/ReleaseNotesXWiki53#HSolrSearchIndex)
5. Restart v5.3 (Don't Worry, the ReIndexing need a while in background)
6. Follow the Upgrade in the Browser to get all depended v5.3-Extensions
7. Have Fun
PS: At the moment this seems to be the only way to get a working file-based
v5.3 for attachments, because the Attachment Porter is not working under
v5.3. It would be nice if a file-based-portable-version could be downloaded
from xwiki.
Regards,
Matthias
--
View this message in context:
http://xwiki.475771.n2.nabble.com/Upgrade-from-5-1-to-5-3-Portable-Version-tp7588918p7588931.html
Sent from the XWiki- Users mailing list archive at Nabble.com.
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users
Hi Edo,
XWiki has indeed problems with action_ request parameters. In my case
the action_type_map and the action_ref_map parameters caused the problems.
My solution is an apache RewriteRule (my xwiki instance is running
behind an apache http server).
RewriteCond %{QUERY_STRING} ^(.*)(^|&|%26|%20)action_.*_map=[^&]+(.*)$
RewriteRule ^(.*) $1?%1%3 [R=307]
This rule deletes all action_*_map parameters from the request string.
Thank you for your help
Richard
Am 23.01.2014 14:31, schrieb Edo Beutler:
Hi Richard
I don't think it's a character encoding problem. Facebook creates many
millions of these links each day. If there were an encoding problem the
internet would be full of it.
Furthermore, I ran into the same (I think) problem a few months ago. I
found that xwiki claims all parameters starting in 'action_'. After finding
the problem, Vincent was so kind as to point me to:
In ActionFilter.java:
...
if (parameter.startsWith(ACTION_PREFIX)) {
…
where:
/** The query property name prefix that indicates the target action. */
private static final String ACTION_PREFIX = "action_";
This code is in a Filter. FTR here's its javadoc:
* A filter that dispatches requests to the right action, depending on the
button that was pressed in the editing form.
* This is needed since the browser cannot send the form data to different
URLs depending on the button pressed, and an
* XHTML form has only one target URL. In previous versions of XWiki this
was accomplished using javascript code, with a
* fall-back on a pseudo-dispatcher inside the {@link PreviewAction}, which
was on obvious case of bad code design.
*
*
* The filter dispatches requests based on the presence of a request
parameter starting with action_ followed
* by the name of the struts action that should actually process the
request. For example, the button that does
* Save and Continue looks like:
*
*
*
*
*
* As a result, when clicking the button, the request is not sent to the
form's target (preview), but is
* actually forwarded internally to
/bin/saveandcontinue/The/Document.
*
You can find our "solution" for the problem on
https://github.com/celements/celements-core/blob/dev/src/main/java/com/xpn/xwiki/web/ActionFilterFBHack.java(needsDispatch-90:99)
Be aware that this is not a good (robust) solution, but a quick fix just
for these Facebook links and there is no guarantee that sooner or later a
similar problem will not pop up again.
Hope this helps.
Edo
On Wed, Jan 22, 2014 at 2:43 PM, vinc...@massol.net wrote:
Hi Richard,
Indeed, the { character needs to be escaped. check section 2.4.3 of the
spec at http://www.ietf.org/rfc/rfc2396.txt, specifically:
--
Other characters are excluded because gateways and other transport
agents are known to sometimes modify such characters, or they are
used as delimiters.
unwise = "{" | "}" | "|" | "\" | "^" | "[" | "]" | "`"
Data corresponding to excluded characters must be escaped in order to
be properly represented within a URI.
--
Thanks
-Vincent
On 22 Jan 2014 at 14:28:42, Richard Hierlmeier (rhierlme...@googlemail.com
(mailto:rhierlme...@googlemail.com)) wrote:
Hi Vincent,
I get the following exception:
java.net.URISyntaxException: Illegal character in query at index 160:
http://
???/bin/ref_map/Main/WebHome?fb_action_ids=22334241213413241&fb_action_types=og.likes&fb_source=feed_opengraph&action_object_map={%22334241213413241%22%3A211180592403908}&action_type_map={%22334241213413241%22%3A%22og.likes%22}&action_ref_map=[]
at java.net.URI$Parser.fail(URI.java:2829)
at java.net.URI$Parser.checkChars(URI.java:3002)
at java.net.URI$Parser.parseHierarchical(URI.java:3092)
at java.net.URI$Parser.parse(URI.java:3034)
at
It's the { character after action_type_map.
Do I have a character encoding problem?
The XWiki instance is running in tomcat behind a Apache http instance.
It is connection via mod_proxy and ajp. Here is my Apache configuration:
ProxyPreserveHost On
ProxyPass / ajp://localhost:9080/
ProxyPassReverse / http://???/
Here ist the ajp connector configuration from server.conf
maxThreads="20" URIEncoding="UTF-8"/>
Thank you
Richard
Am 22.01.2014 13:54, schrieb Vincent Massol:
Hi Richard,
On 21 Jan 2014, at 21:07, Richard Hierlmeier wrote:
I have a Facebook like Button on my xwiki instance. When clicking on
the button in facebook the following link is created:
http://
/bin/view/Main/Sample?fb_action_ids=22334241213413241&fb_action_types=og.likes&fb_source=feed_opengraph&action_object_map={%22334241213413241%22%3A211180592403908}&action_type_map={%22334241213413241%22%3A%22og.likes%22}&action_ref_map=[]
However XWiki can not handle this link correctly. When clicking on it
I get the following error message (it's in german language):
Hinweis
Während der Verarbeitung Ihrer Anfrage trat ei
Hi,
This error means that you need to reindex your SOLR index.
This is indicated in the release notes:
http://www.xwiki.org/xwiki/bin/view/ReleaseNotes/ReleaseNotesXWiki53#HSolrSearchIndex
Thanks
-Vincent
On 1 Feb 2014 at 23:46:03, Matthias Wegner (mic.mat.weg...@web.de) wrote:
Ok, now the Exception is this:
https://ezcrypt.it/RT7n#m2QC9d3AHQZNVz9w8Jv4ucNR
Regards,
Matthias
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users