Re: [xwiki-users] User Permissions Issue

2015-04-16 Thread Marius Dumitru Florea
We just added a note to the 6.4.3 RN
http://www.xwiki.org/xwiki/bin/view/ReleaseNotes/ReleaseNotesXWiki643
. Check the text in red. Maybe you are facing the same issue.

On Tue, Apr 14, 2015 at 7:22 PM, mahomed maho...@custodiandc.com wrote:
 Thanks for still responding Hamster. Am I correct that you are using version
 5.4.3 and not version 7? I think it got changed/broken in v6



 --
 View this message in context: 
 http://xwiki.475771.n2.nabble.com/User-Permissions-Issue-tp7594486p7594646.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
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


[xwiki-users] Extension manager usage with offline instance

2015-04-16 Thread BOISSIER, Francois
Hello,

I have a xwiki 7.0 instance without internet connection, so I have to manually 
install the extensions using xar archives.

The manually installed extensions don't appeared in Installed Extensions menu 
of the extension manager.

Can you tell me if this  is normal ? Also, can you tell me how to cleanly 
uninstall manually installed extensions ?

Regards,

François


This message contains information that may be privileged or confidential and is 
the property of the Capgemini Group. It is intended only for the person to whom 
it is addressed. If you are not the intended recipient, you are not authorized 
to read, print, retain, copy, disseminate, distribute, or use this message or 
any part thereof. If you receive this message in error, please notify the 
sender immediately and delete all copies of this message.

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


Re: [xwiki-users] Question about Page type property (and an issue) in a Class

2015-04-16 Thread Marius Dumitru Florea
On Wed, Apr 15, 2015 at 6:52 PM, Pascal BASTIEN pbasnews-xw...@yahoo.fr wrote:
 Hello,

 I create MyClass/Sheet/Template and in another AnotherClass I add a Page type 
 property with:
 - Display Type : select
 - XWiki Class Name: MyClass
 - Id Field Name: doc.fullName
 - Value Field Name : doc.name

 My purpose is to display a list of page (with MyClass object): this point is 
 working well but ...


 I want that the user select in my select list: one page OR nothing.

The HTML select element supports either single selection (exactly one
item selected) or multiple selection (0..*). To achieve 0..1 you need
to have a special item Nothing with value '' (empty string) and in
order to add this item to a Page (actually DatabaseList) property you
have to write a custom displayer. Another solution may be to create a
special page with a MyClass object that represents the nothing value
(when selected), but you still need to hack something in order to have
this option displayed first.


 Do you have an idea, how can I do that?


 I found a issue too: my select list list all page (with MyClass object) ... 
 even my Template with MyClass object who is hidden.

Does it behave the same with a DatabaseList property? The Page
property is nothing more than a wrapper for the DatabaseList property.

Hope this helps,
Marius


 Thxs.

 Pascal B (xWiki 6.4)





 ___
 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] How to see setting changes in XWiki preferences?

2015-04-16 Thread Marius Dumitru Florea
You mean /xwiki/bin/view/XWiki/XWikiPreferences?viewer=history ?

Hope this helps,
Marius

On Sun, Apr 12, 2015 at 7:11 PM, Valdis Vītoliņš valdis.vitol...@odo.lv wrote:
 In XWiki configuration document extra panel is not shown, therefore one
 cannot easily see changes between settings.

 What is best/easiest way to enable this (e.g. enable showing document
 extra panel, or something other)?

 Thanks!
 Valdis

 ___
 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


[xwiki-users] Fw : Re: Question about Page type property (and an issue) in a Class

2015-04-16 Thread Pascal BASTIEN
 
  My purpose is to
 display a list of page (with MyClass object): this point is
 working well but ...
 
 
  I want that the user
 select in my select list: one page OR nothing.
 
 The HTML select element
 supports either single selection (exactly one
 item selected) or multiple selection (0..*). To
 achieve 0..1 you need
 to have a special item
 Nothing with value '' (empty string) and
 in
 order to add this item to a Page
 (actually DatabaseList) property you
 have to
 write a custom displayer. Another solution may be to create
 a
 special page with a MyClass object that
 represents the nothing value
 (when selected), but you still need to hack
 something in order to have
 this option
 displayed first.
 

Yes thxs I though about custom display field.
Then I can use a String type with custom display or perhaps with database 
list+custom display  I can catch HTML rendering of select list  to add my 
empty option value line...
Anyway Do you know where is source code of Page type to improve it (IMA view 
mode must display a link to the target)?

 
  Do you have an idea, how can I do that?
 
 
  I
 found a issue too: my select list list all page (with
 MyClass object) ... even my Template with MyClass object who
 is hidden.
 
 Does it behave
 the same with a DatabaseList property? The Page
 property is nothing more than a wrapper for the
 DatabaseList property.

Yes it is the same: I just tested. hidden filter is not applied (of course I 
checked that user preference is don't show hidden doc)
Do you know where is query to check it?


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


Re: [xwiki-users] Fw : Re: Question about Page type property (and an issue) in a Class

2015-04-16 Thread Marius Dumitru Florea
On Thu, Apr 16, 2015 at 3:30 PM, Pascal BASTIEN pbasnews-xw...@yahoo.fr wrote:
 
  My purpose is to
 display a list of page (with MyClass object): this point is
 working well but ...
 

  I want that the user
 select in my select list: one page OR nothing.

 The HTML select element
 supports either single selection (exactly one
 item selected) or multiple selection (0..*). To
 achieve 0..1 you need
 to have a special item
 Nothing with value '' (empty string) and
 in
 order to add this item to a Page
 (actually DatabaseList) property you
 have to
 write a custom displayer. Another solution may be to create
 a
 special page with a MyClass object that
 represents the nothing value
 (when selected), but you still need to hack
 something in order to have
 this option
 displayed first.


 Yes thxs I though about custom display field.
 Then I can use a String type with custom display or perhaps with database 
 list+custom display  I can catch HTML rendering of select list  to add my 
 empty option value line...

 Anyway Do you know where is source code of Page type to improve it (IMA view 
 mode must display a link to the target)?

https://github.com/xwiki/xwiki-platform/blob/master/xwiki-platform-core/xwiki-platform-oldcore/src/main/java/com/xpn/xwiki/objects/classes/PageClass.java
https://github.com/xwiki/xwiki-platform/blob/master/xwiki-platform-core/xwiki-platform-oldcore/src/main/java/com/xpn/xwiki/objects/meta/PageMetaClass.java

but I would rather create a default custom displayer,
http://www.xwiki.org/xwiki/bin/view/ReleaseNotes/ReleaseNotesXWikiEnterprise42M2#HDefaultcustomdisplayersforEasiercustomizationofthewayobjectfieldsaredisplayed


 
  Do you have an idea, how can I do that?
 

  I
 found a issue too: my select list list all page (with
 MyClass object) ... even my Template with MyClass object who
 is hidden.

 Does it behave
 the same with a DatabaseList property? The Page
 property is nothing more than a wrapper for the
 DatabaseList property.

 Yes it is the same: I just tested. hidden filter is not applied (of course I 
 checked that user preference is don't show hidden doc)
 Do you know where is query to check it?

https://github.com/xwiki/xwiki-platform/blob/master/xwiki-platform-core/xwiki-platform-oldcore/src/main/java/com/xpn/xwiki/objects/classes/DBListClass.java



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


Re: [xwiki-users] User Permissions Issue

2015-04-16 Thread Mahomed Hussein
Hi Marius

Thank you for responding. This does look like it may be the issue because at 
some points it works for a bit then it stops working for me. In most cases it's 
pretty consistent with adding/removing the permissions.

I can replicate the issue pretty consistently and can provide a test case. 
Would you like me to contribute any info or assist in any testing, or have you 
got everything you need to resolve this?


Kind regards,

Mahomed




-Original Message-
From: users [mailto:users-boun...@xwiki.org] On Behalf Of Marius Dumitru Florea
Sent: 16 April 2015 10:00
To: XWiki Users
Subject: Re: [xwiki-users] User Permissions Issue

We just added a note to the 6.4.3 RN
http://www.xwiki.org/xwiki/bin/view/ReleaseNotes/ReleaseNotesXWiki643
. Check the text in red. Maybe you are facing the same issue.

On Tue, Apr 14, 2015 at 7:22 PM, mahomed maho...@custodiandc.com wrote:
 Thanks for still responding Hamster. Am I correct that you are using version
 5.4.3 and not version 7? I think it got changed/broken in v6



 --
 View this message in context: 
 http://xwiki.475771.n2.nabble.com/User-Permissions-Issue-tp7594486p7594646.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
___
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


[xwiki-users] Fw : Re: Fw : Re: Question about Page type property (and an issue) in a Class

2015-04-16 Thread Pascal BASTIEN

 Anyway Do you know where is source code of Page type to
 improve it (IMA view mode must display a link to the
 target)?
 
 https://github.com/xwiki/xwiki-platform/blob/master/xwiki-platform-core/xwiki-platform-oldcore/src/main/java/com/xpn/xwiki/objects/classes/PageClass.java
 https://github.com/xwiki/xwiki-platform/blob/master/xwiki-platform-core/xwiki-platform-oldcore/src/main/java/com/xpn/xwiki/objects/meta/PageMetaClass.java
 
 but I would rather create a
 default custom displayer,
 http://www.xwiki.org/xwiki/bin/view/ReleaseNotes/ReleaseNotesXWikiEnterprise42M2#HDefaultcustomdisplayersforEasiercustomizationofthewayobjectfieldsaredisplayed
Yes maybe I must understand this way (I must think if I must use java stuff or 
not)
Ok thxs (it's a shame it is not on developper doc). The same about catch an 
error on velocity code: it is hiding in a Release note


  found a issue too: my select list list
 all page (with
  MyClass object) ...
 even my Template with MyClass object who
  is hidden.
 
  Does it behave
  the same with a DatabaseList property?
 The Page
  property is nothing more
 than a wrapper for the
  DatabaseList
 property.
 
  Yes it
 is the same: I just tested. hidden filter is not applied (of
 course I checked that user preference is don't
 show hidden doc)
  Do you know
 where is query to check it?
 
 https://github.com/xwiki/xwiki-platform/blob/master/xwiki-platform-core/xwiki-platform-oldcore/src/main/java/com/xpn/xwiki/objects/classes/DBListClass.java

Here you are: http://jira.xwiki.org/browse/XWIKI-12031
(it is java code: not for me :-) )

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


Re: [xwiki-users] User Permissions Issue

2015-04-16 Thread Mahomed Hussein
I'll be more than happy to test. Except, maybe I've misunderstood something, 
but I believe I am running XWiki Enterprise 7.0. So will I have to wait for the 
next release of the 7.x train?


Kind regards,

Mahomed




-Original Message-
From: users [mailto:users-boun...@xwiki.org] On Behalf Of Marius Dumitru Florea
Sent: 16 April 2015 14:38
To: XWiki Users
Subject: Re: [xwiki-users] User Permissions Issue

On Thu, Apr 16, 2015 at 3:50 PM, Mahomed Hussein
maho...@custodiandc.com wrote:
 Hi Marius

 Thank you for responding. This does look like it may be the issue because at 
 some points it works for a bit then it stops working for me. In most cases 
 it's pretty consistent with adding/removing the permissions.


 I can replicate the issue pretty consistently and can provide a test case. 
 Would you like me to contribute any info or assist in any testing, or have 
 you got everything you need to resolve this?

A fix has been committed already (thanks to Denis) and will be
included in 6.4.4 to be released in the following days. Would be great
if you can test the fix after the release is available.

Thanks,
Marius



 Kind regards,

 Mahomed




 -Original Message-
 From: users [mailto:users-boun...@xwiki.org] On Behalf Of Marius Dumitru 
 Florea
 Sent: 16 April 2015 10:00
 To: XWiki Users
 Subject: Re: [xwiki-users] User Permissions Issue

 We just added a note to the 6.4.3 RN
 http://www.xwiki.org/xwiki/bin/view/ReleaseNotes/ReleaseNotesXWiki643
 . Check the text in red. Maybe you are facing the same issue.

 On Tue, Apr 14, 2015 at 7:22 PM, mahomed maho...@custodiandc.com wrote:
 Thanks for still responding Hamster. Am I correct that you are using version
 5.4.3 and not version 7? I think it got changed/broken in v6



 --
 View this message in context: 
 http://xwiki.475771.n2.nabble.com/User-Permissions-Issue-tp7594486p7594646.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
 ___
 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
___
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


[xwiki-users] users-requ...@xwiki.org

2015-04-16 Thread Khjintcorp


Sent from my iPhone
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


[xwiki-users] Fwd: Can't build project xwiki-platform-wiki-default

2015-04-16 Thread Khjintcorp
Hello

I am new on Xwiki. I like to rebuild Xwiki platform or common packages. I fixed 
all problems related to build. Except one thing if the module has component 
codes or components.txt I always got build error. Please see the attached error 
log. I think I missed one thing but I don't know yet. Can you help me on this 
issue.

Thanks


Ken

Sent from my iPhone

Begin forwarded message:

 From: LIANG, KEN K (CTR) ken.k.li...@cbp.dhs.gov
 Date: April 16, 2015 at 10:13:14 AM EDT
 To: khjintc...@gmail.com khjintc...@gmail.com
 Subject: Can't build project xwiki-platform-wiki-default
 
  
 [INFO] XWiki Platform - Wiki - Parent POM . SUCCESS [  7.463 
 s]
 [INFO] XWiki Platform - Wiki - API  SUCCESS [  8.459 
 s]
 [INFO] XWiki Platform - Wiki - Default Implementation . FAILURE [ 25.449 
 s]
 [INFO] XWiki Platform - Wiki - REST - Parent POM .. SKIPPED
 [INFO] XWiki Platform - Wiki - REST - API . SKIPPED
 [INFO] XWiki Platform - Wiki - Template - Parent POM .. SKIPPED
 [INFO] XWiki Platform - Wiki - Template - API . SKIPPED
 [INFO] XWiki Platform - Wiki - REST - Default implementation SKIPPED
 [INFO] XWiki Platform - Wiki - Script services  SKIPPED
 [INFO] XWiki Platform - Wiki - Template - Default . SKIPPED
 [INFO] XWiki Platform - Wiki - Template - Script .. SKIPPED
 [INFO] XWiki Platform - Wiki - User - Parent POM .. SKIPPED
 [INFO] XWiki Platform - Wiki - User - API . SKIPPED
 [INFO] XWiki Platform - Wiki - User - Default . SKIPPED
 [INFO] XWiki Platform - Wiki - User - Script .. SKIPPED
 [INFO] XWiki Platform - Wiki - UI - Parent POM  SKIPPED
 [INFO] XWiki Platform - Wiki - UI - Common  SKIPPED
 [INFO] XWiki Platform - Wiki - UI - Main Wiki . SKIPPED
 [INFO] XWiki Platform - Wiki - UI - Wiki .. SKIPPED
 [INFO] XWiki Platform - Wiki - Workspaces Migrator  SKIPPED
 [INFO] 
 
 [INFO] BUILD FAILURE
 [INFO] 
 
 [INFO] Total time: 43.351 s
 [INFO] Finished at: 2015-04-16T10:11:32-04:00
 [INFO] Final Memory: 72M/912M
 [INFO] 
 
 [ERROR] Failed to execute goal 
 org.apache.maven.plugins:maven-compiler-plugin:3.2:compile (default-compile) 
 on project xwiki-platform-wiki-default: Compilation failure: Compilation 
 failure:
 [ERROR] There's no [META-INF/components.txt] file and thus Component 
 [org.xwiki.wiki.internal.manager.DefaultWikiCreator] isn't declared! Consider 
 adding a components.txt file or if it's normal use the staticRegistration 
 parameter as in @Component(staticRegistration = false)
 [ERROR] There's no [META-INF/components.txt] file and thus Component 
 [org.xwiki.wiki.internal.descriptor.builder.DefaultWikiDescriptorBuilder] 
 isn't declared! Consider adding a components.txt file or if it's normal use 
 the staticRegistration parameter as in @Component(staticRegistration = 
 false)
 [ERROR] There's no [META-INF/components.txt] file and thus Component 
 [org.xwiki.wiki.internal.manager.WikiDescriptorCache] isn't declared! 
 Consider adding a components.txt file or if it's normal use the 
 staticRegistration parameter as in @Component(staticRegistration = false)
 [ERROR] There's no [META-INF/components.txt] file and thus Component 
 [org.xwiki.wiki.internal.descriptor.listener.WikiDescriptorListener] isn't 
 declared! Consider adding a components.txt file or if it's normal use the 
 staticRegistration parameter as in @Component(staticRegistration = false)
 [ERROR] There's no [META-INF/components.txt] file and thus Component 
 [org.xwiki.wiki.internal.manager.DefaultWikiDeleter] isn't declared! Consider 
 adding a components.txt file or if it's normal use the staticRegistration 
 parameter as in @Component(staticRegistration = false)
 [ERROR] There's no [META-INF/components.txt] file and thus Component 
 [org.xwiki.wiki.internal.descriptor.document.DefaultWikiDescriptorDocumentHelper]
  isn't declared! Consider adding a components.txt file or if it's normal use 
 the staticRegistration parameter as in @Component(staticRegistration = 
 false)
 [ERROR] There's no [META-INF/components.txt] file and thus Component 
 [org.xwiki.wiki.internal.descriptor.document.XWikiServerClassDocumentInitializer]
  isn't declared! Consider adding a components.txt file or if it's normal use 
 the staticRegistration parameter as in @Component(staticRegistration = 
 false)
 [ERROR] There's no [META-INF/components.txt] file and thus Component 
 [org.xwiki.wiki.internal.provisioning.DefaultWikiCopier] isn't declared! 
 Consider adding a components.txt file or if it's normal use the 
 staticRegistration parameter as in @Component(staticRegistration = false)
 [ERROR] There's no