Uploaded image for project: 'XWiki Platform'
  1. XWiki Platform
  2. XWIKI-14388

Can't edit page after adding SolrSearch to it

    XMLWordPrintable

Details

    • Bug
    • Resolution: Duplicate
    • Major
    • None
    • 9.4
    • Search - Solr
    • None
    • Standalone version of XWiki Enterprise, served on Windows 7 running Java 1.8.0_60
    • N/A
    • N/A

    Description

      We want to add a large "front and center" SolrSearch search field to the start/home page of our wiki. We did this by inserting:

      {{include reference="Main.SolrSearch" /}}
      

      Using the WYSIWIG editor (in "source" mode). This results in a page that looks the way we want, but when we click "edit" on the page this was added it is reloaded instead of going into edit mode; it's impossible to edit the page after the script has been added.

      The layout of the page is:

      <Title>
      <SolrSearch included using the snippet above>
      <Some paragraphs of text>
      

      And it is however possible to edit the paragraphs beneath the SolrSearch by clicking the "edit section" button next to them. (Note; we also tried "Main.Search" as the reference, with the same issue as above).

      Attachments

        Issue Links

          Activity

            People

              vmassol Vincent Massol
              DaBoi Axel Kennedal
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: