Re: [xwiki-users] Programming rights ignored in the wiki farm while extension installation

2013-08-30 Thread Thomas Mortagne
On Thu, Aug 29, 2013 at 7:14 PM, Dmitry Bakbardin haru_mamb...@mail.ru wrote:
  Hi, Thomas,

 Thanks a lot, now it works. But anyhow, there is a problem to resave macro 
 pages, UI pages to make it running. Is there any other solution to make it 
 working out of the box?

You don't have to resave pages, these pages were installed with a user
that does not have PR so you had to save them with a proper one.



 Kind regards,

 Dmitry

 Четверг, 29 августа 2013, 11:32 +02:00 от Thomas Mortagne 
 thomas.morta...@xwiki.com:
It's possible the issue you have has nothing to do with the current
user but with the current author (which is checked too so that you
don't end up in a situation when anyone can install anything just by
waiting that an admin goes to a page).

Try to resave the  http://mysubwikihost/xwiki/bin/view/XWiki/AddExtensions 
page.

On Thu, Aug 8, 2013 at 3:11 PM, Dmitry Bakbardin  haru_mamb...@mail.ru  
wrote:
  User is Global, member of the definite Global Group. Global Group has ALL 
 rights on sub-wiki.
 There is no problem to save pages with programming rights in this sub-wiki. 
 The only problem is Extension manager in there.


 Четверг,  8 августа 2013, 15:05 +02:00 от Jeremie BOUSQUET  
 jeremie.bousq...@gmail.com :
Hi,
I think maybe even if user is global and has admin rights on main wiki, he 
doesn't have by default admin rights on sub-wikis.
I'm not very sure, but you might want to check its rights in the local wiki 
admin.
Also, I didn't think XEM could manage global users in sub-wikis but I'm 
even less sure of that ;-)

BR,
Jeremie


2013/8/8 Dmitry Bakbardinharu_mamb...@mail.ru 
 Hi!

XEM 4.3. Attempt to install Freemind Macro to the sub-wiki via sub-wiki's 
Extension Manager:


Resolving extension [fmancinelli:freemind-macro-1.0] on namespace 
 [wiki:staff]
Admin right is required to install extension 
 [fmancinelli:freemind-macro-1.0] on namespace [wiki:staff]

The problem is: user is Global and has programming rights. Is it expected 
behaviour or bug?


Error details are following:

class org.xwiki.extension.InstallException: Failed to resolve 
 extension at 
 org.xwiki.extension.job.internal.AbstractInstallPlanJob.installExtension(AbstractInstallPlanJob.java:685)
  at 
 org.xwiki.extension.job.internal.AbstractInstallPlanJob.installExtension(AbstractInstallPlanJob.java:384)
  at 
 org.xwiki.extension.job.internal.AbstractInstallPlanJob.installExtension(AbstractInstallPlanJob.java:296)
  at 
 org.xwiki.extension.job.internal.AbstractInstallPlanJob.start(AbstractInstallPlanJob.java:226)
  at 
 org.xwiki.extension.job.internal.InstallPlanJob.start(InstallPlanJob.java:88)
  at org.xwiki.job.AbstractJob.start(AbstractJob.java:134) at 
 org.xwiki.job.internal.DefaultJobManager.run(DefaultJobManager.java:154) 
 at java.lang.Thread.run(Thread.java:722) Caused by: class 
 org.xwiki.extension.InstallException: Admin right is required to install 
 extension [fmancinelli:freemind-macro-1.0] on namespace [wiki:staff] at 
 org.xwiki.extension.xar.internal.handler.XarExtensionHandler.checkInstall(XarExtensionHandler.java:308)
  at 
 org.xwiki.extension.job.internal.AbstractInstallPlanJob.installExtension(AbstractInstallPlanJob.java:771)
  at 
 org.xwiki.extension.job.internal.AbstractInstallPlanJob.installExtension(AbstractInstallPlanJob.java:683)
  at 
 org.xwiki.extension.job.internal.AbstractInstallPlanJob.installExtension(AbstractInstallPlanJob.java:384)
  at 
 org.xwiki.extension.job.internal.AbstractInstallPlanJob.installExtension(AbstractInstallPlanJob.java:296)
  at 
 org.xwiki.extension.job.internal.AbstractInstallPlanJob.start(AbstractInstallPlanJob.java:226)
  at 
 org.xwiki.extension.job.internal.InstallPlanJob.start(InstallPlanJob.java:88)
  at org.xwiki.job.AbstractJob.start(AbstractJob.java:134) at 
 org.xwiki.job.internal.DefaultJobManager.run(DefaultJobManager.java:154) 
 at java.lang.Thread.run(Thread.java:722)



Kind regards,

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



 Kind regards,

 Dmitry
 ___
 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



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


[xwiki-users] Category/Topic with with + symbol in name get created with wrong page names (e.g. C++Programming becomes CProgramming)

2013-08-30 Thread jimcherian
I installed Bulletin Board Application on Xwiki5.1.
However, we see strange problems when I create a Category/Topic with special
characters in their names.

Category/Topic name with + symbol get created with wrong page names (e.g.
C++Programming becomes CProgramming)

Is it somehow related to http://jira.xwiki.org/browse/XWIKI-188?
Can this be fixed sometime soon, or is there any workaround?

I have posted this as a bug in http://jira.xwiki.org/browse/XBB-10. But, it
is not assigned to or responded by anyone since last 2 days.

Thanks and Regards,
Jim



--
View this message in context: 
http://xwiki.475771.n2.nabble.com/Category-Topic-with-with-symbol-in-name-get-created-with-wrong-page-names-e-g-C-Programming-becomes--tp7586848.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] Programming rights ignored in the wiki farm while extension installation

2013-08-30 Thread Dmitry Bakbardin


Пятница, 30 августа 2013, 8:23 +02:00 от Thomas Mortagne 
thomas.morta...@xwiki.com:
On Thu, Aug 29, 2013 at 7:14 PM, Dmitry Bakbardin  haru_mamb...@mail.ru  
wrote:
  Hi, Thomas,

 Thanks a lot, now it works. But anyhow, there is a problem to resave macro 
 pages, UI pages to make it running. Is there any other solution to make it 
 working out of the box?

You don't have to resave pages, these pages were installed with a user
that does not have PR so you had to save them with a proper one. I will 
describe full process to make clear how it happened:
- Brand new XEM
- New GlobalUser was created and PR rights were assigned. This user was logged 
in and all futher manipulations are done under this account (!) .
- XEM creates workspacetemplate automatically
- Few pages were modified in the workspacetemplate (logo + panels)
- New workspace was created from the template
- Attempt to install extension into the new workspace gives  Admin right is 
required to install extension...

What was wrong in this case?
I mean were the user with no admin rights is taken from to save new 
workspace/workspacetemplate pages?





 Kind regards,

 Dmitry

 Четверг, 29 августа 2013, 11:32 +02:00 от Thomas Mortagne  
 thomas.morta...@xwiki.com :
It's possible the issue you have has nothing to do with the current
user but with the current author (which is checked too so that you
don't end up in a situation when anyone can install anything just by
waiting that an admin goes to a page).

Try to resave the  http://mysubwikihost/xwiki/bin/view/XWiki/AddExtensions 
page.

On Thu, Aug 8, 2013 at 3:11 PM, Dmitry Bakbardin   haru_mamb...@mail.ru  
wrote:
  User is Global, member of the definite Global Group. Global Group has ALL 
 rights on sub-wiki.
 There is no problem to save pages with programming rights in this 
 sub-wiki. The only problem is Extension manager in there.


 Четверг,  8 августа 2013, 15:05 +02:00 от Jeremie BOUSQUET   
 jeremie.bousq...@gmail.com :
Hi,
I think maybe even if user is global and has admin rights on main wiki, he 
doesn't have by default admin rights on sub-wikis.
I'm not very sure, but you might want to check its rights in the local 
wiki admin.
Also, I didn't think XEM could manage global users in sub-wikis but I'm 
even less sure of that ;-)

BR,
Jeremie


2013/8/8 Dmitry Bakbardinharu_mamb...@mail.ru 
 Hi!

XEM 4.3. Attempt to install Freemind Macro to the sub-wiki via sub-wiki's 
Extension Manager:


Resolving extension [fmancinelli:freemind-macro-1.0] on namespace 
 [wiki:staff]
Admin right is required to install extension 
 [fmancinelli:freemind-macro-1.0] on namespace [wiki:staff]

The problem is: user is Global and has programming rights. Is it expected 
behaviour or bug?


Error details are following:

class org.xwiki.extension.InstallException: Failed to resolve 
 extension at 
 org.xwiki.extension.job.internal.AbstractInstallPlanJob.installExtension(AbstractInstallPlanJob.java:685)
  at 
 org.xwiki.extension.job.internal.AbstractInstallPlanJob.installExtension(AbstractInstallPlanJob.java:384)
  at 
 org.xwiki.extension.job.internal.AbstractInstallPlanJob.installExtension(AbstractInstallPlanJob.java:296)
  at 
 org.xwiki.extension.job.internal.AbstractInstallPlanJob.start(AbstractInstallPlanJob.java:226)
  at 
 org.xwiki.extension.job.internal.InstallPlanJob.start(InstallPlanJob.java:88)
  at org.xwiki.job.AbstractJob.start(AbstractJob.java:134) at 
 org.xwiki.job.internal.DefaultJobManager.run(DefaultJobManager.java:154) 
 at java.lang.Thread.run(Thread.java:722) Caused by: class 
 org.xwiki.extension.InstallException: Admin right is required to install 
 extension [fmancinelli:freemind-macro-1.0] on namespace [wiki:staff] at 
 org.xwiki.extension.xar.internal.handler.XarExtensionHandler.checkInstall(XarExtensionHandler.java:308)
  at 
 org.xwiki.extension.job.internal.AbstractInstallPlanJob.installExtension(AbstractInstallPlanJob.java:771)
  at 
 org.xwiki.extension.job.internal.AbstractInstallPlanJob.installExtension(AbstractInstallPlanJob.java:683)
  at 
 org.xwiki.extension.job.internal.AbstractInstallPlanJob.installExtension(AbstractInstallPlanJob.java:384)
  at 
 org.xwiki.extension.job.internal.AbstractInstallPlanJob.installExtension(AbstractInstallPlanJob.java:296)
  at 
 org.xwiki.extension.job.internal.AbstractInstallPlanJob.start(AbstractInstallPlanJob.java:226)
  at 
 org.xwiki.extension.job.internal.InstallPlanJob.start(InstallPlanJob.java:88)
  at org.xwiki.job.AbstractJob.start(AbstractJob.java:134) at 
 org.xwiki.job.internal.DefaultJobManager.run(DefaultJobManager.java:154) 
 at java.lang.Thread.run(Thread.java:722)



Kind regards,

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



 Kind regards,

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



--
Thomas Mortagne

 

[xwiki-users] Class Wizard - Problem Trying to Add a Page

2013-08-30 Thread thadc
Hello,
I have an App Within Minutes app that I am trying to add a page to. I am
attempting to add the page directly to the class  using the class wizard. I
am assuming that by using the property type Page, that I add the page that
way (please see example from image).

http://xwiki.475771.n2.nabble.com/file/n7586855/Screen_Shot_2013-08-30_at_10.29.15_AM.png
 

I do not understand which of these fields under my testPage will be used
to provide a path to the page. I put the page name in the XWiki Class Name
field, but that did not work. 

I was expecting the actual page to show up embedded in an entry I am editing
or creating (as do other property I use from this wizard like Static Lists,
String, and Database Lists), but it is not show up.

I hope I have been coherent in communicating what I am trying to do.  Any
help is greatly appreciated. Thanks!



--
View this message in context: 
http://xwiki.475771.n2.nabble.com/Class-Wizard-Problem-Trying-to-Add-a-Page-tp7586855.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] TOC macro

2013-08-30 Thread Hamster
I guess that's the one...

In which space/page is the TOC macro stored?
Where can I edit the contens of the TOC macro?



--
View this message in context: 
http://xwiki.475771.n2.nabble.com/TOC-macro-tp7586675p7586856.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] TOC macro

2013-08-30 Thread Vincent Massol

On Aug 30, 2013, at 5:07 PM, Hamster teun...@hotmail.com wrote:

 I guess that's the one...
 
 In which space/page is the TOC macro stored?
 Where can I edit the contens of the TOC macro?

It's not a wiki macro, it's a macro in java… As you can see on 
http://extensions.xwiki.org/xwiki/bin/view/Extension/TOC+Macro the type is 
JAR. For wiki macros the type is XAR.

You can read to understand better macro development if you're interested:
http://platform.xwiki.org/xwiki/bin/view/DevGuide/WritingMacros

Thanks
-Vincent

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


[xwiki-users] Information Organization Challenge

2013-08-30 Thread Danilo Amaral de Oliveira
Hello People,

How are you?

I am creating a new wiki that will support 2 kind of documents - the default 
(empty page) and a ProcedureClass (procedure template).
Each space in the wiki will contain the two kinds of documents and I want to 
show them separately in the Webhome. Then if I enter in space A, the webhome 
will show two list of documents, the default and the Procedures.

My idea is to build 2 livetable in the webhome page in each space. The first 
livetable will contain the Default Documents and the second one will contain 
the procedures documents of that space.
I could build the livetable of the class document with the code below, BUT I 
couldn't think in a way to build a livetable to show only the default 
documents(pages) because I couldn't identify if the default document has a 
unique class like the procedure (ProcedimentoOperacionalClass).

Anyone has some suggestion?

{{velocity}}
#set ($columnsProperties = {
  'doc.title': {type:text,size:20,link:view},
  'doc.author': {type:text,size:10,link:author}
})

#set ($options = {
  'className': 'XWiki.ProcedimentoOperacionalClass',
  'resultPage': 'XWiki.LiveTableResults',
  'rowCount': 15,
  'maxPages': 10,  
  'selectedColumn': 'doc.title',
  'defaultOrder': 'asc',
  'extraParams' : 'space=Reles'
})
#set ($columns = ['doc.title', 'doc.author'])
#livetable('bug' $columns $columnsProperties $options)
{{/velocity}}

Thank you,
Danilo
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users