# Bug OP-17532 - JavaScript error when adding a new story in Backlogs module

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

## Open points

_No work packages_

## Details

| Attribute | Value |
| --- | --- |
| Date |  |
| Priority | Medium |
| Module | Modules and project features / Backlogs |
| Target versions | 16.3.0 |
| Observed in versions |  |
| Sprint | 16.3.0 |
| Backlog bucket |  |
| Bug found in version (deprecated) |  |
| 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 | Alexander Coles |
| Designer |  |
| Ordered by |  |
| Signed off by |  |
| Interest by |  |

## Planning

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

## Costs

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

## Description

### Steps to reproduce

1.  Login as a user with permissions to manage backlogs for a project

2.  Go to a project with backlogs enabled

3.  Click Backlogs

4.  Create a Version if one does not already exist

5.  From the Version menu, select New Story

6.  Type in a Story name and story points

7.  Press Enter to save.

### What is the buggy behavior?

  - Open the Developer Tools in your browser (F12 or Ctrl + Shift + I on Windows/Linux, and Cmd + Option + I on macOS).

  - You will see an error similar to the following: `common.js:124 TypeError: t.bootstrap is not a function at model.js:392:23`

### What is the expected behavior?

There should be no JS errors.

### **Logs**

*Are there errors in the browser console? (*[*Click here for information on how to open your browser's console*](https://webmasters.stackexchange.com/a/77337)*) For a local installation: Are there relevant logs output by* `_openproject logs_` *(packaged installation) (*[*click here for details*](https://docs.openproject.org/installation-and-operations/operation/monitoring/#show-logs)*) or in a log/production.log or /var/log/openproject/ ? Please attach error output in these log files if applicable*

### Screenshots and other files

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

### Environment information

*Please check and fill out the following details to help us identify in what versions and distributions of OpenProject the error occurs*

**OpenProject installation type**

  - Hosted

**OpenProject version**

<https://qa.openproject-edge.com/>

**Browser**

- [x] Chrome
- [ ] 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**

*en\_GB*
