Re: [xwiki-users] Content conversion

2016-12-05 Thread Thomas Mortagne
On Mon, Dec 5, 2016 at 5:05 PM, Gerritjan Koekkoek
 wrote:
> thanks,
>
>
> Got it:
>
>
> #set($test2Doc = 
> $xwiki.getDocument('Sandbox.testImageCount').getTranslatedDocument())
>
> #foreach($imageBlock in 
> $test2Doc.getDocument().getXDOM().getBlocks("class:ImageBlock", "DESCENDANT"))
>$imageBlock.getReference().reference
> #end
>
> But can I do the same for a Blog attribute: (extract) ?

You mean the blog content ?

You won't have a direct getXDOM() for object properties but you can
use the rendering script service to parse any String content into an
XDOM (which is essentially what XWikiDocument#getXDOM() does). You can
get the syntax of the content from the document (#getSyntaxId()).

See 
http://extensions.xwiki.org/xwiki/bin/view/Extension/Rendering+Module#HRenderingScriptService.

>
>
>
> Gerritjan Koekkoek
> Vader van Rai Koekkoek (cdls) en voorzitter vereniging CdLS
> Visit our website
> Facebook
> email
>
>
>
>
>
> 
> From: users  on behalf of Thomas Mortagne 
> 
> Sent: 05 December 2016 16:49
> To: XWiki Users
> Subject: Re: [xwiki-users] Content conversion
>
> On Mon, Dec 5, 2016 at 4:42 PM, Gerritjan Koekkoek
>  wrote:
>> You are right; renaming Sandbox.testImageCount as a terminal page changed 
>> the situation. getting closer
>>
>>
>> The output of:
>>
>> #set($test2Doc = 
>> $xwiki.getDocument('Sandbox.testImageCount').getTranslatedDocument())
>>
>> {{{$test2Doc.content}}}
>>
>> $test2Doc.getDocument().getXDOM().getBlocks("class:ImageBlock", 
>> "DESCENDANT").class.name
>>
>> {{{$test2Doc.getDocument().getXDOM().getBlocks("class:ImageBlock", 
>> "DESCENDANT")}}}
>>
>> is:
>>
>> Sandbox.testImageCount
>>
>> Dit is text Dit is text Dit is text [[image:logo-amc.png]] Dit is textDit is 
>> text Dit is textDit is text Dit is textDit is text Dit is textDit is text 
>> Dit is textDit is text Dit is textDit is text Dit is text
>> java.util.ArrayList
>> [org.xwiki.rendering.block.ImageBlock@bd3e4fc7]
>>
>>
>> But how can I transform this to a list of images?
>
> You can get the reference of the image using method
> ImageBlock#getReference(). It will give you an instance of
> ResourceReference (actually in this use case it should be a
> AttachmentResourceReference which extends ResourceReference probably).
>
> See 
> http://nexus.xwiki.org/nexus/service/local/repositories/releases/archive/org/xwiki/rendering/xwiki-rendering-api/8.4.1/xwiki-rendering-api-8.4.1-javadoc.jar/!/index.html
> for more details.
>
>>
>>
>>
>> Gerritjan Koekkoek
>> Vader van Rai Koekkoek (cdls) en voorzitter vereniging CdLS
>> Visit our website
>> Facebook
>> email
>>
>>
>>
>> 
>> From: users  on behalf of Thomas Mortagne 
>> 
>> Sent: 05 December 2016 16:32:32
>> To: XWiki Users
>> Subject: Re: [xwiki-users] Content conversion
>>
>> Are you sure "Sandbox.testImageCount'" is the right reference ? Do you
>> have something when you print $test2Doc.content ?
>>
>> If "Sandbox.testImageCount" does not exist maybe you need to try
>> "Sandbox.testImageCount.WebHome".
>>
>> On Mon, Dec 5, 2016 at 4:24 PM, Gerritjan Koekkoek
>>  wrote:
>>> I fail to understand the rendering framework suggestion
>>>
>>> #set($test2Doc = 
>>> $xwiki.getDocument('Sandbox.testImageCount').getTranslatedDocument())
>>>
>>> $test2Doc.getDocument().getXDOM().getBlocks("class:ImageBlock", 
>>> "DESCENDANT")
>>>
>>> Gives me a empty array, although the source document  looks like this 
>>> (XWiki 2.1)
>>>
>>> Dit is text
>>> Dit is text
>>> Dit is text
>>>
>>> [[image:logo-amc.png]]
>>> Dit is textDit is text
>>> Dit is textDit is text
>>> Dit is textDit is text
>>> Dit is textDit is text
>>> Dit is textDit is text
>>> Dit is textDit is text
>>>
>>> Note that I would like to extract from this: "logo-amc.png"
>>>
>>>
>>> Gerritjan Koekkoek
>>> Vader van Rai Koekkoek (cdls) en voorzitter vereniging CdLS
>>> Visit our website
>>> Facebook
>>> email
>>>
>>>
>>>
>>> 
>>> From: users  on behalf of Thomas Mortagne 
>>> 
>>> Sent: 02 December 2016 11:41:40
>>> To: XWiki Users
>>> Subject: Re: [xwiki-users] Content conversion
>>>
>>> On Fri, Dec 2, 2016 at 11:02 AM, Gerritjan Koekkoek
>>>  wrote:
 Is it possible to get what images are inside a content page.

 Note I do not mean Attached images, but the images displayed inline in the 
 content
>>>
>>> You can parse any content into XDOM and then search for ImageBlock in

Re: [xwiki-users] Content conversion

2016-12-05 Thread Gerritjan Koekkoek
thanks,


Got it:


#set($test2Doc = 
$xwiki.getDocument('Sandbox.testImageCount').getTranslatedDocument())

#foreach($imageBlock in 
$test2Doc.getDocument().getXDOM().getBlocks("class:ImageBlock", "DESCENDANT"))
   $imageBlock.getReference().reference
#end

But can I do the same for a Blog attribute: (extract) ?



Gerritjan Koekkoek
Vader van Rai Koekkoek (cdls) en voorzitter vereniging CdLS
Visit our website
Facebook
email






From: users  on behalf of Thomas Mortagne 

Sent: 05 December 2016 16:49
To: XWiki Users
Subject: Re: [xwiki-users] Content conversion

On Mon, Dec 5, 2016 at 4:42 PM, Gerritjan Koekkoek
 wrote:
> You are right; renaming Sandbox.testImageCount as a terminal page changed the 
> situation. getting closer
>
>
> The output of:
>
> #set($test2Doc = 
> $xwiki.getDocument('Sandbox.testImageCount').getTranslatedDocument())
>
> {{{$test2Doc.content}}}
>
> $test2Doc.getDocument().getXDOM().getBlocks("class:ImageBlock", 
> "DESCENDANT").class.name
>
> {{{$test2Doc.getDocument().getXDOM().getBlocks("class:ImageBlock", 
> "DESCENDANT")}}}
>
> is:
>
> Sandbox.testImageCount
>
> Dit is text Dit is text Dit is text [[image:logo-amc.png]] Dit is textDit is 
> text Dit is textDit is text Dit is textDit is text Dit is textDit is text Dit 
> is textDit is text Dit is textDit is text Dit is text
> java.util.ArrayList
> [org.xwiki.rendering.block.ImageBlock@bd3e4fc7]
>
>
> But how can I transform this to a list of images?

You can get the reference of the image using method
ImageBlock#getReference(). It will give you an instance of
ResourceReference (actually in this use case it should be a
AttachmentResourceReference which extends ResourceReference probably).

See 
http://nexus.xwiki.org/nexus/service/local/repositories/releases/archive/org/xwiki/rendering/xwiki-rendering-api/8.4.1/xwiki-rendering-api-8.4.1-javadoc.jar/!/index.html
for more details.

>
>
>
> Gerritjan Koekkoek
> Vader van Rai Koekkoek (cdls) en voorzitter vereniging CdLS
> Visit our website
> Facebook
> email
>
>
>
> 
> From: users  on behalf of Thomas Mortagne 
> 
> Sent: 05 December 2016 16:32:32
> To: XWiki Users
> Subject: Re: [xwiki-users] Content conversion
>
> Are you sure "Sandbox.testImageCount'" is the right reference ? Do you
> have something when you print $test2Doc.content ?
>
> If "Sandbox.testImageCount" does not exist maybe you need to try
> "Sandbox.testImageCount.WebHome".
>
> On Mon, Dec 5, 2016 at 4:24 PM, Gerritjan Koekkoek
>  wrote:
>> I fail to understand the rendering framework suggestion
>>
>> #set($test2Doc = 
>> $xwiki.getDocument('Sandbox.testImageCount').getTranslatedDocument())
>>
>> $test2Doc.getDocument().getXDOM().getBlocks("class:ImageBlock", "DESCENDANT")
>>
>> Gives me a empty array, although the source document  looks like this (XWiki 
>> 2.1)
>>
>> Dit is text
>> Dit is text
>> Dit is text
>>
>> [[image:logo-amc.png]]
>> Dit is textDit is text
>> Dit is textDit is text
>> Dit is textDit is text
>> Dit is textDit is text
>> Dit is textDit is text
>> Dit is textDit is text
>>
>> Note that I would like to extract from this: "logo-amc.png"
>>
>>
>> Gerritjan Koekkoek
>> Vader van Rai Koekkoek (cdls) en voorzitter vereniging CdLS
>> Visit our website
>> Facebook
>> email
>>
>>
>>
>> 
>> From: users  on behalf of Thomas Mortagne 
>> 
>> Sent: 02 December 2016 11:41:40
>> To: XWiki Users
>> Subject: Re: [xwiki-users] Content conversion
>>
>> On Fri, Dec 2, 2016 at 11:02 AM, Gerritjan Koekkoek
>>  wrote:
>>> Is it possible to get what images are inside a content page.
>>>
>>> Note I do not mean Attached images, but the images displayed inline in the 
>>> content
>>
>> You can parse any content into XDOM and then search for ImageBlock in
>> it. See 
>> http://rendering.xwiki.org/xwiki/bin/view/Main/GettingStarted#HExamples.
>>
>>>
>>>
>>> Is it also possible to display the content without these images, as plain 
>>> Text (also remove the wiki-markup )
>>
>> We usually use plain text rendered (id "plain/1.0") for this.
>> Basically you use rendering framework to parse the content and then
>> serialize it with a special plain text renderer.
>>
>>>
>>>
>>> Gerritjan Koekkoek
>>> Vader van Rai Koekkoek (cdls) en voorzitter vereniging CdLS
>>> Visit our website
>>> Facebook
>>> email
>>>
>>>
>>>
>>
>>
>>
>> --

Re: [xwiki-users] Content conversion

2016-12-05 Thread Thomas Mortagne
On Mon, Dec 5, 2016 at 4:42 PM, Gerritjan Koekkoek
 wrote:
> You are right; renaming Sandbox.testImageCount as a terminal page changed the 
> situation. getting closer
>
>
> The output of:
>
> #set($test2Doc = 
> $xwiki.getDocument('Sandbox.testImageCount').getTranslatedDocument())
>
> {{{$test2Doc.content}}}
>
> $test2Doc.getDocument().getXDOM().getBlocks("class:ImageBlock", 
> "DESCENDANT").class.name
>
> {{{$test2Doc.getDocument().getXDOM().getBlocks("class:ImageBlock", 
> "DESCENDANT")}}}
>
> is:
>
> Sandbox.testImageCount
>
> Dit is text Dit is text Dit is text [[image:logo-amc.png]] Dit is textDit is 
> text Dit is textDit is text Dit is textDit is text Dit is textDit is text Dit 
> is textDit is text Dit is textDit is text Dit is text
> java.util.ArrayList
> [org.xwiki.rendering.block.ImageBlock@bd3e4fc7]
>
>
> But how can I transform this to a list of images?

You can get the reference of the image using method
ImageBlock#getReference(). It will give you an instance of
ResourceReference (actually in this use case it should be a
AttachmentResourceReference which extends ResourceReference probably).

See 
http://nexus.xwiki.org/nexus/service/local/repositories/releases/archive/org/xwiki/rendering/xwiki-rendering-api/8.4.1/xwiki-rendering-api-8.4.1-javadoc.jar/!/index.html
for more details.

>
>
>
> Gerritjan Koekkoek
> Vader van Rai Koekkoek (cdls) en voorzitter vereniging CdLS
> Visit our website
> Facebook
> email
>
>
>
> 
> From: users  on behalf of Thomas Mortagne 
> 
> Sent: 05 December 2016 16:32:32
> To: XWiki Users
> Subject: Re: [xwiki-users] Content conversion
>
> Are you sure "Sandbox.testImageCount'" is the right reference ? Do you
> have something when you print $test2Doc.content ?
>
> If "Sandbox.testImageCount" does not exist maybe you need to try
> "Sandbox.testImageCount.WebHome".
>
> On Mon, Dec 5, 2016 at 4:24 PM, Gerritjan Koekkoek
>  wrote:
>> I fail to understand the rendering framework suggestion
>>
>> #set($test2Doc = 
>> $xwiki.getDocument('Sandbox.testImageCount').getTranslatedDocument())
>>
>> $test2Doc.getDocument().getXDOM().getBlocks("class:ImageBlock", "DESCENDANT")
>>
>> Gives me a empty array, although the source document  looks like this (XWiki 
>> 2.1)
>>
>> Dit is text
>> Dit is text
>> Dit is text
>>
>> [[image:logo-amc.png]]
>> Dit is textDit is text
>> Dit is textDit is text
>> Dit is textDit is text
>> Dit is textDit is text
>> Dit is textDit is text
>> Dit is textDit is text
>>
>> Note that I would like to extract from this: "logo-amc.png"
>>
>>
>> Gerritjan Koekkoek
>> Vader van Rai Koekkoek (cdls) en voorzitter vereniging CdLS
>> Visit our website
>> Facebook
>> email
>>
>>
>>
>> 
>> From: users  on behalf of Thomas Mortagne 
>> 
>> Sent: 02 December 2016 11:41:40
>> To: XWiki Users
>> Subject: Re: [xwiki-users] Content conversion
>>
>> On Fri, Dec 2, 2016 at 11:02 AM, Gerritjan Koekkoek
>>  wrote:
>>> Is it possible to get what images are inside a content page.
>>>
>>> Note I do not mean Attached images, but the images displayed inline in the 
>>> content
>>
>> You can parse any content into XDOM and then search for ImageBlock in
>> it. See 
>> http://rendering.xwiki.org/xwiki/bin/view/Main/GettingStarted#HExamples.
>>
>>>
>>>
>>> Is it also possible to display the content without these images, as plain 
>>> Text (also remove the wiki-markup )
>>
>> We usually use plain text rendered (id "plain/1.0") for this.
>> Basically you use rendering framework to parse the content and then
>> serialize it with a special plain text renderer.
>>
>>>
>>>
>>> Gerritjan Koekkoek
>>> Vader van Rai Koekkoek (cdls) en voorzitter vereniging CdLS
>>> Visit our website
>>> Facebook
>>> email
>>>
>>>
>>>
>>
>>
>>
>> --
>> Thomas Mortagne
>
>
>
> --
> Thomas Mortagne



-- 
Thomas Mortagne


Re: [xwiki-users] Content conversion

2016-12-05 Thread Gerritjan Koekkoek
You are right; renaming Sandbox.testImageCount as a terminal page changed the 
situation. getting closer


The output of:

#set($test2Doc = 
$xwiki.getDocument('Sandbox.testImageCount').getTranslatedDocument())

{{{$test2Doc.content}}}

$test2Doc.getDocument().getXDOM().getBlocks("class:ImageBlock", 
"DESCENDANT").class.name

{{{$test2Doc.getDocument().getXDOM().getBlocks("class:ImageBlock", 
"DESCENDANT")}}}

is:

Sandbox.testImageCount

Dit is text Dit is text Dit is text [[image:logo-amc.png]] Dit is textDit is 
text Dit is textDit is text Dit is textDit is text Dit is textDit is text Dit 
is textDit is text Dit is textDit is text Dit is text
java.util.ArrayList
[org.xwiki.rendering.block.ImageBlock@bd3e4fc7]


But how can I transform this to a list of images?



Gerritjan Koekkoek
Vader van Rai Koekkoek (cdls) en voorzitter vereniging CdLS
Visit our website
Facebook
email




From: users  on behalf of Thomas Mortagne 

Sent: 05 December 2016 16:32:32
To: XWiki Users
Subject: Re: [xwiki-users] Content conversion

Are you sure "Sandbox.testImageCount'" is the right reference ? Do you
have something when you print $test2Doc.content ?

If "Sandbox.testImageCount" does not exist maybe you need to try
"Sandbox.testImageCount.WebHome".

On Mon, Dec 5, 2016 at 4:24 PM, Gerritjan Koekkoek
 wrote:
> I fail to understand the rendering framework suggestion
>
> #set($test2Doc = 
> $xwiki.getDocument('Sandbox.testImageCount').getTranslatedDocument())
>
> $test2Doc.getDocument().getXDOM().getBlocks("class:ImageBlock", "DESCENDANT")
>
> Gives me a empty array, although the source document  looks like this (XWiki 
> 2.1)
>
> Dit is text
> Dit is text
> Dit is text
>
> [[image:logo-amc.png]]
> Dit is textDit is text
> Dit is textDit is text
> Dit is textDit is text
> Dit is textDit is text
> Dit is textDit is text
> Dit is textDit is text
>
> Note that I would like to extract from this: "logo-amc.png"
>
>
> Gerritjan Koekkoek
> Vader van Rai Koekkoek (cdls) en voorzitter vereniging CdLS
> Visit our website
> Facebook
> email
>
>
>
> 
> From: users  on behalf of Thomas Mortagne 
> 
> Sent: 02 December 2016 11:41:40
> To: XWiki Users
> Subject: Re: [xwiki-users] Content conversion
>
> On Fri, Dec 2, 2016 at 11:02 AM, Gerritjan Koekkoek
>  wrote:
>> Is it possible to get what images are inside a content page.
>>
>> Note I do not mean Attached images, but the images displayed inline in the 
>> content
>
> You can parse any content into XDOM and then search for ImageBlock in
> it. See 
> http://rendering.xwiki.org/xwiki/bin/view/Main/GettingStarted#HExamples.
>
>>
>>
>> Is it also possible to display the content without these images, as plain 
>> Text (also remove the wiki-markup )
>
> We usually use plain text rendered (id "plain/1.0") for this.
> Basically you use rendering framework to parse the content and then
> serialize it with a special plain text renderer.
>
>>
>>
>> Gerritjan Koekkoek
>> Vader van Rai Koekkoek (cdls) en voorzitter vereniging CdLS
>> Visit our website
>> Facebook
>> email
>>
>>
>>
>
>
>
> --
> Thomas Mortagne



--
Thomas Mortagne


Re: [xwiki-users] Content conversion

2016-12-05 Thread Thomas Mortagne
Are you sure "Sandbox.testImageCount'" is the right reference ? Do you
have something when you print $test2Doc.content ?

If "Sandbox.testImageCount" does not exist maybe you need to try
"Sandbox.testImageCount.WebHome".

On Mon, Dec 5, 2016 at 4:24 PM, Gerritjan Koekkoek
 wrote:
> I fail to understand the rendering framework suggestion
>
> #set($test2Doc = 
> $xwiki.getDocument('Sandbox.testImageCount').getTranslatedDocument())
>
> $test2Doc.getDocument().getXDOM().getBlocks("class:ImageBlock", "DESCENDANT")
>
> Gives me a empty array, although the source document  looks like this (XWiki 
> 2.1)
>
> Dit is text
> Dit is text
> Dit is text
>
> [[image:logo-amc.png]]
> Dit is textDit is text
> Dit is textDit is text
> Dit is textDit is text
> Dit is textDit is text
> Dit is textDit is text
> Dit is textDit is text
>
> Note that I would like to extract from this: "logo-amc.png"
>
>
> Gerritjan Koekkoek
> Vader van Rai Koekkoek (cdls) en voorzitter vereniging CdLS
> Visit our website
> Facebook
> email
>
>
>
> 
> From: users  on behalf of Thomas Mortagne 
> 
> Sent: 02 December 2016 11:41:40
> To: XWiki Users
> Subject: Re: [xwiki-users] Content conversion
>
> On Fri, Dec 2, 2016 at 11:02 AM, Gerritjan Koekkoek
>  wrote:
>> Is it possible to get what images are inside a content page.
>>
>> Note I do not mean Attached images, but the images displayed inline in the 
>> content
>
> You can parse any content into XDOM and then search for ImageBlock in
> it. See 
> http://rendering.xwiki.org/xwiki/bin/view/Main/GettingStarted#HExamples.
>
>>
>>
>> Is it also possible to display the content without these images, as plain 
>> Text (also remove the wiki-markup )
>
> We usually use plain text rendered (id "plain/1.0") for this.
> Basically you use rendering framework to parse the content and then
> serialize it with a special plain text renderer.
>
>>
>>
>> Gerritjan Koekkoek
>> Vader van Rai Koekkoek (cdls) en voorzitter vereniging CdLS
>> Visit our website
>> Facebook
>> email
>>
>>
>>
>
>
>
> --
> Thomas Mortagne



-- 
Thomas Mortagne


Re: [xwiki-users] Content conversion

2016-12-05 Thread Gerritjan Koekkoek
I fail to understand the rendering framework suggestion

#set($test2Doc = 
$xwiki.getDocument('Sandbox.testImageCount').getTranslatedDocument())

$test2Doc.getDocument().getXDOM().getBlocks("class:ImageBlock", "DESCENDANT")

Gives me a empty array, although the source document  looks like this (XWiki 
2.1)

Dit is text
Dit is text
Dit is text

[[image:logo-amc.png]]
Dit is textDit is text
Dit is textDit is text
Dit is textDit is text
Dit is textDit is text
Dit is textDit is text
Dit is textDit is text

Note that I would like to extract from this: "logo-amc.png"


Gerritjan Koekkoek
Vader van Rai Koekkoek (cdls) en voorzitter vereniging CdLS
Visit our website
Facebook
email




From: users  on behalf of Thomas Mortagne 

Sent: 02 December 2016 11:41:40
To: XWiki Users
Subject: Re: [xwiki-users] Content conversion

On Fri, Dec 2, 2016 at 11:02 AM, Gerritjan Koekkoek
 wrote:
> Is it possible to get what images are inside a content page.
>
> Note I do not mean Attached images, but the images displayed inline in the 
> content

You can parse any content into XDOM and then search for ImageBlock in
it. See http://rendering.xwiki.org/xwiki/bin/view/Main/GettingStarted#HExamples.

>
>
> Is it also possible to display the content without these images, as plain 
> Text (also remove the wiki-markup )

We usually use plain text rendered (id "plain/1.0") for this.
Basically you use rendering framework to parse the content and then
serialize it with a special plain text renderer.

>
>
> Gerritjan Koekkoek
> Vader van Rai Koekkoek (cdls) en voorzitter vereniging CdLS
> Visit our website
> Facebook
> email
>
>
>



--
Thomas Mortagne


Re: [xwiki-users] Problem with update from 7.1.2 to 8.4.1

2016-12-05 Thread aleksey-s
Hi Thomas,

In /xwiki/bin/view/XWiki/XWikiPreferences I see group members too (like as
xwiki/bin/admin/XWiki/XWikiPreferences). And in my logs appear similar
record:

"GET
/xwiki/bin/view/XWiki/XWikiPreferences?xpage=getgroupmembers=1=15=1=member=asc
HTTP/1.1" 200 53 "http://localhost/xwiki/bin/view/XWiki/XWikiPreferences;



--
View this message in context: 
http://xwiki.475771.n2.nabble.com/Problem-with-update-from-7-1-2-to-8-4-1-tp7601982p7602006.html
Sent from the XWiki- Users mailing list archive at Nabble.com.


Re: [xwiki-users] Problem with update from 7.1.2 to 8.4.1

2016-12-05 Thread Thomas Mortagne
On Mon, Dec 5, 2016 at 9:42 AM, aleksey-s  wrote:
> Hi Thomas,
>
> I revert changes for XWiki/XWikiPreference and XWiki/XWikiAdminGroup (to
> version before update). For XWikiAdminGroup it helped to restore admin
> rights, but for XWiki/XWikiPreference it not helped.
>
> I don't see Admin UI in /xwiki/bin/admin/XWiki/XWikiPreferences  - page only
> show group members of XWikiPreferences
>
> In web server logs I see GET requests if I open this page:
>
> "GET /xwiki/bin/lock/XWiki/XWikiPreferences?ajax=1=admin& HTTP/1.1"
> 204 0 "http://localhost/xwiki/bin/admin/XWiki/XWikiPreferences;
>
> "GET
> /xwiki/bin/view/XWiki/XWikiPreferences?xpage=getgroupmembers=1=15=1=member=asc
> HTTP/1.1" 200 53 "http://localhost/xwiki/bin/admin/XWiki/XWikiPreferences;

You have xpage=getgroupmembers in your URL which force the group UI.
Try to do to /xwiki/bin/view/XWiki/XWikiPreferences.

>
>
> What component show Admin UI instead group members ? (I think it not work
> for my version)
>
>
>
> --
> View this message in context: 
> http://xwiki.475771.n2.nabble.com/Problem-with-update-from-7-1-2-to-8-4-1-tp7601982p7602004.html
> Sent from the XWiki- Users mailing list archive at Nabble.com.



-- 
Thomas Mortagne


Re: [xwiki-users] Problem with update from 7.1.2 to 8.4.1

2016-12-05 Thread aleksey-s
Hi Thomas,

I revert changes for XWiki/XWikiPreference and XWiki/XWikiAdminGroup (to
version before update). For XWikiAdminGroup it helped to restore admin
rights, but for XWiki/XWikiPreference it not helped. 

I don't see Admin UI in /xwiki/bin/admin/XWiki/XWikiPreferences  - page only
show group members of XWikiPreferences

In web server logs I see GET requests if I open this page:

"GET /xwiki/bin/lock/XWiki/XWikiPreferences?ajax=1=admin& HTTP/1.1"
204 0 "http://localhost/xwiki/bin/admin/XWiki/XWikiPreferences;

"GET
/xwiki/bin/view/XWiki/XWikiPreferences?xpage=getgroupmembers=1=15=1=member=asc
HTTP/1.1" 200 53 "http://localhost/xwiki/bin/admin/XWiki/XWikiPreferences;


What component show Admin UI instead group members ? (I think it not work
for my version)



--
View this message in context: 
http://xwiki.475771.n2.nabble.com/Problem-with-update-from-7-1-2-to-8-4-1-tp7601982p7602004.html
Sent from the XWiki- Users mailing list archive at Nabble.com.