# Bug XWI-177 - Error when expanding wiki page in a hierarchy

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

## Open points

_No work packages_

## Details

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

## People

| Attribute | Value |
| --- | --- |
| Assignee |  |
| Accountable |  |
| Product manager |  |
| Developers | Marcello Rocha Pereira |
| 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 a working XWiki integration in OpenProject
    
2.  In a work package, open the Wiki tab, click &quot;+ Wiki page&quot; for the XWiki, and select &quot;New wiki page&quot;
    
3.  In the popup, enter a page title and click &quot;Next&quot;
    
4.  In the choice of a parent page, try expanding a node
    

### What is the buggy behavior?

*   There is an error: &quot;Something went wrong&quot;
    

### What is the expected behavior?

1.  The child pages should be displayed (if any)
    

###   

### **Logs**

There is a 500 error on GET /wiki\_pages/browse?parent=a171e&amp;provider\_id=35&amp;path=\[&quot;xwiki&quot;,&quot;Page d&#x27;aide&quot;\] endpoint

An Appsignal issue was recorded for it here: [https://appsignal.com/openproject-gmbh/sites/67ec0573b9811010d8c9071a/exceptions/incidents/2180](https://appsignal.com/openproject-gmbh/sites/67ec0573b9811010d8c9071a/exceptions/incidents/2180)

The error says `undefined method 'filter_map' for an instance of Dry::Monads::Result::Failure`

### Screenshots and other files

_<img class="op-uc-image op-uc-image_inline" src="/api/v3/attachments/925743/content">_

### Environment information

**OpenProject installation type**

*   [x] Cloud edition
*   [ ] On-Premise
*   [ ] Packaged installation
*   [ ] Docker All-in-one container
*   [ ] Docker-compose installation
*   [ ] Other (please specify)

**OpenProject version**

17.9.1

**Browser**

*   [ ] Chrome
*   [x] Firefox
*   [ ] Safari
*   [ ] Mobile Safari
*   [ ] Other (please specify)

**Operating System**

*   [ ] Windows
*   [x] Mac OS X
*   [ ] Mobile iOS
*   [ ] Mobile Android
*   [ ] Linux (please specify distro)
*   [ ] Chrome OS
*   [ ] Other (please specify)

**Language**

*   [ ] English
*   [ ] German
*   [ ] Other:
