# Bug XWI-129 - Creating a page with a final page as parent results in wrong parent

Project: Stream XWiki integration
Status: closed
URL: https://community.openproject.org/work_packages/XWI-129

## Open points

_No work packages_

## Details

| Attribute | Value |
| --- | --- |
| Date |  |
| Priority | Medium |
| Module | Integrations / XWiki |
| Target versions | 17.6.0 |
| Observed in versions |  |
| Sprint |  |
| Backlog bucket |  |
| Bug found in version (deprecated) |  |
| Requires doc change | No |
| Accessibility | No |
| Pull preview |  |
| List |  |
| Labels |  |

## People

| Attribute | Value |
| --- | --- |
| Assignee | Ihor Khomenko |
| Accountable |  |
| Product manager |  |
| Developers | Jan Sandbrink |
| Designer |  |
| Ordered by |  |
| Signed off by |  |
| Interest by |  |

## Planning

| Attribute | Value |
| --- | --- |
| Relevance |  |

## Costs

| Attribute | Value |
| --- | --- |
| Votes |  |
| Effort (shirt size) |  |
| Work |  |
| Labor costs |  |

## Description

### Steps to reproduce

1.  Have an XWiki provider configured and at least one final page in a wiki.
    
    1.  Hint: Every new XWiki instance has a &quot;Sandbox Test Page 1&quot; in the &quot;Sandbox&quot; space, which is final.
        
2.  Enter a work package and open the wiki tab
    
3.  click on &quot;+ Wiki page &gt; Create new page&quot;
    
4.  select any title
    
5.  search for the final page - e.g. &quot;Sandbox Test Page 1&quot; and select it as a parent
    
6.  Submit
    

### What is the buggy behavior?

*   The page is created under the parent of the final page
    

### What is the expected behavior?

1.  The creation should fail.
    
2.  Ideally, final pages must not be shown as selectable parents. (not implemented in scope of the wp)
