Re: [xwiki-users] Problem with XWiki Syntax 2.1 and parameter (including images)
Thanks for your help :) Then I will have to make an update. And thanks for the Ticket...now I don't have to look for a version number. Kind regards, Patrick
Re: [xwiki-users] Problem with XWiki Syntax 2.1 and parameter (including images)
See http://jira.xwiki.org/browse/XWIKI-13245 . On Mon, Dec 12, 2016 at 5:33 PM, Enste, Patrickwrote: > Hey, > > I tried to google a solution but I did not found anything. Maybe somebody > here can help me :-) > > I observed the following behaviour on my XWiki (v 7.1.1): Using the XWiki > Syntax 2.1 for inserting images leads to a problem if I am using > parameters. Let's say im using [[image:img.png||width="25px"]]. When I am > saving the page the source code of the generated html is something like > alt="img.png">. > After a refresh of the page the source code gets src="/xwiki/bin/download/Space/img.png?width=25width=25" > width="25px" alt="img.png">. After another refresh the source code gets > src="/xwiki/bin/download/Space/img.png?width=25width=25width=25" > width="25px" alt="img.png">. And so on and so on . > > After a lot of refreshes the src path is too long for my server > (restricted to 1024 chars) and the image is not shown anymore. > > When I edit the page and save it the path gets "normal" again. > > Am I using the syntax wrong or is it (I guess that is the problem) a XWiki > problem? I guess the path resolving has a bug but maybe somebody can help > me without updating the XWiki? > > Thanks in advance, > Patrick > >
Re: [xwiki-users] Problem with XWiki Syntax 2.1 and parameter (including images)
I guess it means this bug have been fixed since 7.1.1 but I don't have any idea what it was and how to workaround it. Ideally the best would be to upgrade. On Tue, Dec 13, 2016 at 1:47 PM, Enste, Patrickwrote: > Unfortunately I cannot reproduce it on 7.4.5. > > Anything else I could do? > > Kind regards, > Patrick > -- Thomas Mortagne
Re: [xwiki-users] Problem with XWiki Syntax 2.1 and parameter (including images)
Unfortunately I cannot reproduce it on 7.4.5. Anything else I could do? Kind regards, Patrick
Re: [xwiki-users] Problem with XWiki Syntax 2.1 and parameter (including images)
Hey, I reproduced the problem 2 times: 1. I created a page with content: [[image:img.png||width="25px]] on our system. 2. I started the linked jetty/hsqldb package and have the same issue when creating a page (and refresh it multiple times) Maybe this is interesting: My browser is Google Chrome. Kind regards, Patrick
[xwiki-users] Problem with XWiki Syntax 2.1 and parameter (including images)
Hey, I tried to google a solution but I did not found anything. Maybe somebody here can help me :-) I observed the following behaviour on my XWiki (v 7.1.1): Using the XWiki Syntax 2.1 for inserting images leads to a problem if I am using parameters. Let's say im using [[image:img.png||width="25px"]]. When I am saving the page the source code of the generated html is something like . After a refresh of the page the source code gets . After another refresh the source code gets . And so on and so on . After a lot of refreshes the src path is too long for my server (restricted to 1024 chars) and the image is not shown anymore. When I edit the page and save it the path gets "normal" again. Am I using the syntax wrong or is it (I guess that is the problem) a XWiki problem? I guess the path resolving has a bug but maybe somebody can help me without updating the XWiki? Thanks in advance, Patrick