# Bug OP-8359 - Internal Error when Wiki entry contains single "!"

Project: OpenProject
Status: closed
URL: https://community.openproject.org/work_packages/OP-8359

## Open points

_No work packages_

## Details

| Attribute | Value |
| --- | --- |
| Date |  |
| Priority | High |
| Module |  |
| Target versions | 11.2.1 |
| Observed in versions | 11.1.0 |
| Sprint |  |
| Backlog bucket |  |
| Bug found in version (deprecated) | 11.1.x |
| Found in mobile app version |  |
| Follow-up feedback e-mail |  |
| Requires doc change | No |
| Accessibility | No |
| Pull preview |  |
| List |  |
| Labels |  |

## People

| Attribute | Value |
| --- | --- |
| Assignee |  |
| Accountable |  |
| Product manager |  |
| Developers |  |
| Designer |  |
| Ordered by |  |
| Signed off by |  |
| Interest by |  |

## Planning

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

## Costs

| Attribute | Value |
| --- | --- |
| Votes |  |
| Work |  |
| Labor costs |  |

## Description

### **Environment**:

Your OpenProject Version: \<VERSION\> / Cloud Edition

Operating System / Browser / OpenProject language:

### **Logs**

The log shows the message "ERROR - - : ... No route matches ... title: "\!" ...

feb 19 11:18:37 cyborg-N141CU openproject-web-1.service\[981\]: E, \[2021-02-19T11:18:37.764145 [<mention class="mention" data-id="24995" data-type="work_package" data-text="#24995">#24995</mention>](https://community.openproject.org/work_packages/24995)\] ERROR -- : \[current\_user=Anonymous\] No route matches {:action=\>"show", :controller=\>"wiki", :id=\>\#\<WikiPage id: 89, wiki\_id: 7, title: "\!", created\_at: "2021-02-19 09:06:59", protected: false, parent\_id: 4, slug: "", updated\_at: "2021-02-19 09:06:59"\>, :project\_id=\>\#\<Project id: 8, name: "Nabben-Hb", description: "Projektet syftar initialt, i Förstudien, till att ...", public: true, parent\_id: nil, created\_at: "2021-01-03 10:03:12", updated\_at: "2021-01-12 12:52:37", identifier: "nabben-hb", lft: 13, rgt: 14, active: true, templated: false\>}, possible unmatched constraints: \[:id\]: No route matches {:action=\>"show", :controller=\>"wiki", :id=\>\#\<WikiPage id: 89, wiki\_id: 7, title: "\!", created\_at: "2021-02-19 09:06:59", protected: false, parent\_id: 4, slug: "", updated\_at: "2021-02-19 09:06:59"\>, :project\_id=\>\#\<Project id: 8, name: "Nabben-Hb", description: "Projektet syftar initialt, i Förstudien, till att ...", public: true, parent\_id: nil, created\_at: "2021-01-03 10:03:12", updated\_at: "2021-01-12 12:52:37", identifier: "nabben-hb", lft: 13, rgt: 14, active: true, templated: false\>}, possible unmatched constraints: \[:id\]

### **Steps to reproduce:**

1.  Add a new Wiki entry named "\!" (just the exclamation mark) in order to show this entry at the top of the Wiki TOC on the left

### **Actual Behavior**

I can now not access the project at all, just getting "Internal error" when selecting the project.

### **Expected Behavior**

Save wiki page without having an internal error. Being able to access the project.
