# Bug OP-17714 - ArgumentError in VersionsController#show

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

## Open points

_No work packages_

## Details

| Attribute | Value |
| --- | --- |
| Date |  |
| Priority | Low |
| Module | Modules and project features / Roadmap |
| Target versions | 16.3.1 |
| Observed in versions | 16.3.0 |
| Sprint | 16.3.1 |
| Backlog bucket |  |
| Bug found in version (deprecated) | 16.3.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 | Jens Ulferts |
| Designer |  |
| Ordered by |  |
| Signed off by |  |
| Interest by |  |

## Planning

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

## Costs

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

## Description

### Steps to reproduce

1.  Have a project with backlogs enabled
    
2.  Be a user with `edit_wiki_pages` permission in the project
    
3.  Have a version configured
    
4.  Go to the show page of the version (Roadmap -&gt; click on the version name)&nbsp;
    

### What is the buggy behavior?

*   No bug visible to the user
    
*   In the background a 500 error is produced (without visible effect)
    
    *   A link that is intended to be displayed is not displayed
        
    *   That link however is outdated as by now, the button to edit the associated wiki page is displayed in the sub header
        

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

### What is the expected behavior?

1.  no error
    
2.  Removal of the code as the link no longer needs to be added in the way intended by the code.
    

### **Logs**

```text
app/helpers/application_helper.rb:224 nonced_javascript_tag
modules/backlogs/lib/open_project/backlogs/hooks/layout_hook.rb:50 OpenProject::Backlogs::Hooks::LayoutHook#view_versions_show_bottom
lib/open_project/hook.rb:73 block (2 levels) in OpenProject::Hook.call_hook
lib/open_project/hook.rb:72 Array#each
lib/open_project/hook.rb:72 block in OpenProject::Hook.call_hook
lib/open_project/hook.rb:71 OpenProject::Hook.call_hook
app/helpers/hook_helper.rb:60 HookHelper#call_hook
app/views/versions/show.html.erb:146
```

https://appsignal.com/openproject-gmbh/sites/673c8be183eb67dcd6c4e75d/exceptions/incidents/1359
