Re: [xwiki-users] Problems with links

2010-02-22 Thread ccoreggioli

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 saveview, 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: Plink to  http://www.google.com
org.xwiki.gwt.dom.client.Element#placeholder!--stopwikilink--Google .
nbsp;/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#x3e;;)
-- 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: Plink to
!--startwikilink:http://www.google.com-- http://www.google.com Google
!--stopwikilink--. nbsp;/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: 

[xwiki-users] macros and lists

2010-02-22 Thread stefan bachert
Hi,

I figured out the macro capability. That is real powerful stuff.

However, I failed to pass a list to macros.
Is this a bug or by design?

Stefan Bachert


__
Do You Yahoo!?
Sie sind Spam leid? Yahoo! Mail verfügt über einen herausragenden Schutz gegen 
Massenmails. 
http://mail.yahoo.com 
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


[xwiki-users] Macro in html-macro

2010-02-22 Thread stefan bachert
Hi,

is there a way to include an other macro in a html macro?

Stefan Bachert


__
Do You Yahoo!?
Sie sind Spam leid? Yahoo! Mail verfügt über einen herausragenden Schutz gegen 
Massenmails. 
http://mail.yahoo.com 
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] Macro in html-macro

2010-02-22 Thread Marius Dumitru Florea
Hi Stefan,

stefan bachert wrote:
 Hi,
 

 is there a way to include an other macro in a html macro?

As specified on http://code.xwiki.org/xwiki/bin/view/Macros/HTMLMacro 
you can use wiki=true but be aware to escape special xwiki2.0 chars that 
you don't want to be interpreted.

In case you don't know, all macros are documented on 
http://code.xwiki.org/xwiki/bin/view/Macros/

Hope this helps,
Marius

 
 Stefan Bachert
 
 
 __
 Do You Yahoo!?
 Sie sind Spam leid? Yahoo! Mail verfügt über einen herausragenden Schutz 
 gegen Massenmails. 
 http://mail.yahoo.com 
 ___
 users mailing list
 users@xwiki.org
 http://lists.xwiki.org/mailman/listinfo/users
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] Macro in html-macro

2010-02-22 Thread Asiri Rathnayake
Hi stefan,

I think you are asking too many questions without participating / helping in
any other conversation. You might want to slow down a bit ;)

- Asiri

2010/2/22 stefan bachert stefanbach...@yahoo.de

 Hi,

 is there a way to include an other macro in a html macro?

 Stefan Bachert


 __
 Do You Yahoo!?
 Sie sind Spam leid? Yahoo! Mail verfügt über einen herausragenden Schutz
 gegen Massenmails.
 http://mail.yahoo.com
 ___
 users mailing list
 users@xwiki.org
 http://lists.xwiki.org/mailman/listinfo/users

___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] Macro in html-macro

2010-02-22 Thread Caleb James DeLisle

Something like that?

{{html}}
iItalics/i
{{warning}} This is a warning {{/warning}}
some text
{{/html}}

{{html wiki=false}} will turn off further wiki parsing and inner macros will be 
displayed verbatim.

Caleb James DeLisle

stefan bachert wrote:
 Hi,
 
 is there a way to include an other macro in a html macro?
 
 Stefan Bachert
 
 
 __
 Do You Yahoo!?
 Sie sind Spam leid? Yahoo! Mail verfügt über einen herausragenden Schutz 
 gegen Massenmails. 
 http://mail.yahoo.com 
 ___
 users mailing list
 users@xwiki.org
 http://lists.xwiki.org/mailman/listinfo/users
 

___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] Problems with links

2010-02-22 Thread ccoreggioli

Hi all,

got few more infos. I opened the editor with active debug, i report what's
inside the four windows below the editor in this file:

http://www.gidi.it/debug.odt
http://www.gidi.it/debug.doc

thanks a lot!
claudio
-- 
View this message in context: 
http://n2.nabble.com/Problems-with-links-tp4435123p4611638.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


Re: [xwiki-users] macros and lists

2010-02-22 Thread Thomas Mortagne
On Mon, Feb 22, 2010 at 10:50, stefan bachert stefanbach...@yahoo.de wrote:
 Hi,

 I figured out the macro capability. That is real powerful stuff.

 However, I failed to pass a list to macros.
 Is this a bug or by design?

It depends what you mean exactly by pass a list to macros.


 Stefan Bachert


 __
 Do You Yahoo!?
 Sie sind Spam leid? Yahoo! Mail verfügt über einen herausragenden Schutz 
 gegen Massenmails.
 http://mail.yahoo.com
 ___
 users mailing list
 users@xwiki.org
 http://lists.xwiki.org/mailman/listinfo/users




-- 
Thomas Mortagne
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] Problems with links

2010-02-22 Thread Marius Dumitru Florea
Hi Claudio,

ccoreggioli wrote:
 Hi all,
 
 got few more infos. I opened the editor with active debug, i report what's
 inside the four windows below the editor in this file:
 
 http://www.gidi.it/debug.odt
 http://www.gidi.it/debug.doc

First of all thanks for your investigation. The behavior you experience 
is caused by the fact that the HTML content is not properly serialized 
before being submitted. The real question is: what prevents the editor 
from properly serializing the content on IE7?

Let me give you a few technical details to understand what happens. When 
you edit a wiki page its content (XWiki 2.0 syntax usually) is rendered 
to XHTML and fed to the WYSIWYG editor. This XHTML input is a bit 
special because it contains some meta data in form of XML comments. In 
order to protect this comments during editing the editor moves them 
inside attributes (thus the metadata attribute). Before the content is 
submitted the editor moves back the meta data from attributes to XML 
comments. Before the content is submitted usually means when the rich 
text area looses the focus.

After the HTML content (the editor output) is submitted it is cleaned 
and then converted to wiki syntax. It looks like the cleaner messes up 
the content if the meta data is not restored (i.e. the metadata 
attribute is present) but this is not the problem because the metadata 
attribute shouldn't be present in the submitted content.

Now two questions:

(1) Does this happen if you switch to Source tab instead of clicking 
Save  View ?

(2) Does this happen on IE8 with IE7 mode? (you can change the mode from 
Tools/Developers Tools and click on Browser Mode: IE8 and choose 
Internet Explorer 7)

Thanks,
Marius

 
 thanks a lot!
 claudio
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


[xwiki-users] Pool-exhausted, what to do?

2010-02-22 Thread Paul Libbrecht

Hello XWikiers,

Today I met a short hang of our platform (also noticed by a nagios)  
which seemed to say in the log:

org.apache.commons.dbcp.SQLNestedException: Cannot get a connection,  
pool exhausted

Is it right to raise the
property name=connection.pool_size2/property
to
property name=connection.pool_size5/property

in hibernate.cfg.xml?

thanks in advance

paul
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] Problems with links

2010-02-22 Thread ccoreggioli

Hi Marius,

thanks to you for your prompt reply!

 (1) Does this happen if you switch to Source tab instead of clicking Save
  View ?

Yes, it happens even passing from WYSIWYG to SOURCE tab and ...

 (2) Does this happen on IE8 with IE7 mode? (you can change the mode from
 Tools/Developers Tools and click on Browser Mode: IE8 and choose
 Internet Explorer 7) 

... no, it doesn't!!! IE8 in IE7 mode works fine.

Thanks,
claudio

-- 
View this message in context: 
http://n2.nabble.com/Problems-with-links-tp4435123p4612492.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


Re: [xwiki-users] Pool-exhausted, what to do?

2010-02-22 Thread Sergiu Dumitriu
On 02/22/2010 02:33 PM, Paul Libbrecht wrote:

 Hello XWikiers,

 Today I met a short hang of our platform (also noticed by a nagios)
 which seemed to say in the log:

   org.apache.commons.dbcp.SQLNestedException: Cannot get a connection,
 pool exhausted

 Is it right to raise the
   property name=connection.pool_size2/property
 to
   property name=connection.pool_size5/property

 in hibernate.cfg.xml?

IIRC, this was 20 at some point. I used it at that value for a long 
time, without any problems observed.

Still, I've rarely seen it, although such a small pool size would make 
one expect it quite frequently on a normal site, and I've seen several 
connections to the database even with this small value, so I think that 
this configuration isn't taken into consideration.

-- 
Sergiu Dumitriu
http://purl.org/net/sergiu/
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


[xwiki-users] No se muestrfan index, attachments, users y groups

2010-02-22 Thread Vicente Cañada

Hola,

desde que actualicé la versión de xwiki 1.7.1 a la 2.1.1 y ahora a la 2.2, no 
se muestran ni el index, ni los attachments ni los users and groups.

Da un error de javascript en el navegador indicando que ASSTABLE no está 
definido. Se queda cargando la barra de loading y no muestra nada.

 

Las url en las que pasa esto son:

https://localhost:8443/xwiki/bin/view/Main/AllDocs?view=index

https://localhost:8443/xwiki/bin/view/Main/AllDocs?view=attachments

https://localhost:8443/xwiki/bin/admin/XWiki/XWikiPreferences?editor=globaladminsection=Users

https://localhost:8443/xwiki/bin/admin/XWiki/XWikiPreferences?editor=globaladminsection=Groups

 

No encuentro la forma de solucionarlo,

alguién le ha sucedido algo similar, podrían ayudarme?

 

muchas gracias
  
_
¿Aún sin la última versión de Internet Explorer 8? ¡Actualízate gratis!
http://www.vivelive.com/internetexplorer8
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] No se muestrfan index, attachments, users y groups

2010-02-22 Thread Sergiu Dumitriu
On 02/22/2010 08:40 PM, Vicente Cañada wrote:

 Hola,

 desde que actualicé la versión de xwiki 1.7.1 a la 2.1.1 y ahora a la 2.2, no 
 se muestran ni el index, ni los attachments ni los users and groups.

 Da un error de javascript en el navegador indicando que ASSTABLE no está 
 definido. Se queda cargando la barra de loading y no muestra nada.



 Las url en las que pasa esto son:

 https://localhost:8443/xwiki/bin/view/Main/AllDocs?view=index

 https://localhost:8443/xwiki/bin/view/Main/AllDocs?view=attachments

 https://localhost:8443/xwiki/bin/admin/XWiki/XWikiPreferences?editor=globaladminsection=Users

 https://localhost:8443/xwiki/bin/admin/XWiki/XWikiPreferences?editor=globaladminsection=Groups



 No encuentro la forma de solucionarlo,

 alguién le ha sucedido algo similar, podrían ayudarme?

Hi Vicente,

First of all, this mailing list is english-only, so please try to write 
any further emails in English.

Now, for your problem, you must import the administration application 
used by XE 2.2, since it contains updated scripts, then refresh your 
browser cache.

http://maven.xwiki.org/releases/org/xwiki/platform/applications/xwiki-application-administration/1.26/xwiki-application-administration-1.26.xar

Please read the upgrade documentation at 
http://platform.xwiki.org/xwiki/bin/view/AdminGuide/Installation#HUpgradinganXWikiInstallation

-- 
Sergiu Dumitriu
http://purl.org/net/sergiu/
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


[xwiki-users] Ampersands in livetable filtering column bug

2010-02-22 Thread Radek Rekas
We're using xwiki 2.03 and text with ampersands in it breaks the livetable 
filtering feature.

Is there any fix to properly escape the text that gets entered into the 
filtering fields on livetables or can anyone give me a pointer on where to 
start looking in order to fix this?

Thanks,


Radek Rekas


___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] Ampersands in livetable filtering column bug

2010-02-22 Thread Vincent Massol
Hi,

On Feb 23, 2010, at 5:23 AM, Radek Rekas wrote:

 We're using xwiki 2.03 and text with ampersands in it breaks the livetable 
 filtering feature.
 
 Is there any fix to properly escape the text that gets entered into the 
 filtering fields on livetables or can anyone give me a pointer on where to 
 start looking in order to fix this?

AFAIK this was fixed in XE 2.2

Thanks
-Vincent

___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users