Re: Nested Pages - Search Links Not Working

classic Classic list List threaded Threaded
15 messages Options
Reply | Threaded
Open this post in threaded view
|

Re: Nested Pages - Search Links Not Working

laurin1
Correct and here is the content of those images (forgot this mailing list does not distribute images):

the links appear like this in the Wiki editor:

[[Tickets>>Main.Intranet.Tickets]]

Search results appear like this:

Main.Intranet.Tickets
Located in Home » Main.Intranet.Tickets » WebHome
Last modified by Unknown User on 2016/09/19 07:48

the link Main.Intranet.Tickets takes me to this page:

/Main.Intranet.Tickets
Main.Intranet.Tickets

Notice
The requested page could not be found.
You can edit this page to create it.

Keith Davis (214) 906-5183 - I.T. Director

From: Keith Davis
Sent: Thursday, September 15, 2016 3:00 PM
To: 'XWiki Users'
Subject: Nested Pages - Search Links Not Working

So we are now starting to change all of the our pages to Nested. When linking to Nested pages in the page themselves, the links appear like this in the WYSIWYG editor:

[[Tickets>>Main.Intranet.Tickets]]

but when saved are converted to this:

<a href="/xwiki/bin/view/Main/Intranet/Tickets/">Tickets</a>

However, Search results are broken. They appear like this:



Those do not work as the link Main.Intranet.Tickets takes me to this page:



I’ve tried re-indexing, but that does not help.

Keith Davis - MCSA, ZCE
P.R.I.D.E. - I.T. Director / Senior Developer
www.pridedallas.com
Mobile (214) 906-5183

_______________________________________________
users mailing list
[hidden email]
http://lists.xwiki.org/mailman/listinfo/users
Reply | Threaded
Open this post in threaded view
|

Re: Nested Pages - Search Links Not Working

Marius Dumitru Florea
On Mon, Sep 19, 2016 at 3:50 PM, Keith Davis <[hidden email]>
wrote:

> Correct and here is the content of those images (forgot this mailing list
> does not distribute images):
>
> the links appear like this in the Wiki editor:
>
> [[Tickets>>Main.Intranet.Tickets]]
>
> Search results appear like this:
>
>

> Main.Intranet.Tickets
> Located in Home » Main.Intranet.Tickets » WebHome
> Last modified by Unknown User on 2016/09/19 07:48
>

This means you have a space named "Main.Intranet.Tickets". That's the
actual space name. It contains dots. It's not the space "Tickets" inside
"Intranet" inside "Main". The actual link to the home page of this space
looks like this:

[[Tickets>>Main\.Intranet\.Tickets.WebHome]]

Notice how the dots inside the space name must be escaped. I don't know how
you created this page but it's not a nested page/space as you thought. It's
actually a top level page/space.

Hope this helps,
Marius


> the link Main.Intranet.Tickets takes me to this page:
>
> /Main.Intranet.Tickets
> Main.Intranet.Tickets
>
> Notice
> The requested page could not be found.
> You can edit this page to create it.
>
> Keith Davis (214) 906-5183 - I.T. Director
>
> From: Keith Davis
> Sent: Thursday, September 15, 2016 3:00 PM
> To: 'XWiki Users'
> Subject: Nested Pages - Search Links Not Working
>
> So we are now starting to change all of the our pages to Nested. When
> linking to Nested pages in the page themselves, the links appear like this
> in the WYSIWYG editor:
>
> [[Tickets>>Main.Intranet.Tickets]]
>
> but when saved are converted to this:
>
> <a href="/xwiki/bin/view/Main/Intranet/Tickets/">Tickets</a>
>
> However, Search results are broken. They appear like this:
>
>
>
> Those do not work as the link Main.Intranet.Tickets takes me to this page:
>
>
>
> I’ve tried re-indexing, but that does not help.
>
> Keith Davis - MCSA, ZCE
> P.R.I.D.E. - I.T. Director / Senior Developer
> www.pridedallas.com
> Mobile (214) 906-5183
>
> _______________________________________________
> users mailing list
> [hidden email]
> http://lists.xwiki.org/mailman/listinfo/users
>
_______________________________________________
users mailing list
[hidden email]
http://lists.xwiki.org/mailman/listinfo/users
Reply | Threaded
Open this post in threaded view
|

Re: Nested Pages - Search Links Not Working

Keith Davis
>
> This means you have a space named "Main.Intranet.Tickets". That's the
> actual space name. It contains dots. It's not the space "Tickets" inside
> "Intranet" inside "Main". The actual link to the home page of this space
> looks like this:
>
> [[Tickets>>Main\.Intranet\.Tickets.WebHome]]
>
> Notice how the dots inside the space name must be escaped. I don't know how
> you created this page but it's not a nested page/space as you thought. It's
> actually a top level page/space.
>

We get really confused on the topic of spaces. I thought we had created
these correctly. We've read through the documentation many times, but I
guess we just don't understand the concept well enough.

I just tried the link as you suggested and that does space / page not exist
(the link shows the question mark next to it). The only place we see
"Main.Intranet.Tickets" show up is in the Search results and that link does
not work.

On Mon, Sep 19, 2016 at 9:41 AM, Marius Dumitru Florea <
[hidden email]> wrote:

> On Mon, Sep 19, 2016 at 3:50 PM, Keith Davis <[hidden email]>
> wrote:
>
> > Correct and here is the content of those images (forgot this mailing list
> > does not distribute images):
> >
> > the links appear like this in the Wiki editor:
> >
> > [[Tickets>>Main.Intranet.Tickets]]
> >
> > Search results appear like this:
> >
> >
>
> > Main.Intranet.Tickets
> > Located in Home » Main.Intranet.Tickets » WebHome
> > Last modified by Unknown User on 2016/09/19 07:48
> >
>
> This means you have a space named "Main.Intranet.Tickets". That's the
> actual space name. It contains dots. It's not the space "Tickets" inside
> "Intranet" inside "Main". The actual link to the home page of this space
> looks like this:
>
> [[Tickets>>Main\.Intranet\.Tickets.WebHome]]
>
> Notice how the dots inside the space name must be escaped. I don't know how
> you created this page but it's not a nested page/space as you thought. It's
> actually a top level page/space.
>
> Hope this helps,
> Marius
>
>
> > the link Main.Intranet.Tickets takes me to this page:
> >
> > /Main.Intranet.Tickets
> > Main.Intranet.Tickets
> >
> > Notice
> > The requested page could not be found.
> > You can edit this page to create it.
> >
> > Keith Davis (214) 906-5183 - I.T. Director
> >
> > From: Keith Davis
> > Sent: Thursday, September 15, 2016 3:00 PM
> > To: 'XWiki Users'
> > Subject: Nested Pages - Search Links Not Working
> >
> > So we are now starting to change all of the our pages to Nested. When
> > linking to Nested pages in the page themselves, the links appear like
> this
> > in the WYSIWYG editor:
> >
> > [[Tickets>>Main.Intranet.Tickets]]
> >
> > but when saved are converted to this:
> >
> > <a href="/xwiki/bin/view/Main/Intranet/Tickets/">Tickets</a>
> >
> > However, Search results are broken. They appear like this:
> >
> >
> >
> > Those do not work as the link Main.Intranet.Tickets takes me to this
> page:
> >
> >
> >
> > I’ve tried re-indexing, but that does not help.
> >
> > Keith Davis - MCSA, ZCE
> > P.R.I.D.E. - I.T. Director / Senior Developer
> > www.pridedallas.com
> > Mobile (214) 906-5183
> >
> > _______________________________________________
> > users mailing list
> > [hidden email]
> > http://lists.xwiki.org/mailman/listinfo/users
> >
> _______________________________________________
> users mailing list
> [hidden email]
> http://lists.xwiki.org/mailman/listinfo/users
>



--
Keith Davis
214-906-5183
_______________________________________________
users mailing list
[hidden email]
http://lists.xwiki.org/mailman/listinfo/users
Reply | Threaded
Open this post in threaded view
|

Re: Nested Pages - Search Links Not Working

Marius Dumitru Florea
On Mon, Sep 19, 2016 at 6:18 PM, Keith Davis <[hidden email]>
wrote:

> >
> > This means you have a space named "Main.Intranet.Tickets". That's the
> > actual space name. It contains dots. It's not the space "Tickets" inside
> > "Intranet" inside "Main". The actual link to the home page of this space
> > looks like this:
> >
> > [[Tickets>>Main\.Intranet\.Tickets.WebHome]]
> >
> > Notice how the dots inside the space name must be escaped. I don't know
> how
> > you created this page but it's not a nested page/space as you thought.
> It's
> > actually a top level page/space.
> >
>
> We get really confused on the topic of spaces. I thought we had created
> these correctly. We've read through the documentation many times, but I
> guess we just don't understand the concept well enough.
>
> I just tried the link as you suggested and that does space / page not exist
> (the link shows the question mark next to it). The only place we see
> "Main.Intranet.Tickets" show up is in the Search results and that link does
> not work.
>

Maybe you need to re-index your wiki. Note that if you upgraded from pre
7.2 to post 7.2 version you definitely need to delete the Solr folder from
the permanent directory (as indicated in the released notes). Don't you
have Solr related error in the logs?


>
> On Mon, Sep 19, 2016 at 9:41 AM, Marius Dumitru Florea <
> [hidden email]> wrote:
>
> > On Mon, Sep 19, 2016 at 3:50 PM, Keith Davis <[hidden email]
> >
> > wrote:
> >
> > > Correct and here is the content of those images (forgot this mailing
> list
> > > does not distribute images):
> > >
> > > the links appear like this in the Wiki editor:
> > >
> > > [[Tickets>>Main.Intranet.Tickets]]
> > >
> > > Search results appear like this:
> > >
> > >
> >
> > > Main.Intranet.Tickets
> > > Located in Home » Main.Intranet.Tickets » WebHome
> > > Last modified by Unknown User on 2016/09/19 07:48
> > >
> >
> > This means you have a space named "Main.Intranet.Tickets". That's the
> > actual space name. It contains dots. It's not the space "Tickets" inside
> > "Intranet" inside "Main". The actual link to the home page of this space
> > looks like this:
> >
> > [[Tickets>>Main\.Intranet\.Tickets.WebHome]]
> >
> > Notice how the dots inside the space name must be escaped. I don't know
> how
> > you created this page but it's not a nested page/space as you thought.
> It's
> > actually a top level page/space.
> >
> > Hope this helps,
> > Marius
> >
> >
> > > the link Main.Intranet.Tickets takes me to this page:
> > >
> > > /Main.Intranet.Tickets
> > > Main.Intranet.Tickets
> > >
> > > Notice
> > > The requested page could not be found.
> > > You can edit this page to create it.
> > >
> > > Keith Davis (214) 906-5183 - I.T. Director
> > >
> > > From: Keith Davis
> > > Sent: Thursday, September 15, 2016 3:00 PM
> > > To: 'XWiki Users'
> > > Subject: Nested Pages - Search Links Not Working
> > >
> > > So we are now starting to change all of the our pages to Nested. When
> > > linking to Nested pages in the page themselves, the links appear like
> > this
> > > in the WYSIWYG editor:
> > >
> > > [[Tickets>>Main.Intranet.Tickets]]
> > >
> > > but when saved are converted to this:
> > >
> > > <a href="/xwiki/bin/view/Main/Intranet/Tickets/">Tickets</a>
> > >
> > > However, Search results are broken. They appear like this:
> > >
> > >
> > >
> > > Those do not work as the link Main.Intranet.Tickets takes me to this
> > page:
> > >
> > >
> > >
> > > I’ve tried re-indexing, but that does not help.
> > >
> > > Keith Davis - MCSA, ZCE
> > > P.R.I.D.E. - I.T. Director / Senior Developer
> > > www.pridedallas.com
> > > Mobile (214) 906-5183
> > >
> > > _______________________________________________
> > > users mailing list
> > > [hidden email]
> > > http://lists.xwiki.org/mailman/listinfo/users
> > >
> > _______________________________________________
> > users mailing list
> > [hidden email]
> > http://lists.xwiki.org/mailman/listinfo/users
> >
>
>
>
> --
> Keith Davis
> 214-906-5183
> _______________________________________________
> users mailing list
> [hidden email]
> http://lists.xwiki.org/mailman/listinfo/users
>
_______________________________________________
users mailing list
[hidden email]
http://lists.xwiki.org/mailman/listinfo/users
Reply | Threaded
Open this post in threaded view
|

Re: Nested Pages - Search Links Not Working

Keith Davis
Already tried the re-index and yes, we deleted the Solr directory after
post 7.2 upgrade. I'll check the logs.

On Tue, Sep 20, 2016 at 2:40 AM, Marius Dumitru Florea <
[hidden email]> wrote:

> On Mon, Sep 19, 2016 at 6:18 PM, Keith Davis <[hidden email]>
> wrote:
>
> > >
> > > This means you have a space named "Main.Intranet.Tickets". That's the
> > > actual space name. It contains dots. It's not the space "Tickets"
> inside
> > > "Intranet" inside "Main". The actual link to the home page of this
> space
> > > looks like this:
> > >
> > > [[Tickets>>Main\.Intranet\.Tickets.WebHome]]
> > >
> > > Notice how the dots inside the space name must be escaped. I don't know
> > how
> > > you created this page but it's not a nested page/space as you thought.
> > It's
> > > actually a top level page/space.
> > >
> >
> > We get really confused on the topic of spaces. I thought we had created
> > these correctly. We've read through the documentation many times, but I
> > guess we just don't understand the concept well enough.
> >
> > I just tried the link as you suggested and that does space / page not
> exist
> > (the link shows the question mark next to it). The only place we see
> > "Main.Intranet.Tickets" show up is in the Search results and that link
> does
> > not work.
> >
>
> Maybe you need to re-index your wiki. Note that if you upgraded from pre
> 7.2 to post 7.2 version you definitely need to delete the Solr folder from
> the permanent directory (as indicated in the released notes). Don't you
> have Solr related error in the logs?
>
>
> >
> > On Mon, Sep 19, 2016 at 9:41 AM, Marius Dumitru Florea <
> > [hidden email]> wrote:
> >
> > > On Mon, Sep 19, 2016 at 3:50 PM, Keith Davis <
> [hidden email]
> > >
> > > wrote:
> > >
> > > > Correct and here is the content of those images (forgot this mailing
> > list
> > > > does not distribute images):
> > > >
> > > > the links appear like this in the Wiki editor:
> > > >
> > > > [[Tickets>>Main.Intranet.Tickets]]
> > > >
> > > > Search results appear like this:
> > > >
> > > >
> > >
> > > > Main.Intranet.Tickets
> > > > Located in Home » Main.Intranet.Tickets » WebHome
> > > > Last modified by Unknown User on 2016/09/19 07:48
> > > >
> > >
> > > This means you have a space named "Main.Intranet.Tickets". That's the
> > > actual space name. It contains dots. It's not the space "Tickets"
> inside
> > > "Intranet" inside "Main". The actual link to the home page of this
> space
> > > looks like this:
> > >
> > > [[Tickets>>Main\.Intranet\.Tickets.WebHome]]
> > >
> > > Notice how the dots inside the space name must be escaped. I don't know
> > how
> > > you created this page but it's not a nested page/space as you thought.
> > It's
> > > actually a top level page/space.
> > >
> > > Hope this helps,
> > > Marius
> > >
> > >
> > > > the link Main.Intranet.Tickets takes me to this page:
> > > >
> > > > /Main.Intranet.Tickets
> > > > Main.Intranet.Tickets
> > > >
> > > > Notice
> > > > The requested page could not be found.
> > > > You can edit this page to create it.
> > > >
> > > > Keith Davis (214) 906-5183 - I.T. Director
> > > >
> > > > From: Keith Davis
> > > > Sent: Thursday, September 15, 2016 3:00 PM
> > > > To: 'XWiki Users'
> > > > Subject: Nested Pages - Search Links Not Working
> > > >
> > > > So we are now starting to change all of the our pages to Nested. When
> > > > linking to Nested pages in the page themselves, the links appear like
> > > this
> > > > in the WYSIWYG editor:
> > > >
> > > > [[Tickets>>Main.Intranet.Tickets]]
> > > >
> > > > but when saved are converted to this:
> > > >
> > > > <a href="/xwiki/bin/view/Main/Intranet/Tickets/">Tickets</a>
> > > >
> > > > However, Search results are broken. They appear like this:
> > > >
> > > >
> > > >
> > > > Those do not work as the link Main.Intranet.Tickets takes me to this
> > > page:
> > > >
> > > >
> > > >
> > > > I’ve tried re-indexing, but that does not help.
> > > >
> > > > Keith Davis - MCSA, ZCE
> > > > P.R.I.D.E. - I.T. Director / Senior Developer
> > > > www.pridedallas.com
> > > > Mobile (214) 906-5183
> > > >
> > > > _______________________________________________
> > > > users mailing list
> > > > [hidden email]
> > > > http://lists.xwiki.org/mailman/listinfo/users
> > > >
> > > _______________________________________________
> > > users mailing list
> > > [hidden email]
> > > http://lists.xwiki.org/mailman/listinfo/users
> > >
> >
> >
> >
> > --
> > Keith Davis
> > 214-906-5183
> > _______________________________________________
> > users mailing list
> > [hidden email]
> > http://lists.xwiki.org/mailman/listinfo/users
> >
> _______________________________________________
> users mailing list
> [hidden email]
> http://lists.xwiki.org/mailman/listinfo/users
>



--
Keith Davis
214-906-5183
_______________________________________________
users mailing list
[hidden email]
http://lists.xwiki.org/mailman/listinfo/users
Reply | Threaded
Open this post in threaded view
|

Re: Nested Pages - Search Links Not Working

Keith Davis
I am not sure what logs I should look at for this type of issue? The only
logs I'm familiar with for this application are the Tomcat /logs files.

On Tue, Sep 20, 2016 at 6:17 AM, Keith Davis <[hidden email]>
wrote:

> Already tried the re-index and yes, we deleted the Solr directory after
> post 7.2 upgrade. I'll check the logs.
>
> On Tue, Sep 20, 2016 at 2:40 AM, Marius Dumitru Florea <
> [hidden email]> wrote:
>
>> On Mon, Sep 19, 2016 at 6:18 PM, Keith Davis <[hidden email]>
>> wrote:
>>
>> > >
>> > > This means you have a space named "Main.Intranet.Tickets". That's the
>> > > actual space name. It contains dots. It's not the space "Tickets"
>> inside
>> > > "Intranet" inside "Main". The actual link to the home page of this
>> space
>> > > looks like this:
>> > >
>> > > [[Tickets>>Main\.Intranet\.Tickets.WebHome]]
>> > >
>> > > Notice how the dots inside the space name must be escaped. I don't
>> know
>> > how
>> > > you created this page but it's not a nested page/space as you thought.
>> > It's
>> > > actually a top level page/space.
>> > >
>> >
>> > We get really confused on the topic of spaces. I thought we had created
>> > these correctly. We've read through the documentation many times, but I
>> > guess we just don't understand the concept well enough.
>> >
>> > I just tried the link as you suggested and that does space / page not
>> exist
>> > (the link shows the question mark next to it). The only place we see
>> > "Main.Intranet.Tickets" show up is in the Search results and that link
>> does
>> > not work.
>> >
>>
>> Maybe you need to re-index your wiki. Note that if you upgraded from pre
>> 7.2 to post 7.2 version you definitely need to delete the Solr folder from
>> the permanent directory (as indicated in the released notes). Don't you
>> have Solr related error in the logs?
>>
>>
>> >
>> > On Mon, Sep 19, 2016 at 9:41 AM, Marius Dumitru Florea <
>> > [hidden email]> wrote:
>> >
>> > > On Mon, Sep 19, 2016 at 3:50 PM, Keith Davis <
>> [hidden email]
>> > >
>> > > wrote:
>> > >
>> > > > Correct and here is the content of those images (forgot this mailing
>> > list
>> > > > does not distribute images):
>> > > >
>> > > > the links appear like this in the Wiki editor:
>> > > >
>> > > > [[Tickets>>Main.Intranet.Tickets]]
>> > > >
>> > > > Search results appear like this:
>> > > >
>> > > >
>> > >
>> > > > Main.Intranet.Tickets
>> > > > Located in Home » Main.Intranet.Tickets » WebHome
>> > > > Last modified by Unknown User on 2016/09/19 07:48
>> > > >
>> > >
>> > > This means you have a space named "Main.Intranet.Tickets". That's the
>> > > actual space name. It contains dots. It's not the space "Tickets"
>> inside
>> > > "Intranet" inside "Main". The actual link to the home page of this
>> space
>> > > looks like this:
>> > >
>> > > [[Tickets>>Main\.Intranet\.Tickets.WebHome]]
>> > >
>> > > Notice how the dots inside the space name must be escaped. I don't
>> know
>> > how
>> > > you created this page but it's not a nested page/space as you thought.
>> > It's
>> > > actually a top level page/space.
>> > >
>> > > Hope this helps,
>> > > Marius
>> > >
>> > >
>> > > > the link Main.Intranet.Tickets takes me to this page:
>> > > >
>> > > > /Main.Intranet.Tickets
>> > > > Main.Intranet.Tickets
>> > > >
>> > > > Notice
>> > > > The requested page could not be found.
>> > > > You can edit this page to create it.
>> > > >
>> > > > Keith Davis (214) 906-5183 - I.T. Director
>> > > >
>> > > > From: Keith Davis
>> > > > Sent: Thursday, September 15, 2016 3:00 PM
>> > > > To: 'XWiki Users'
>> > > > Subject: Nested Pages - Search Links Not Working
>> > > >
>> > > > So we are now starting to change all of the our pages to Nested.
>> When
>> > > > linking to Nested pages in the page themselves, the links appear
>> like
>> > > this
>> > > > in the WYSIWYG editor:
>> > > >
>> > > > [[Tickets>>Main.Intranet.Tickets]]
>> > > >
>> > > > but when saved are converted to this:
>> > > >
>> > > > <a href="/xwiki/bin/view/Main/Intranet/Tickets/">Tickets</a>
>> > > >
>> > > > However, Search results are broken. They appear like this:
>> > > >
>> > > >
>> > > >
>> > > > Those do not work as the link Main.Intranet.Tickets takes me to this
>> > > page:
>> > > >
>> > > >
>> > > >
>> > > > I’ve tried re-indexing, but that does not help.
>> > > >
>> > > > Keith Davis - MCSA, ZCE
>> > > > P.R.I.D.E. - I.T. Director / Senior Developer
>> > > > www.pridedallas.com
>> > > > Mobile (214) 906-5183
>> > > >
>> > > > _______________________________________________
>> > > > users mailing list
>> > > > [hidden email]
>> > > > http://lists.xwiki.org/mailman/listinfo/users
>> > > >
>> > > _______________________________________________
>> > > users mailing list
>> > > [hidden email]
>> > > http://lists.xwiki.org/mailman/listinfo/users
>> > >
>> >
>> >
>> >
>> > --
>> > Keith Davis
>> > 214-906-5183
>> > _______________________________________________
>> > users mailing list
>> > [hidden email]
>> > http://lists.xwiki.org/mailman/listinfo/users
>> >
>> _______________________________________________
>> users mailing list
>> [hidden email]
>> http://lists.xwiki.org/mailman/listinfo/users
>>
>
>
>
> --
> Keith Davis
> 214-906-5183
>



--
Keith Davis
214-906-5183
_______________________________________________
users mailing list
[hidden email]
http://lists.xwiki.org/mailman/listinfo/users
Reply | Threaded
Open this post in threaded view
|

Re: Nested Pages - Search Links Not Working

vmassol
Administrator

> On 20 Sep 2016, at 13:22, Keith Davis <[hidden email]> wrote:
>
> I am not sure what logs I should look at for this type of issue? The only
> logs I'm familiar with for this application are the Tomcat /logs files.

Yes those are the ones (the xwiki logs are found in the catalina.out logs).

Thanks
-Vincent

> On Tue, Sep 20, 2016 at 6:17 AM, Keith Davis <[hidden email]>
> wrote:
>
>> Already tried the re-index and yes, we deleted the Solr directory after
>> post 7.2 upgrade. I'll check the logs.
>>
>> On Tue, Sep 20, 2016 at 2:40 AM, Marius Dumitru Florea <
>> [hidden email]> wrote:
>>
>>> On Mon, Sep 19, 2016 at 6:18 PM, Keith Davis <[hidden email]>
>>> wrote:
>>>
>>>>>
>>>>> This means you have a space named "Main.Intranet.Tickets". That's the
>>>>> actual space name. It contains dots. It's not the space "Tickets"
>>> inside
>>>>> "Intranet" inside "Main". The actual link to the home page of this
>>> space
>>>>> looks like this:
>>>>>
>>>>> [[Tickets>>Main\.Intranet\.Tickets.WebHome]]
>>>>>
>>>>> Notice how the dots inside the space name must be escaped. I don't
>>> know
>>>> how
>>>>> you created this page but it's not a nested page/space as you thought.
>>>> It's
>>>>> actually a top level page/space.
>>>>>
>>>>
>>>> We get really confused on the topic of spaces. I thought we had created
>>>> these correctly. We've read through the documentation many times, but I
>>>> guess we just don't understand the concept well enough.
>>>>
>>>> I just tried the link as you suggested and that does space / page not
>>> exist
>>>> (the link shows the question mark next to it). The only place we see
>>>> "Main.Intranet.Tickets" show up is in the Search results and that link
>>> does
>>>> not work.
>>>>
>>>
>>> Maybe you need to re-index your wiki. Note that if you upgraded from pre
>>> 7.2 to post 7.2 version you definitely need to delete the Solr folder from
>>> the permanent directory (as indicated in the released notes). Don't you
>>> have Solr related error in the logs?
>>>
>>>
>>>>
>>>> On Mon, Sep 19, 2016 at 9:41 AM, Marius Dumitru Florea <
>>>> [hidden email]> wrote:
>>>>
>>>>> On Mon, Sep 19, 2016 at 3:50 PM, Keith Davis <
>>> [hidden email]
>>>>>
>>>>> wrote:
>>>>>
>>>>>> Correct and here is the content of those images (forgot this mailing
>>>> list
>>>>>> does not distribute images):
>>>>>>
>>>>>> the links appear like this in the Wiki editor:
>>>>>>
>>>>>> [[Tickets>>Main.Intranet.Tickets]]
>>>>>>
>>>>>> Search results appear like this:
>>>>>>
>>>>>>
>>>>>
>>>>>> Main.Intranet.Tickets
>>>>>> Located in Home » Main.Intranet.Tickets » WebHome
>>>>>> Last modified by Unknown User on 2016/09/19 07:48
>>>>>>
>>>>>
>>>>> This means you have a space named "Main.Intranet.Tickets". That's the
>>>>> actual space name. It contains dots. It's not the space "Tickets"
>>> inside
>>>>> "Intranet" inside "Main". The actual link to the home page of this
>>> space
>>>>> looks like this:
>>>>>
>>>>> [[Tickets>>Main\.Intranet\.Tickets.WebHome]]
>>>>>
>>>>> Notice how the dots inside the space name must be escaped. I don't
>>> know
>>>> how
>>>>> you created this page but it's not a nested page/space as you thought.
>>>> It's
>>>>> actually a top level page/space.
>>>>>
>>>>> Hope this helps,
>>>>> Marius
>>>>>
>>>>>
>>>>>> the link Main.Intranet.Tickets takes me to this page:
>>>>>>
>>>>>> /Main.Intranet.Tickets
>>>>>> Main.Intranet.Tickets
>>>>>>
>>>>>> Notice
>>>>>> The requested page could not be found.
>>>>>> You can edit this page to create it.
>>>>>>
>>>>>> Keith Davis (214) 906-5183 - I.T. Director
>>>>>>
>>>>>> From: Keith Davis
>>>>>> Sent: Thursday, September 15, 2016 3:00 PM
>>>>>> To: 'XWiki Users'
>>>>>> Subject: Nested Pages - Search Links Not Working
>>>>>>
>>>>>> So we are now starting to change all of the our pages to Nested.
>>> When
>>>>>> linking to Nested pages in the page themselves, the links appear
>>> like
>>>>> this
>>>>>> in the WYSIWYG editor:
>>>>>>
>>>>>> [[Tickets>>Main.Intranet.Tickets]]
>>>>>>
>>>>>> but when saved are converted to this:
>>>>>>
>>>>>> <a href="/xwiki/bin/view/Main/Intranet/Tickets/">Tickets</a>
>>>>>>
>>>>>> However, Search results are broken. They appear like this:
>>>>>>
>>>>>>
>>>>>>
>>>>>> Those do not work as the link Main.Intranet.Tickets takes me to this
>>>>> page:
>>>>>>
>>>>>>
>>>>>>
>>>>>> I’ve tried re-indexing, but that does not help.
>>>>>>
>>>>>> Keith Davis - MCSA, ZCE
>>>>>> P.R.I.D.E. - I.T. Director / Senior Developer
>>>>>> www.pridedallas.com
>>>>>> Mobile (214) 906-5183
_______________________________________________
users mailing list
[hidden email]
http://lists.xwiki.org/mailman/listinfo/users
Reply | Threaded
Open this post in threaded view
|

Re: Nested Pages - Search Links Not Working

Keith Davis
I don't have any log files named "catalina.out". I have catalina log files
(catalina.2016-09-13.log), but the last time that was updated was 9/13 and
only contains this:

13-Sep-2016 00:46:06.080 INFO [http-nio-8443-exec-7]
org.apache.coyote.http11.AbstractHttp11Processor.process Error parsing HTTP
request header
 Note: further occurrences of HTTP header parsing errors will be logged at
DEBUG level.

On Tue, Sep 20, 2016 at 6:32 AM, Vincent Massol <[hidden email]> wrote:

>
> > On 20 Sep 2016, at 13:22, Keith Davis <[hidden email]>
> wrote:
> >
> > I am not sure what logs I should look at for this type of issue? The only
> > logs I'm familiar with for this application are the Tomcat /logs files.
>
> Yes those are the ones (the xwiki logs are found in the catalina.out logs).
>
> Thanks
> -Vincent
>
> > On Tue, Sep 20, 2016 at 6:17 AM, Keith Davis <[hidden email]
> >
> > wrote:
> >
> >> Already tried the re-index and yes, we deleted the Solr directory after
> >> post 7.2 upgrade. I'll check the logs.
> >>
> >> On Tue, Sep 20, 2016 at 2:40 AM, Marius Dumitru Florea <
> >> [hidden email]> wrote:
> >>
> >>> On Mon, Sep 19, 2016 at 6:18 PM, Keith Davis <
> [hidden email]>
> >>> wrote:
> >>>
> >>>>>
> >>>>> This means you have a space named "Main.Intranet.Tickets". That's the
> >>>>> actual space name. It contains dots. It's not the space "Tickets"
> >>> inside
> >>>>> "Intranet" inside "Main". The actual link to the home page of this
> >>> space
> >>>>> looks like this:
> >>>>>
> >>>>> [[Tickets>>Main\.Intranet\.Tickets.WebHome]]
> >>>>>
> >>>>> Notice how the dots inside the space name must be escaped. I don't
> >>> know
> >>>> how
> >>>>> you created this page but it's not a nested page/space as you
> thought.
> >>>> It's
> >>>>> actually a top level page/space.
> >>>>>
> >>>>
> >>>> We get really confused on the topic of spaces. I thought we had
> created
> >>>> these correctly. We've read through the documentation many times, but
> I
> >>>> guess we just don't understand the concept well enough.
> >>>>
> >>>> I just tried the link as you suggested and that does space / page not
> >>> exist
> >>>> (the link shows the question mark next to it). The only place we see
> >>>> "Main.Intranet.Tickets" show up is in the Search results and that link
> >>> does
> >>>> not work.
> >>>>
> >>>
> >>> Maybe you need to re-index your wiki. Note that if you upgraded from
> pre
> >>> 7.2 to post 7.2 version you definitely need to delete the Solr folder
> from
> >>> the permanent directory (as indicated in the released notes). Don't you
> >>> have Solr related error in the logs?
> >>>
> >>>
> >>>>
> >>>> On Mon, Sep 19, 2016 at 9:41 AM, Marius Dumitru Florea <
> >>>> [hidden email]> wrote:
> >>>>
> >>>>> On Mon, Sep 19, 2016 at 3:50 PM, Keith Davis <
> >>> [hidden email]
> >>>>>
> >>>>> wrote:
> >>>>>
> >>>>>> Correct and here is the content of those images (forgot this mailing
> >>>> list
> >>>>>> does not distribute images):
> >>>>>>
> >>>>>> the links appear like this in the Wiki editor:
> >>>>>>
> >>>>>> [[Tickets>>Main.Intranet.Tickets]]
> >>>>>>
> >>>>>> Search results appear like this:
> >>>>>>
> >>>>>>
> >>>>>
> >>>>>> Main.Intranet.Tickets
> >>>>>> Located in Home » Main.Intranet.Tickets » WebHome
> >>>>>> Last modified by Unknown User on 2016/09/19 07:48
> >>>>>>
> >>>>>
> >>>>> This means you have a space named "Main.Intranet.Tickets". That's the
> >>>>> actual space name. It contains dots. It's not the space "Tickets"
> >>> inside
> >>>>> "Intranet" inside "Main". The actual link to the home page of this
> >>> space
> >>>>> looks like this:
> >>>>>
> >>>>> [[Tickets>>Main\.Intranet\.Tickets.WebHome]]
> >>>>>
> >>>>> Notice how the dots inside the space name must be escaped. I don't
> >>> know
> >>>> how
> >>>>> you created this page but it's not a nested page/space as you
> thought.
> >>>> It's
> >>>>> actually a top level page/space.
> >>>>>
> >>>>> Hope this helps,
> >>>>> Marius
> >>>>>
> >>>>>
> >>>>>> the link Main.Intranet.Tickets takes me to this page:
> >>>>>>
> >>>>>> /Main.Intranet.Tickets
> >>>>>> Main.Intranet.Tickets
> >>>>>>
> >>>>>> Notice
> >>>>>> The requested page could not be found.
> >>>>>> You can edit this page to create it.
> >>>>>>
> >>>>>> Keith Davis (214) 906-5183 - I.T. Director
> >>>>>>
> >>>>>> From: Keith Davis
> >>>>>> Sent: Thursday, September 15, 2016 3:00 PM
> >>>>>> To: 'XWiki Users'
> >>>>>> Subject: Nested Pages - Search Links Not Working
> >>>>>>
> >>>>>> So we are now starting to change all of the our pages to Nested.
> >>> When
> >>>>>> linking to Nested pages in the page themselves, the links appear
> >>> like
> >>>>> this
> >>>>>> in the WYSIWYG editor:
> >>>>>>
> >>>>>> [[Tickets>>Main.Intranet.Tickets]]
> >>>>>>
> >>>>>> but when saved are converted to this:
> >>>>>>
> >>>>>> <a href="/xwiki/bin/view/Main/Intranet/Tickets/">Tickets</a>
> >>>>>>
> >>>>>> However, Search results are broken. They appear like this:
> >>>>>>
> >>>>>>
> >>>>>>
> >>>>>> Those do not work as the link Main.Intranet.Tickets takes me to this
> >>>>> page:
> >>>>>>
> >>>>>>
> >>>>>>
> >>>>>> I’ve tried re-indexing, but that does not help.
> >>>>>>
> >>>>>> Keith Davis - MCSA, ZCE
> >>>>>> P.R.I.D.E. - I.T. Director / Senior Developer
> >>>>>> www.pridedallas.com
> >>>>>> Mobile (214) 906-5183
> _______________________________________________
> users mailing list
> [hidden email]
> http://lists.xwiki.org/mailman/listinfo/users
>



--
Keith Davis
214-906-5183
_______________________________________________
users mailing list
[hidden email]
http://lists.xwiki.org/mailman/listinfo/users
Reply | Threaded
Open this post in threaded view
|

Re: Nested Pages - Search Links Not Working

Keith Davis
Ah, we run this on a Windows Server 2008 machine and it appears that
catilina.out logs are not created on Windows by default:

http://stackoverflow.com/questions/8239475/where-is-the-catalina-out-on-windows

On Tue, Sep 20, 2016 at 6:43 AM, Keith Davis <[hidden email]>
wrote:

> I don't have any log files named "catalina.out". I have catalina log files
> (catalina.2016-09-13.log), but the last time that was updated was 9/13 and
> only contains this:
>
> 13-Sep-2016 00:46:06.080 INFO [http-nio-8443-exec-7]
> org.apache.coyote.http11.AbstractHttp11Processor.process Error parsing
> HTTP request header
>  Note: further occurrences of HTTP header parsing errors will be logged at
> DEBUG level.
>
> On Tue, Sep 20, 2016 at 6:32 AM, Vincent Massol <[hidden email]>
> wrote:
>
>>
>> > On 20 Sep 2016, at 13:22, Keith Davis <[hidden email]>
>> wrote:
>> >
>> > I am not sure what logs I should look at for this type of issue? The
>> only
>> > logs I'm familiar with for this application are the Tomcat /logs files.
>>
>> Yes those are the ones (the xwiki logs are found in the catalina.out
>> logs).
>>
>> Thanks
>> -Vincent
>>
>> > On Tue, Sep 20, 2016 at 6:17 AM, Keith Davis <
>> [hidden email]>
>> > wrote:
>> >
>> >> Already tried the re-index and yes, we deleted the Solr directory after
>> >> post 7.2 upgrade. I'll check the logs.
>> >>
>> >> On Tue, Sep 20, 2016 at 2:40 AM, Marius Dumitru Florea <
>> >> [hidden email]> wrote:
>> >>
>> >>> On Mon, Sep 19, 2016 at 6:18 PM, Keith Davis <
>> [hidden email]>
>> >>> wrote:
>> >>>
>> >>>>>
>> >>>>> This means you have a space named "Main.Intranet.Tickets". That's
>> the
>> >>>>> actual space name. It contains dots. It's not the space "Tickets"
>> >>> inside
>> >>>>> "Intranet" inside "Main". The actual link to the home page of this
>> >>> space
>> >>>>> looks like this:
>> >>>>>
>> >>>>> [[Tickets>>Main\.Intranet\.Tickets.WebHome]]
>> >>>>>
>> >>>>> Notice how the dots inside the space name must be escaped. I don't
>> >>> know
>> >>>> how
>> >>>>> you created this page but it's not a nested page/space as you
>> thought.
>> >>>> It's
>> >>>>> actually a top level page/space.
>> >>>>>
>> >>>>
>> >>>> We get really confused on the topic of spaces. I thought we had
>> created
>> >>>> these correctly. We've read through the documentation many times,
>> but I
>> >>>> guess we just don't understand the concept well enough.
>> >>>>
>> >>>> I just tried the link as you suggested and that does space / page not
>> >>> exist
>> >>>> (the link shows the question mark next to it). The only place we see
>> >>>> "Main.Intranet.Tickets" show up is in the Search results and that
>> link
>> >>> does
>> >>>> not work.
>> >>>>
>> >>>
>> >>> Maybe you need to re-index your wiki. Note that if you upgraded from
>> pre
>> >>> 7.2 to post 7.2 version you definitely need to delete the Solr folder
>> from
>> >>> the permanent directory (as indicated in the released notes). Don't
>> you
>> >>> have Solr related error in the logs?
>> >>>
>> >>>
>> >>>>
>> >>>> On Mon, Sep 19, 2016 at 9:41 AM, Marius Dumitru Florea <
>> >>>> [hidden email]> wrote:
>> >>>>
>> >>>>> On Mon, Sep 19, 2016 at 3:50 PM, Keith Davis <
>> >>> [hidden email]
>> >>>>>
>> >>>>> wrote:
>> >>>>>
>> >>>>>> Correct and here is the content of those images (forgot this
>> mailing
>> >>>> list
>> >>>>>> does not distribute images):
>> >>>>>>
>> >>>>>> the links appear like this in the Wiki editor:
>> >>>>>>
>> >>>>>> [[Tickets>>Main.Intranet.Tickets]]
>> >>>>>>
>> >>>>>> Search results appear like this:
>> >>>>>>
>> >>>>>>
>> >>>>>
>> >>>>>> Main.Intranet.Tickets
>> >>>>>> Located in Home » Main.Intranet.Tickets » WebHome
>> >>>>>> Last modified by Unknown User on 2016/09/19 07:48
>> >>>>>>
>> >>>>>
>> >>>>> This means you have a space named "Main.Intranet.Tickets". That's
>> the
>> >>>>> actual space name. It contains dots. It's not the space "Tickets"
>> >>> inside
>> >>>>> "Intranet" inside "Main". The actual link to the home page of this
>> >>> space
>> >>>>> looks like this:
>> >>>>>
>> >>>>> [[Tickets>>Main\.Intranet\.Tickets.WebHome]]
>> >>>>>
>> >>>>> Notice how the dots inside the space name must be escaped. I don't
>> >>> know
>> >>>> how
>> >>>>> you created this page but it's not a nested page/space as you
>> thought.
>> >>>> It's
>> >>>>> actually a top level page/space.
>> >>>>>
>> >>>>> Hope this helps,
>> >>>>> Marius
>> >>>>>
>> >>>>>
>> >>>>>> the link Main.Intranet.Tickets takes me to this page:
>> >>>>>>
>> >>>>>> /Main.Intranet.Tickets
>> >>>>>> Main.Intranet.Tickets
>> >>>>>>
>> >>>>>> Notice
>> >>>>>> The requested page could not be found.
>> >>>>>> You can edit this page to create it.
>> >>>>>>
>> >>>>>> Keith Davis (214) 906-5183 - I.T. Director
>> >>>>>>
>> >>>>>> From: Keith Davis
>> >>>>>> Sent: Thursday, September 15, 2016 3:00 PM
>> >>>>>> To: 'XWiki Users'
>> >>>>>> Subject: Nested Pages - Search Links Not Working
>> >>>>>>
>> >>>>>> So we are now starting to change all of the our pages to Nested.
>> >>> When
>> >>>>>> linking to Nested pages in the page themselves, the links appear
>> >>> like
>> >>>>> this
>> >>>>>> in the WYSIWYG editor:
>> >>>>>>
>> >>>>>> [[Tickets>>Main.Intranet.Tickets]]
>> >>>>>>
>> >>>>>> but when saved are converted to this:
>> >>>>>>
>> >>>>>> <a href="/xwiki/bin/view/Main/Intranet/Tickets/">Tickets</a>
>> >>>>>>
>> >>>>>> However, Search results are broken. They appear like this:
>> >>>>>>
>> >>>>>>
>> >>>>>>
>> >>>>>> Those do not work as the link Main.Intranet.Tickets takes me to
>> this
>> >>>>> page:
>> >>>>>>
>> >>>>>>
>> >>>>>>
>> >>>>>> I’ve tried re-indexing, but that does not help.
>> >>>>>>
>> >>>>>> Keith Davis - MCSA, ZCE
>> >>>>>> P.R.I.D.E. - I.T. Director / Senior Developer
>> >>>>>> www.pridedallas.com
>> >>>>>> Mobile (214) 906-5183
>> _______________________________________________
>> users mailing list
>> [hidden email]
>> http://lists.xwiki.org/mailman/listinfo/users
>>
>
>
>
> --
> Keith Davis
> 214-906-5183
>



--
Keith Davis
214-906-5183
_______________________________________________
users mailing list
[hidden email]
http://lists.xwiki.org/mailman/listinfo/users
Reply | Threaded
Open this post in threaded view
|

Re: Nested Pages - Search Links Not Working

Eduard Moraru
Hi,

Is there any chance you have a custom search page? If so, it may be
possible that you did not addapt that page to show the results taking into
consideration Nested Spaces and that it uses the $doc.getSpace() method to
show the location of the results page (i.e. old style) and now that method
does not return the space name, but the space reference (as mentioned in
the 7.2 release notes).

Another possibility is that you have the standard Solr search page, just
that it may not have been updated (properly) during DW. Make sure to
compare it with the standard Search page for the version you are running.

Hope this helps,
Eduard

On Tue, Sep 20, 2016 at 2:46 PM, Keith Davis <[hidden email]>
wrote:

> Ah, we run this on a Windows Server 2008 machine and it appears that
> catilina.out logs are not created on Windows by default:
>
> http://stackoverflow.com/questions/8239475/where-is-
> the-catalina-out-on-windows
>
> On Tue, Sep 20, 2016 at 6:43 AM, Keith Davis <[hidden email]>
> wrote:
>
> > I don't have any log files named "catalina.out". I have catalina log
> files
> > (catalina.2016-09-13.log), but the last time that was updated was 9/13
> and
> > only contains this:
> >
> > 13-Sep-2016 00:46:06.080 INFO [http-nio-8443-exec-7]
> > org.apache.coyote.http11.AbstractHttp11Processor.process Error parsing
> > HTTP request header
> >  Note: further occurrences of HTTP header parsing errors will be logged
> at
> > DEBUG level.
> >
> > On Tue, Sep 20, 2016 at 6:32 AM, Vincent Massol <[hidden email]>
> > wrote:
> >
> >>
> >> > On 20 Sep 2016, at 13:22, Keith Davis <[hidden email]>
> >> wrote:
> >> >
> >> > I am not sure what logs I should look at for this type of issue? The
> >> only
> >> > logs I'm familiar with for this application are the Tomcat /logs
> files.
> >>
> >> Yes those are the ones (the xwiki logs are found in the catalina.out
> >> logs).
> >>
> >> Thanks
> >> -Vincent
> >>
> >> > On Tue, Sep 20, 2016 at 6:17 AM, Keith Davis <
> >> [hidden email]>
> >> > wrote:
> >> >
> >> >> Already tried the re-index and yes, we deleted the Solr directory
> after
> >> >> post 7.2 upgrade. I'll check the logs.
> >> >>
> >> >> On Tue, Sep 20, 2016 at 2:40 AM, Marius Dumitru Florea <
> >> >> [hidden email]> wrote:
> >> >>
> >> >>> On Mon, Sep 19, 2016 at 6:18 PM, Keith Davis <
> >> [hidden email]>
> >> >>> wrote:
> >> >>>
> >> >>>>>
> >> >>>>> This means you have a space named "Main.Intranet.Tickets". That's
> >> the
> >> >>>>> actual space name. It contains dots. It's not the space "Tickets"
> >> >>> inside
> >> >>>>> "Intranet" inside "Main". The actual link to the home page of this
> >> >>> space
> >> >>>>> looks like this:
> >> >>>>>
> >> >>>>> [[Tickets>>Main\.Intranet\.Tickets.WebHome]]
> >> >>>>>
> >> >>>>> Notice how the dots inside the space name must be escaped. I don't
> >> >>> know
> >> >>>> how
> >> >>>>> you created this page but it's not a nested page/space as you
> >> thought.
> >> >>>> It's
> >> >>>>> actually a top level page/space.
> >> >>>>>
> >> >>>>
> >> >>>> We get really confused on the topic of spaces. I thought we had
> >> created
> >> >>>> these correctly. We've read through the documentation many times,
> >> but I
> >> >>>> guess we just don't understand the concept well enough.
> >> >>>>
> >> >>>> I just tried the link as you suggested and that does space / page
> not
> >> >>> exist
> >> >>>> (the link shows the question mark next to it). The only place we
> see
> >> >>>> "Main.Intranet.Tickets" show up is in the Search results and that
> >> link
> >> >>> does
> >> >>>> not work.
> >> >>>>
> >> >>>
> >> >>> Maybe you need to re-index your wiki. Note that if you upgraded from
> >> pre
> >> >>> 7.2 to post 7.2 version you definitely need to delete the Solr
> folder
> >> from
> >> >>> the permanent directory (as indicated in the released notes). Don't
> >> you
> >> >>> have Solr related error in the logs?
> >> >>>
> >> >>>
> >> >>>>
> >> >>>> On Mon, Sep 19, 2016 at 9:41 AM, Marius Dumitru Florea <
> >> >>>> [hidden email]> wrote:
> >> >>>>
> >> >>>>> On Mon, Sep 19, 2016 at 3:50 PM, Keith Davis <
> >> >>> [hidden email]
> >> >>>>>
> >> >>>>> wrote:
> >> >>>>>
> >> >>>>>> Correct and here is the content of those images (forgot this
> >> mailing
> >> >>>> list
> >> >>>>>> does not distribute images):
> >> >>>>>>
> >> >>>>>> the links appear like this in the Wiki editor:
> >> >>>>>>
> >> >>>>>> [[Tickets>>Main.Intranet.Tickets]]
> >> >>>>>>
> >> >>>>>> Search results appear like this:
> >> >>>>>>
> >> >>>>>>
> >> >>>>>
> >> >>>>>> Main.Intranet.Tickets
> >> >>>>>> Located in Home » Main.Intranet.Tickets » WebHome
> >> >>>>>> Last modified by Unknown User on 2016/09/19 07:48
> >> >>>>>>
> >> >>>>>
> >> >>>>> This means you have a space named "Main.Intranet.Tickets". That's
> >> the
> >> >>>>> actual space name. It contains dots. It's not the space "Tickets"
> >> >>> inside
> >> >>>>> "Intranet" inside "Main". The actual link to the home page of this
> >> >>> space
> >> >>>>> looks like this:
> >> >>>>>
> >> >>>>> [[Tickets>>Main\.Intranet\.Tickets.WebHome]]
> >> >>>>>
> >> >>>>> Notice how the dots inside the space name must be escaped. I don't
> >> >>> know
> >> >>>> how
> >> >>>>> you created this page but it's not a nested page/space as you
> >> thought.
> >> >>>> It's
> >> >>>>> actually a top level page/space.
> >> >>>>>
> >> >>>>> Hope this helps,
> >> >>>>> Marius
> >> >>>>>
> >> >>>>>
> >> >>>>>> the link Main.Intranet.Tickets takes me to this page:
> >> >>>>>>
> >> >>>>>> /Main.Intranet.Tickets
> >> >>>>>> Main.Intranet.Tickets
> >> >>>>>>
> >> >>>>>> Notice
> >> >>>>>> The requested page could not be found.
> >> >>>>>> You can edit this page to create it.
> >> >>>>>>
> >> >>>>>> Keith Davis (214) 906-5183 - I.T. Director
> >> >>>>>>
> >> >>>>>> From: Keith Davis
> >> >>>>>> Sent: Thursday, September 15, 2016 3:00 PM
> >> >>>>>> To: 'XWiki Users'
> >> >>>>>> Subject: Nested Pages - Search Links Not Working
> >> >>>>>>
> >> >>>>>> So we are now starting to change all of the our pages to Nested.
> >> >>> When
> >> >>>>>> linking to Nested pages in the page themselves, the links appear
> >> >>> like
> >> >>>>> this
> >> >>>>>> in the WYSIWYG editor:
> >> >>>>>>
> >> >>>>>> [[Tickets>>Main.Intranet.Tickets]]
> >> >>>>>>
> >> >>>>>> but when saved are converted to this:
> >> >>>>>>
> >> >>>>>> <a href="/xwiki/bin/view/Main/Intranet/Tickets/">Tickets</a>
> >> >>>>>>
> >> >>>>>> However, Search results are broken. They appear like this:
> >> >>>>>>
> >> >>>>>>
> >> >>>>>>
> >> >>>>>> Those do not work as the link Main.Intranet.Tickets takes me to
> >> this
> >> >>>>> page:
> >> >>>>>>
> >> >>>>>>
> >> >>>>>>
> >> >>>>>> I’ve tried re-indexing, but that does not help.
> >> >>>>>>
> >> >>>>>> Keith Davis - MCSA, ZCE
> >> >>>>>> P.R.I.D.E. - I.T. Director / Senior Developer
> >> >>>>>> www.pridedallas.com
> >> >>>>>> Mobile (214) 906-5183
> >> _______________________________________________
> >> users mailing list
> >> [hidden email]
> >> http://lists.xwiki.org/mailman/listinfo/users
> >>
> >
> >
> >
> > --
> > Keith Davis
> > 214-906-5183
> >
>
>
>
> --
> Keith Davis
> 214-906-5183
> _______________________________________________
> users mailing list
> [hidden email]
> http://lists.xwiki.org/mailman/listinfo/users
>
_______________________________________________
users mailing list
[hidden email]
http://lists.xwiki.org/mailman/listinfo/users
Reply | Threaded
Open this post in threaded view
|

Re: Nested Pages - Search Links Not Working

Keith Davis
>
> Is there any chance you have a custom search page?


Not to my knowledge, but we have had problems with it in the past and so
anything is possible. How do I determine that?

Make sure to compare it with the standard Search page for the version you
> are running.


How do I do that? I don't even know if I understand how to access or edit
the actual search page.

I can get to this page:

/xwiki/bin/view/XWiki/SearchCode

History reveals this:

1.1
<https://wiki.pridedallas.com:8443/xwiki/bin/viewrev/XWiki/SearchCode?rev=1.1>
Keith
Davis <https://wiki.pridedallas.com:8443/xwiki/bin/view/XWiki/keithdavis>
2015/10/12
14:05 Install extension
[org.xwiki.platform:xwiki-platform-search-ui-7.2] Current
version Delete
<https://wiki.pridedallas.com:8443/xwiki/bin/deleteversions/XWiki/SearchCode?form_token=rEdppwVjWM7rxpfn9TL69g&rev=1.1>

I would guess that that means you are correct, it has not been updated (not
sure why, I try to accept all changes).

On Wed, Sep 21, 2016 at 2:49 PM, Eduard Moraru <[hidden email]> wrote:

> Hi,
>
> Is there any chance you have a custom search page? If so, it may be
> possible that you did not addapt that page to show the results taking into
> consideration Nested Spaces and that it uses the $doc.getSpace() method to
> show the location of the results page (i.e. old style) and now that method
> does not return the space name, but the space reference (as mentioned in
> the 7.2 release notes).
>
> Another possibility is that you have the standard Solr search page, just
> that it may not have been updated (properly) during DW. Make sure to
> compare it with the standard Search page for the version you are running.
>
> Hope this helps,
> Eduard
>
> On Tue, Sep 20, 2016 at 2:46 PM, Keith Davis <[hidden email]>
> wrote:
>
> > Ah, we run this on a Windows Server 2008 machine and it appears that
> > catilina.out logs are not created on Windows by default:
> >
> > http://stackoverflow.com/questions/8239475/where-is-
> > the-catalina-out-on-windows
> >
> > On Tue, Sep 20, 2016 at 6:43 AM, Keith Davis <[hidden email]
> >
> > wrote:
> >
> > > I don't have any log files named "catalina.out". I have catalina log
> > files
> > > (catalina.2016-09-13.log), but the last time that was updated was 9/13
> > and
> > > only contains this:
> > >
> > > 13-Sep-2016 00:46:06.080 INFO [http-nio-8443-exec-7]
> > > org.apache.coyote.http11.AbstractHttp11Processor.process Error parsing
> > > HTTP request header
> > >  Note: further occurrences of HTTP header parsing errors will be logged
> > at
> > > DEBUG level.
> > >
> > > On Tue, Sep 20, 2016 at 6:32 AM, Vincent Massol <[hidden email]>
> > > wrote:
> > >
> > >>
> > >> > On 20 Sep 2016, at 13:22, Keith Davis <[hidden email]>
> > >> wrote:
> > >> >
> > >> > I am not sure what logs I should look at for this type of issue? The
> > >> only
> > >> > logs I'm familiar with for this application are the Tomcat /logs
> > files.
> > >>
> > >> Yes those are the ones (the xwiki logs are found in the catalina.out
> > >> logs).
> > >>
> > >> Thanks
> > >> -Vincent
> > >>
> > >> > On Tue, Sep 20, 2016 at 6:17 AM, Keith Davis <
> > >> [hidden email]>
> > >> > wrote:
> > >> >
> > >> >> Already tried the re-index and yes, we deleted the Solr directory
> > after
> > >> >> post 7.2 upgrade. I'll check the logs.
> > >> >>
> > >> >> On Tue, Sep 20, 2016 at 2:40 AM, Marius Dumitru Florea <
> > >> >> [hidden email]> wrote:
> > >> >>
> > >> >>> On Mon, Sep 19, 2016 at 6:18 PM, Keith Davis <
> > >> [hidden email]>
> > >> >>> wrote:
> > >> >>>
> > >> >>>>>
> > >> >>>>> This means you have a space named "Main.Intranet.Tickets".
> That's
> > >> the
> > >> >>>>> actual space name. It contains dots. It's not the space
> "Tickets"
> > >> >>> inside
> > >> >>>>> "Intranet" inside "Main". The actual link to the home page of
> this
> > >> >>> space
> > >> >>>>> looks like this:
> > >> >>>>>
> > >> >>>>> [[Tickets>>Main\.Intranet\.Tickets.WebHome]]
> > >> >>>>>
> > >> >>>>> Notice how the dots inside the space name must be escaped. I
> don't
> > >> >>> know
> > >> >>>> how
> > >> >>>>> you created this page but it's not a nested page/space as you
> > >> thought.
> > >> >>>> It's
> > >> >>>>> actually a top level page/space.
> > >> >>>>>
> > >> >>>>
> > >> >>>> We get really confused on the topic of spaces. I thought we had
> > >> created
> > >> >>>> these correctly. We've read through the documentation many times,
> > >> but I
> > >> >>>> guess we just don't understand the concept well enough.
> > >> >>>>
> > >> >>>> I just tried the link as you suggested and that does space / page
> > not
> > >> >>> exist
> > >> >>>> (the link shows the question mark next to it). The only place we
> > see
> > >> >>>> "Main.Intranet.Tickets" show up is in the Search results and that
> > >> link
> > >> >>> does
> > >> >>>> not work.
> > >> >>>>
> > >> >>>
> > >> >>> Maybe you need to re-index your wiki. Note that if you upgraded
> from
> > >> pre
> > >> >>> 7.2 to post 7.2 version you definitely need to delete the Solr
> > folder
> > >> from
> > >> >>> the permanent directory (as indicated in the released notes).
> Don't
> > >> you
> > >> >>> have Solr related error in the logs?
> > >> >>>
> > >> >>>
> > >> >>>>
> > >> >>>> On Mon, Sep 19, 2016 at 9:41 AM, Marius Dumitru Florea <
> > >> >>>> [hidden email]> wrote:
> > >> >>>>
> > >> >>>>> On Mon, Sep 19, 2016 at 3:50 PM, Keith Davis <
> > >> >>> [hidden email]
> > >> >>>>>
> > >> >>>>> wrote:
> > >> >>>>>
> > >> >>>>>> Correct and here is the content of those images (forgot this
> > >> mailing
> > >> >>>> list
> > >> >>>>>> does not distribute images):
> > >> >>>>>>
> > >> >>>>>> the links appear like this in the Wiki editor:
> > >> >>>>>>
> > >> >>>>>> [[Tickets>>Main.Intranet.Tickets]]
> > >> >>>>>>
> > >> >>>>>> Search results appear like this:
> > >> >>>>>>
> > >> >>>>>>
> > >> >>>>>
> > >> >>>>>> Main.Intranet.Tickets
> > >> >>>>>> Located in Home » Main.Intranet.Tickets » WebHome
> > >> >>>>>> Last modified by Unknown User on 2016/09/19 07:48
> > >> >>>>>>
> > >> >>>>>
> > >> >>>>> This means you have a space named "Main.Intranet.Tickets".
> That's
> > >> the
> > >> >>>>> actual space name. It contains dots. It's not the space
> "Tickets"
> > >> >>> inside
> > >> >>>>> "Intranet" inside "Main". The actual link to the home page of
> this
> > >> >>> space
> > >> >>>>> looks like this:
> > >> >>>>>
> > >> >>>>> [[Tickets>>Main\.Intranet\.Tickets.WebHome]]
> > >> >>>>>
> > >> >>>>> Notice how the dots inside the space name must be escaped. I
> don't
> > >> >>> know
> > >> >>>> how
> > >> >>>>> you created this page but it's not a nested page/space as you
> > >> thought.
> > >> >>>> It's
> > >> >>>>> actually a top level page/space.
> > >> >>>>>
> > >> >>>>> Hope this helps,
> > >> >>>>> Marius
> > >> >>>>>
> > >> >>>>>
> > >> >>>>>> the link Main.Intranet.Tickets takes me to this page:
> > >> >>>>>>
> > >> >>>>>> /Main.Intranet.Tickets
> > >> >>>>>> Main.Intranet.Tickets
> > >> >>>>>>
> > >> >>>>>> Notice
> > >> >>>>>> The requested page could not be found.
> > >> >>>>>> You can edit this page to create it.
> > >> >>>>>>
> > >> >>>>>> Keith Davis (214) 906-5183 - I.T. Director
> > >> >>>>>>
> > >> >>>>>> From: Keith Davis
> > >> >>>>>> Sent: Thursday, September 15, 2016 3:00 PM
> > >> >>>>>> To: 'XWiki Users'
> > >> >>>>>> Subject: Nested Pages - Search Links Not Working
> > >> >>>>>>
> > >> >>>>>> So we are now starting to change all of the our pages to
> Nested.
> > >> >>> When
> > >> >>>>>> linking to Nested pages in the page themselves, the links
> appear
> > >> >>> like
> > >> >>>>> this
> > >> >>>>>> in the WYSIWYG editor:
> > >> >>>>>>
> > >> >>>>>> [[Tickets>>Main.Intranet.Tickets]]
> > >> >>>>>>
> > >> >>>>>> but when saved are converted to this:
> > >> >>>>>>
> > >> >>>>>> <a href="/xwiki/bin/view/Main/Intranet/Tickets/">Tickets</a>
> > >> >>>>>>
> > >> >>>>>> However, Search results are broken. They appear like this:
> > >> >>>>>>
> > >> >>>>>>
> > >> >>>>>>
> > >> >>>>>> Those do not work as the link Main.Intranet.Tickets takes me to
> > >> this
> > >> >>>>> page:
> > >> >>>>>>
> > >> >>>>>>
> > >> >>>>>>
> > >> >>>>>> I’ve tried re-indexing, but that does not help.
> > >> >>>>>>
> > >> >>>>>> Keith Davis - MCSA, ZCE
> > >> >>>>>> P.R.I.D.E. - I.T. Director / Senior Developer
> > >> >>>>>> www.pridedallas.com
> > >> >>>>>> Mobile (214) 906-5183
> > >> _______________________________________________
> > >> users mailing list
> > >> [hidden email]
> > >> http://lists.xwiki.org/mailman/listinfo/users
> > >>
> > >
> > >
> > >
> > > --
> > > Keith Davis
> > > 214-906-5183
> > >
> >
> >
> >
> > --
> > Keith Davis
> > 214-906-5183
> > _______________________________________________
> > users mailing list
> > [hidden email]
> > http://lists.xwiki.org/mailman/listinfo/users
> >
> _______________________________________________
> users mailing list
> [hidden email]
> http://lists.xwiki.org/mailman/listinfo/users
>



--
Keith Davis
214-906-5183
_______________________________________________
users mailing list
[hidden email]
http://lists.xwiki.org/mailman/listinfo/users
Reply | Threaded
Open this post in threaded view
|

Re: Nested Pages - Search Links Not Working

Eduard Moraru
In reply to this post by Keith Davis
On Mon, Sep 19, 2016 at 6:18 PM, Keith Davis <[hidden email]>
wrote:

> >
> > This means you have a space named "Main.Intranet.Tickets". That's the
> > actual space name. It contains dots. It's not the space "Tickets" inside
> > "Intranet" inside "Main". The actual link to the home page of this space
> > looks like this:
> >
> > [[Tickets>>Main\.Intranet\.Tickets.WebHome]]
> >
> > Notice how the dots inside the space name must be escaped. I don't know
> how
> > you created this page but it's not a nested page/space as you thought.
> It's
> > actually a top level page/space.
> >
>
> We get really confused on the topic of spaces. I thought we had created
> these correctly. We've read through the documentation many times, but I
> guess we just don't understand the concept well enough.
>
> I just tried the link as you suggested and that does space / page not exist
> (the link shows the question mark next to it). The only place we see
> "Main.Intranet.Tickets" show up is in the Search results and that link does
> not work.
>

Then you have probably created the Tickets page as a "terminal" page. This
means that the link from Marius should be:

[[Tickets>>Main\.Intranet\.Tickets]]

(i.e. without the ".WebHome" part since it`s not a space)

Thanks,
Eduard


>
> On Mon, Sep 19, 2016 at 9:41 AM, Marius Dumitru Florea <
> [hidden email]> wrote:
>
> > On Mon, Sep 19, 2016 at 3:50 PM, Keith Davis <[hidden email]
> >
> > wrote:
> >
> > > Correct and here is the content of those images (forgot this mailing
> list
> > > does not distribute images):
> > >
> > > the links appear like this in the Wiki editor:
> > >
> > > [[Tickets>>Main.Intranet.Tickets]]
> > >
> > > Search results appear like this:
> > >
> > >
> >
> > > Main.Intranet.Tickets
> > > Located in Home » Main.Intranet.Tickets » WebHome
> > > Last modified by Unknown User on 2016/09/19 07:48
> > >
> >
> > This means you have a space named "Main.Intranet.Tickets". That's the
> > actual space name. It contains dots. It's not the space "Tickets" inside
> > "Intranet" inside "Main". The actual link to the home page of this space
> > looks like this:
> >
> > [[Tickets>>Main\.Intranet\.Tickets.WebHome]]
> >
> > Notice how the dots inside the space name must be escaped. I don't know
> how
> > you created this page but it's not a nested page/space as you thought.
> It's
> > actually a top level page/space.
> >
> > Hope this helps,
> > Marius
> >
> >
> > > the link Main.Intranet.Tickets takes me to this page:
> > >
> > > /Main.Intranet.Tickets
> > > Main.Intranet.Tickets
> > >
> > > Notice
> > > The requested page could not be found.
> > > You can edit this page to create it.
> > >
> > > Keith Davis (214) 906-5183 - I.T. Director
> > >
> > > From: Keith Davis
> > > Sent: Thursday, September 15, 2016 3:00 PM
> > > To: 'XWiki Users'
> > > Subject: Nested Pages - Search Links Not Working
> > >
> > > So we are now starting to change all of the our pages to Nested. When
> > > linking to Nested pages in the page themselves, the links appear like
> > this
> > > in the WYSIWYG editor:
> > >
> > > [[Tickets>>Main.Intranet.Tickets]]
> > >
> > > but when saved are converted to this:
> > >
> > > <a href="/xwiki/bin/view/Main/Intranet/Tickets/">Tickets</a>
> > >
> > > However, Search results are broken. They appear like this:
> > >
> > >
> > >
> > > Those do not work as the link Main.Intranet.Tickets takes me to this
> > page:
> > >
> > >
> > >
> > > I’ve tried re-indexing, but that does not help.
> > >
> > > Keith Davis - MCSA, ZCE
> > > P.R.I.D.E. - I.T. Director / Senior Developer
> > > www.pridedallas.com
> > > Mobile (214) 906-5183
> > >
> > > _______________________________________________
> > > users mailing list
> > > [hidden email]
> > > http://lists.xwiki.org/mailman/listinfo/users
> > >
> > _______________________________________________
> > users mailing list
> > [hidden email]
> > http://lists.xwiki.org/mailman/listinfo/users
> >
>
>
>
> --
> Keith Davis
> 214-906-5183
> _______________________________________________
> users mailing list
> [hidden email]
> http://lists.xwiki.org/mailman/listinfo/users
>
_______________________________________________
users mailing list
[hidden email]
http://lists.xwiki.org/mailman/listinfo/users
Reply | Threaded
Open this post in threaded view
|

Re: Nested Pages - Search Links Not Working

Keith Davis
No, that does not work either. (Tickets has a question mark by it). I'm the
links work fine like this:

[[Tickets>>Main.Intranet.Tickets]]

The problem seems to only be in Search.

On Wed, Sep 21, 2016 at 3:18 PM, Eduard Moraru <[hidden email]> wrote:

> On Mon, Sep 19, 2016 at 6:18 PM, Keith Davis <[hidden email]>
> wrote:
>
> > >
> > > This means you have a space named "Main.Intranet.Tickets". That's the
> > > actual space name. It contains dots. It's not the space "Tickets"
> inside
> > > "Intranet" inside "Main". The actual link to the home page of this
> space
> > > looks like this:
> > >
> > > [[Tickets>>Main\.Intranet\.Tickets.WebHome]]
> > >
> > > Notice how the dots inside the space name must be escaped. I don't know
> > how
> > > you created this page but it's not a nested page/space as you thought.
> > It's
> > > actually a top level page/space.
> > >
> >
> > We get really confused on the topic of spaces. I thought we had created
> > these correctly. We've read through the documentation many times, but I
> > guess we just don't understand the concept well enough.
> >
> > I just tried the link as you suggested and that does space / page not
> exist
> > (the link shows the question mark next to it). The only place we see
> > "Main.Intranet.Tickets" show up is in the Search results and that link
> does
> > not work.
> >
>
> Then you have probably created the Tickets page as a "terminal" page. This
> means that the link from Marius should be:
>
> [[Tickets>>Main\.Intranet\.Tickets]]
>
> (i.e. without the ".WebHome" part since it`s not a space)
>
> Thanks,
> Eduard
>
>
> >
> > On Mon, Sep 19, 2016 at 9:41 AM, Marius Dumitru Florea <
> > [hidden email]> wrote:
> >
> > > On Mon, Sep 19, 2016 at 3:50 PM, Keith Davis <
> [hidden email]
> > >
> > > wrote:
> > >
> > > > Correct and here is the content of those images (forgot this mailing
> > list
> > > > does not distribute images):
> > > >
> > > > the links appear like this in the Wiki editor:
> > > >
> > > > [[Tickets>>Main.Intranet.Tickets]]
> > > >
> > > > Search results appear like this:
> > > >
> > > >
> > >
> > > > Main.Intranet.Tickets
> > > > Located in Home » Main.Intranet.Tickets » WebHome
> > > > Last modified by Unknown User on 2016/09/19 07:48
> > > >
> > >
> > > This means you have a space named "Main.Intranet.Tickets". That's the
> > > actual space name. It contains dots. It's not the space "Tickets"
> inside
> > > "Intranet" inside "Main". The actual link to the home page of this
> space
> > > looks like this:
> > >
> > > [[Tickets>>Main\.Intranet\.Tickets.WebHome]]
> > >
> > > Notice how the dots inside the space name must be escaped. I don't know
> > how
> > > you created this page but it's not a nested page/space as you thought.
> > It's
> > > actually a top level page/space.
> > >
> > > Hope this helps,
> > > Marius
> > >
> > >
> > > > the link Main.Intranet.Tickets takes me to this page:
> > > >
> > > > /Main.Intranet.Tickets
> > > > Main.Intranet.Tickets
> > > >
> > > > Notice
> > > > The requested page could not be found.
> > > > You can edit this page to create it.
> > > >
> > > > Keith Davis (214) 906-5183 - I.T. Director
> > > >
> > > > From: Keith Davis
> > > > Sent: Thursday, September 15, 2016 3:00 PM
> > > > To: 'XWiki Users'
> > > > Subject: Nested Pages - Search Links Not Working
> > > >
> > > > So we are now starting to change all of the our pages to Nested. When
> > > > linking to Nested pages in the page themselves, the links appear like
> > > this
> > > > in the WYSIWYG editor:
> > > >
> > > > [[Tickets>>Main.Intranet.Tickets]]
> > > >
> > > > but when saved are converted to this:
> > > >
> > > > <a href="/xwiki/bin/view/Main/Intranet/Tickets/">Tickets</a>
> > > >
> > > > However, Search results are broken. They appear like this:
> > > >
> > > >
> > > >
> > > > Those do not work as the link Main.Intranet.Tickets takes me to this
> > > page:
> > > >
> > > >
> > > >
> > > > I’ve tried re-indexing, but that does not help.
> > > >
> > > > Keith Davis - MCSA, ZCE
> > > > P.R.I.D.E. - I.T. Director / Senior Developer
> > > > www.pridedallas.com
> > > > Mobile (214) 906-5183
> > > >
> > > > _______________________________________________
> > > > users mailing list
> > > > [hidden email]
> > > > http://lists.xwiki.org/mailman/listinfo/users
> > > >
> > > _______________________________________________
> > > users mailing list
> > > [hidden email]
> > > http://lists.xwiki.org/mailman/listinfo/users
> > >
> >
> >
> >
> > --
> > Keith Davis
> > 214-906-5183
> > _______________________________________________
> > users mailing list
> > [hidden email]
> > http://lists.xwiki.org/mailman/listinfo/users
> >
> _______________________________________________
> users mailing list
> [hidden email]
> http://lists.xwiki.org/mailman/listinfo/users
>



--
Keith Davis
214-906-5183
_______________________________________________
users mailing list
[hidden email]
http://lists.xwiki.org/mailman/listinfo/users
Reply | Threaded
Open this post in threaded view
|

Re: Nested Pages - Search Links Not Working

Eduard Moraru
Hi,

On Wed, Sep 21, 2016 at 11:23 PM, Keith Davis <[hidden email]>
wrote:

> No, that does not work either. (Tickets has a question mark by it). I'm the
> links work fine like this:
>
> [[Tickets>>Main.Intranet.Tickets]]
>

Yes, please ignore that. It was a bad idea on my part.

So if your page is properly created, then it`s only a display issue on the
Search page.


> The problem seems to only be in Search.
>

Then indeed, my money is on the fact that you have a badly/incompletely
migrated Solr Search page.

What you could do is to grab from
http://maven.xwiki.org/releases/org/xwiki/platform/xwiki-platform-search-solr-ui/
the XAR file corresponding to the XWiki version you`re currently running
(btw, what is the version?) and import it so that you can determine if that
is the cause of your problem.

Then you can go to either Main/Search or Main/SolrSearch (Main/Search
should be including Main/SolrSearch, that is, if you are using Solr search
and not something else) and search for your page. If it is now displayed
properly in the results, then you should look at each imported page (or
even rollback a previous backup) to figure out what happened, if there are
custom changes or if the pages were simply not updated during DW. If so,
you might want to look at the other apps to see if other places are
affected as well.

Another note on the search results, you need to get to the point where the
location of your search result is displayed identically to the breadcrumbs
(since the same code is reused). In your screenshot, I can see that the
location of the search result does not seem to be displayed similarly to
the breadcrumbs, so it`s clearly running some old code to display that.

Of course, if it`s an option, re-running the migration would be one very
good solution too (to make sure you don`t miss anything the second time).
BTW, what version are you migrating from? (it`s generally useful to mention
this information when asking for help)

Hope this helps,
Eduard


>
> On Wed, Sep 21, 2016 at 3:18 PM, Eduard Moraru <[hidden email]>
> wrote:
>
> > On Mon, Sep 19, 2016 at 6:18 PM, Keith Davis <[hidden email]
> >
> > wrote:
> >
> > > >
> > > > This means you have a space named "Main.Intranet.Tickets". That's the
> > > > actual space name. It contains dots. It's not the space "Tickets"
> > inside
> > > > "Intranet" inside "Main". The actual link to the home page of this
> > space
> > > > looks like this:
> > > >
> > > > [[Tickets>>Main\.Intranet\.Tickets.WebHome]]
> > > >
> > > > Notice how the dots inside the space name must be escaped. I don't
> know
> > > how
> > > > you created this page but it's not a nested page/space as you
> thought.
> > > It's
> > > > actually a top level page/space.
> > > >
> > >
> > > We get really confused on the topic of spaces. I thought we had created
> > > these correctly. We've read through the documentation many times, but I
> > > guess we just don't understand the concept well enough.
> > >
> > > I just tried the link as you suggested and that does space / page not
> > exist
> > > (the link shows the question mark next to it). The only place we see
> > > "Main.Intranet.Tickets" show up is in the Search results and that link
> > does
> > > not work.
> > >
> >
> > Then you have probably created the Tickets page as a "terminal" page.
> This
> > means that the link from Marius should be:
> >
> > [[Tickets>>Main\.Intranet\.Tickets]]
> >
> > (i.e. without the ".WebHome" part since it`s not a space)
> >
> > Thanks,
> > Eduard
> >
> >
> > >
> > > On Mon, Sep 19, 2016 at 9:41 AM, Marius Dumitru Florea <
> > > [hidden email]> wrote:
> > >
> > > > On Mon, Sep 19, 2016 at 3:50 PM, Keith Davis <
> > [hidden email]
> > > >
> > > > wrote:
> > > >
> > > > > Correct and here is the content of those images (forgot this
> mailing
> > > list
> > > > > does not distribute images):
> > > > >
> > > > > the links appear like this in the Wiki editor:
> > > > >
> > > > > [[Tickets>>Main.Intranet.Tickets]]
> > > > >
> > > > > Search results appear like this:
> > > > >
> > > > >
> > > >
> > > > > Main.Intranet.Tickets
> > > > > Located in Home » Main.Intranet.Tickets » WebHome
> > > > > Last modified by Unknown User on 2016/09/19 07:48
> > > > >
> > > >
> > > > This means you have a space named "Main.Intranet.Tickets". That's the
> > > > actual space name. It contains dots. It's not the space "Tickets"
> > inside
> > > > "Intranet" inside "Main". The actual link to the home page of this
> > space
> > > > looks like this:
> > > >
> > > > [[Tickets>>Main\.Intranet\.Tickets.WebHome]]
> > > >
> > > > Notice how the dots inside the space name must be escaped. I don't
> know
> > > how
> > > > you created this page but it's not a nested page/space as you
> thought.
> > > It's
> > > > actually a top level page/space.
> > > >
> > > > Hope this helps,
> > > > Marius
> > > >
> > > >
> > > > > the link Main.Intranet.Tickets takes me to this page:
> > > > >
> > > > > /Main.Intranet.Tickets
> > > > > Main.Intranet.Tickets
> > > > >
> > > > > Notice
> > > > > The requested page could not be found.
> > > > > You can edit this page to create it.
> > > > >
> > > > > Keith Davis (214) 906-5183 - I.T. Director
> > > > >
> > > > > From: Keith Davis
> > > > > Sent: Thursday, September 15, 2016 3:00 PM
> > > > > To: 'XWiki Users'
> > > > > Subject: Nested Pages - Search Links Not Working
> > > > >
> > > > > So we are now starting to change all of the our pages to Nested.
> When
> > > > > linking to Nested pages in the page themselves, the links appear
> like
> > > > this
> > > > > in the WYSIWYG editor:
> > > > >
> > > > > [[Tickets>>Main.Intranet.Tickets]]
> > > > >
> > > > > but when saved are converted to this:
> > > > >
> > > > > <a href="/xwiki/bin/view/Main/Intranet/Tickets/">Tickets</a>
> > > > >
> > > > > However, Search results are broken. They appear like this:
> > > > >
> > > > >
> > > > >
> > > > > Those do not work as the link Main.Intranet.Tickets takes me to
> this
> > > > page:
> > > > >
> > > > >
> > > > >
> > > > > I’ve tried re-indexing, but that does not help.
> > > > >
> > > > > Keith Davis - MCSA, ZCE
> > > > > P.R.I.D.E. - I.T. Director / Senior Developer
> > > > > www.pridedallas.com
> > > > > Mobile (214) 906-5183
> > > > >
> > > > > _______________________________________________
> > > > > users mailing list
> > > > > [hidden email]
> > > > > http://lists.xwiki.org/mailman/listinfo/users
> > > > >
> > > > _______________________________________________
> > > > users mailing list
> > > > [hidden email]
> > > > http://lists.xwiki.org/mailman/listinfo/users
> > > >
> > >
> > >
> > >
> > > --
> > > Keith Davis
> > > 214-906-5183
> > > _______________________________________________
> > > users mailing list
> > > [hidden email]
> > > http://lists.xwiki.org/mailman/listinfo/users
> > >
> > _______________________________________________
> > users mailing list
> > [hidden email]
> > http://lists.xwiki.org/mailman/listinfo/users
> >
>
>
>
> --
> Keith Davis
> 214-906-5183
> _______________________________________________
> users mailing list
> [hidden email]
> http://lists.xwiki.org/mailman/listinfo/users
>
_______________________________________________
users mailing list
[hidden email]
http://lists.xwiki.org/mailman/listinfo/users
Reply | Threaded
Open this post in threaded view
|

Re: Nested Pages - Search Links Not Working

Keith Davis
>
> What you could do is to grab from
> http://maven.xwiki.org/releases/org/xwiki/platform/xwiki-
> platform-search-solr-ui/
> the XAR file corresponding to the XWiki version you`re currently running
> (btw, what is the version?) and import it so that you can determine if that
> is the cause of your problem.


I downloaded the 8.2.1. XAR file (xwiki-platform-search-solr-ui-8.2.1.xar)
and imported it. Yep, that fixed the problem. :) We do almost zero
customization (and none on Search). I'm not sure how that would have gotten
broken.

Another note on the search results, you need to get to the point where the
> location of your search result is displayed identically to the breadcrumbs
> (since the same code is reused). In your screenshot, I can see that the
> location of the search result does not seem to be displayed similarly to
> the breadcrumbs, so it`s clearly running some old code to display that.


I'm not sure what that means. I know what the breadcrumbs are, but I don't
know how they are supposed to correlate or how you can tell they are wrong
by the search result.

Of course, if it`s an option, re-running the migration would be one very
> good solution too (to make sure you don`t miss anything the second time).
> BTW, what version are you migrating from? (it`s generally useful to mention
> this information when asking for help)


How do I do run the migration again? I've wanted to do that in the past,
but I don't know how. XWiki version is 8.2.1 and I migrated from 8.1.

Thanks for all of your help!

On Thu, Sep 22, 2016 at 4:04 AM, Eduard Moraru <[hidden email]> wrote:

> Hi,
>
> On Wed, Sep 21, 2016 at 11:23 PM, Keith Davis <[hidden email]>
> wrote:
>
> > No, that does not work either. (Tickets has a question mark by it). I'm
> the
> > links work fine like this:
> >
> > [[Tickets>>Main.Intranet.Tickets]]
> >
>
> Yes, please ignore that. It was a bad idea on my part.
>
> So if your page is properly created, then it`s only a display issue on the
> Search page.
>
>
> > The problem seems to only be in Search.
> >
>
> Then indeed, my money is on the fact that you have a badly/incompletely
> migrated Solr Search page.
>
> What you could do is to grab from
> http://maven.xwiki.org/releases/org/xwiki/platform/
> xwiki-platform-search-solr-ui/
> the XAR file corresponding to the XWiki version you`re currently running
> (btw, what is the version?) and import it so that you can determine if that
> is the cause of your problem.
>
> Then you can go to either Main/Search or Main/SolrSearch (Main/Search
> should be including Main/SolrSearch, that is, if you are using Solr search
> and not something else) and search for your page. If it is now displayed
> properly in the results, then you should look at each imported page (or
> even rollback a previous backup) to figure out what happened, if there are
> custom changes or if the pages were simply not updated during DW. If so,
> you might want to look at the other apps to see if other places are
> affected as well.
>
> Another note on the search results, you need to get to the point where the
> location of your search result is displayed identically to the breadcrumbs
> (since the same code is reused). In your screenshot, I can see that the
> location of the search result does not seem to be displayed similarly to
> the breadcrumbs, so it`s clearly running some old code to display that.
>
> Of course, if it`s an option, re-running the migration would be one very
> good solution too (to make sure you don`t miss anything the second time).
> BTW, what version are you migrating from? (it`s generally useful to mention
> this information when asking for help)
>
> Hope this helps,
> Eduard
>
>
> >
> > On Wed, Sep 21, 2016 at 3:18 PM, Eduard Moraru <[hidden email]>
> > wrote:
> >
> > > On Mon, Sep 19, 2016 at 6:18 PM, Keith Davis <
> [hidden email]
> > >
> > > wrote:
> > >
> > > > >
> > > > > This means you have a space named "Main.Intranet.Tickets". That's
> the
> > > > > actual space name. It contains dots. It's not the space "Tickets"
> > > inside
> > > > > "Intranet" inside "Main". The actual link to the home page of this
> > > space
> > > > > looks like this:
> > > > >
> > > > > [[Tickets>>Main\.Intranet\.Tickets.WebHome]]
> > > > >
> > > > > Notice how the dots inside the space name must be escaped. I don't
> > know
> > > > how
> > > > > you created this page but it's not a nested page/space as you
> > thought.
> > > > It's
> > > > > actually a top level page/space.
> > > > >
> > > >
> > > > We get really confused on the topic of spaces. I thought we had
> created
> > > > these correctly. We've read through the documentation many times,
> but I
> > > > guess we just don't understand the concept well enough.
> > > >
> > > > I just tried the link as you suggested and that does space / page not
> > > exist
> > > > (the link shows the question mark next to it). The only place we see
> > > > "Main.Intranet.Tickets" show up is in the Search results and that
> link
> > > does
> > > > not work.
> > > >
> > >
> > > Then you have probably created the Tickets page as a "terminal" page.
> > This
> > > means that the link from Marius should be:
> > >
> > > [[Tickets>>Main\.Intranet\.Tickets]]
> > >
> > > (i.e. without the ".WebHome" part since it`s not a space)
> > >
> > > Thanks,
> > > Eduard
> > >
> > >
> > > >
> > > > On Mon, Sep 19, 2016 at 9:41 AM, Marius Dumitru Florea <
> > > > [hidden email]> wrote:
> > > >
> > > > > On Mon, Sep 19, 2016 at 3:50 PM, Keith Davis <
> > > [hidden email]
> > > > >
> > > > > wrote:
> > > > >
> > > > > > Correct and here is the content of those images (forgot this
> > mailing
> > > > list
> > > > > > does not distribute images):
> > > > > >
> > > > > > the links appear like this in the Wiki editor:
> > > > > >
> > > > > > [[Tickets>>Main.Intranet.Tickets]]
> > > > > >
> > > > > > Search results appear like this:
> > > > > >
> > > > > >
> > > > >
> > > > > > Main.Intranet.Tickets
> > > > > > Located in Home » Main.Intranet.Tickets » WebHome
> > > > > > Last modified by Unknown User on 2016/09/19 07:48
> > > > > >
> > > > >
> > > > > This means you have a space named "Main.Intranet.Tickets". That's
> the
> > > > > actual space name. It contains dots. It's not the space "Tickets"
> > > inside
> > > > > "Intranet" inside "Main". The actual link to the home page of this
> > > space
> > > > > looks like this:
> > > > >
> > > > > [[Tickets>>Main\.Intranet\.Tickets.WebHome]]
> > > > >
> > > > > Notice how the dots inside the space name must be escaped. I don't
> > know
> > > > how
> > > > > you created this page but it's not a nested page/space as you
> > thought.
> > > > It's
> > > > > actually a top level page/space.
> > > > >
> > > > > Hope this helps,
> > > > > Marius
> > > > >
> > > > >
> > > > > > the link Main.Intranet.Tickets takes me to this page:
> > > > > >
> > > > > > /Main.Intranet.Tickets
> > > > > > Main.Intranet.Tickets
> > > > > >
> > > > > > Notice
> > > > > > The requested page could not be found.
> > > > > > You can edit this page to create it.
> > > > > >
> > > > > > Keith Davis (214) 906-5183 - I.T. Director
> > > > > >
> > > > > > From: Keith Davis
> > > > > > Sent: Thursday, September 15, 2016 3:00 PM
> > > > > > To: 'XWiki Users'
> > > > > > Subject: Nested Pages - Search Links Not Working
> > > > > >
> > > > > > So we are now starting to change all of the our pages to Nested.
> > When
> > > > > > linking to Nested pages in the page themselves, the links appear
> > like
> > > > > this
> > > > > > in the WYSIWYG editor:
> > > > > >
> > > > > > [[Tickets>>Main.Intranet.Tickets]]
> > > > > >
> > > > > > but when saved are converted to this:
> > > > > >
> > > > > > <a href="/xwiki/bin/view/Main/Intranet/Tickets/">Tickets</a>
> > > > > >
> > > > > > However, Search results are broken. They appear like this:
> > > > > >
> > > > > >
> > > > > >
> > > > > > Those do not work as the link Main.Intranet.Tickets takes me to
> > this
> > > > > page:
> > > > > >
> > > > > >
> > > > > >
> > > > > > I’ve tried re-indexing, but that does not help.
> > > > > >
> > > > > > Keith Davis - MCSA, ZCE
> > > > > > P.R.I.D.E. - I.T. Director / Senior Developer
> > > > > > www.pridedallas.com
> > > > > > Mobile (214) 906-5183
> > > > > >
> > > > > > _______________________________________________
> > > > > > users mailing list
> > > > > > [hidden email]
> > > > > > http://lists.xwiki.org/mailman/listinfo/users
> > > > > >
> > > > > _______________________________________________
> > > > > users mailing list
> > > > > [hidden email]
> > > > > http://lists.xwiki.org/mailman/listinfo/users
> > > > >
> > > >
> > > >
> > > >
> > > > --
> > > > Keith Davis
> > > > 214-906-5183
> > > > _______________________________________________
> > > > users mailing list
> > > > [hidden email]
> > > > http://lists.xwiki.org/mailman/listinfo/users
> > > >
> > > _______________________________________________
> > > users mailing list
> > > [hidden email]
> > > http://lists.xwiki.org/mailman/listinfo/users
> > >
> >
> >
> >
> > --
> > Keith Davis
> > 214-906-5183
> > _______________________________________________
> > users mailing list
> > [hidden email]
> > http://lists.xwiki.org/mailman/listinfo/users
> >
> _______________________________________________
> users mailing list
> [hidden email]
> http://lists.xwiki.org/mailman/listinfo/users
>



--
Keith Davis
214-906-5183
_______________________________________________
users mailing list
[hidden email]
http://lists.xwiki.org/mailman/listinfo/users