well, first we started with enterprise 2.2 milestone 2, then we passed to
2.2.27100 stable, but we cleaned up all the work dir of tomcat, removed
xwiki from webapps and redeployed 2.2.27100 (war). the only thing that
remained untouched is the database, oracle 10.
IE8 issue has been solved with this update, but IE7 still got this strange
behaviour.
Latest attempts were made disabling all the ie plugins, but the problem
persists. Tried with and without proxy, with and without apache with mod_jk,
inside and outside our organization, http and https. IE7 is the only browser
that causes this misbehaviour.
i say also that almost every component got a sort of "duplication" problem,
like Warning macro, Info, Error, Toc etc. For example, editing a page,
inserting a Warning macro, click save&view, the result is two warning boxes
and between them this text ">warning". re-editing the page cleaning the
wrong part, i can save the page correctly.
I extended com.xpn.xwiki.wysiwyg.server.filter.ConversionFilter with our
class, and printed all the properties of the http request. here follow the
iter ("OUR CUSTOM FILTER" is the first System.out of our class):
1) the page contains a correct link --> edit (WYSIWYG):
OUR CUSTOM FILTER
Parameter name: language --- Value: it
OUR CUSTOM FILTER
Parameter name: ajax --- Value: 1
Parameter name: language --- Value: it
OUR CUSTOM FILTER
Parameter name: render --- Value: true
Parameter name: xpage --- Value: wysiwyginput
Parameter name: key --- Value: EraU
2) on edit, modify the link near it, like adding a space in tail of it -->
click "save & view"
OUR CUSTOM FILTER
Attribute name: javax.servlet.forward.request_uri --- Value:
/xwiki/bin/preview/Claudio/ProvaLink
Attribute name: javax.servlet.forward.context_path --- Value: /xwiki
Attribute name: javax.servlet.forward.servlet_path --- Value: /bin
Attribute name: javax.servlet.forward.path_info --- Value:
/preview/Claudio/ProvaLink
Parameter name: tags --- Value:
Parameter name: template --- Value:
Parameter name: parent --- Value:
Parameter name: defaultLanguage --- Value: it
Parameter name: x-maximized --- Value:
Parameter name: xcontinue --- Value:
/xwiki/bin/edit/Claudio/ProvaLink?editor=wysiwyg
Parameter name: xredirect --- Value:
Parameter name: syntaxId --- Value: xwiki/2.0
Parameter name: action_save --- Value: Save & View
Parameter name: xeditaction --- Value: edit
Parameter name: content --- Value: <P>link to
http://www.google.com
org.xwiki.gwt.dom.client.Element#placeholder<!--stopwikilink-->">Google .
</P>
Parameter name: title --- Value: ProvaLink
Parameter name: RequiresHTMLConversion --- Value: content
Parameter name: content_syntax --- Value: xwiki/2.0
Parameter name: language --- Value: it
Parameter name: comment --- Value:-
OUR CUSTOM FILTER
OUR CUSTOM FILTER
Parameter name: ajax --- Value: 1
OUR CUSTOM FILTER
Parameter name: vm --- Value: commentsinline.vm
Parameter name: xpage --- Value: xpart
3) now edit again the corrupted link page --> edit
OUR CUSTOM FILTER
Parameter name: language --- Value: it
OUR CUSTOM FILTER
Parameter name: ajax --- Value: 1
Parameter name: language --- Value: it
OUR CUSTOM FILTER
Parameter name: render --- Value: true
Parameter name: xpage --- Value: wysiwyginput
Parameter name: key --- Value: IPpx
4) delete the wrong part in front of the link (that is
"org.xwiki.gwt.dom.client.Element#placeholderhttp://www.google.com">")
--> click "save & view"
OUR CUSTOM FILTER
Attribute name: javax.servlet.forward.request_uri --- Value:
/xwiki/bin/preview/Claudio/ProvaLink
Attribute name: javax.servlet.forward.context_path --- Value: /xwiki
Attribute name: javax.servlet.forward.servlet_path --- Value: /bin
Attribute name: javax.servlet.forward.path_info --- Value:
/preview/Claudio/ProvaLink
Parameter name: tags --- Value:
Parameter name: template --- Value:
Parameter name: parent --- Value:
Parameter name: defaultLanguage --- Value: it
Parameter name: x-maximized --- Value:
Parameter name: xcontinue --- Value:
/xwiki/bin/edit/Claudio/ProvaLink?editor=wysiwyg
Parameter name: xredirect --- Value:
Parameter name: syntaxId --- Value: xwiki/2.0
Parameter name: action_save --- Value: Save & View
Parameter name: xeditaction --- Value: edit
Parameter name: content --- Value: <P>link to
<!--startwikilink:http://www.google.com-->
http://www.google.com Google
<!--stopwikilink-->. </P>
Parameter name: title --- Value: ProvaLink
Parameter name: RequiresHTMLConversion --- Value: content
Parameter name: content_syntax --- Value: xwiki/2.0
Parameter name: language --- Value: it
Parameter name: comment --- Value:
OUR CUSTOM FILTER
OUR CUSTOM FILTER
Parameter name: ajax --- Value: 1
OUR CUSTOM FILTER
Parameter name: vm --- Value: commentsinline.vm
Parameter name: xpage --- Value: xpart
Now the link is correct again, and I can repeat this iter n-times and it
always happen.
any other suggestion to test? we're going a little mad with this...
thanks,
claudio
--
View this message in context:
http://n2.nabble.com/Problems-with-links-tp4435123p4611101.html
Sent from the XWiki- Users mailing list archive at
Nabble.com.