# Bug PIR-117 - Creating a PIR project from a template with no active fields crashes on displaying the wizard

Project: Project Inititation Requests
Status: closed
URL: https://community.openproject.org/work_packages/PIR-117

## Open points

_No work packages_

## Details

| Attribute | Value |
| --- | --- |
| Date |  |
| Priority | Medium |
| Module |  |
| Target versions | 17.9.0 |
| Observed in versions | 17.6.0 |
| Bug found in version (deprecated) | 17.6.x |
| Requires doc change | No |
| Accessibility | No |
| Pull preview |  |
| List |  |
| Labels |  |

## People

| Attribute | Value |
| --- | --- |
| Assignee |  |
| Accountable |  |
| Product manager |  |
| Developers | Andrej Sandorf |
| 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

_Please write down the steps to reproduce. Try to write down all necessary preconditions (what permissions do you have, are other users involved?). Example:_

1.  Login as a user with permissions to create projects by template
    
2.  Have a template project with activated PIR but NO active **Project attributes** (neither in the project nor in the wizard config)
    
3.  Create a project based on the template project
    

### What is the buggy behavior?

*   Application shows an error and does not continue
    

### What is the expected behavior?

*   Application does not show any code errors or warnings, but a user message
    

### Screenshots and other files

<img class="image_resized op-uc-image op-uc-image_inline" style="width:831px;" src="/api/v3/attachments/923224/content">

at {instance}/projects/{project\_name}/creation\_wizard

### Logs

[https://appsignal.com/openproject-gmbh/sites/673c8be183eb67dcd6c4e75d/exceptions/incidents/1705/traces](https://appsignal.com/openproject-gmbh/sites/673c8be183eb67dcd6c4e75d/exceptions/incidents/1705/traces)  
[https://appsignal.com/openproject-gmbh/sites/673c8d4183eb67dcd6c4e764/exceptions/incidents/1874/traces](https://appsignal.com/openproject-gmbh/sites/673c8d4183eb67dcd6c4e764/exceptions/incidents/1874/traces)

### Environment information

**OpenProject installation type**

*   All
    

**OpenProject version**

*   v17.6
    

**Browser**

*   All
    

**Operating System**

*   All
    

**Language**

*   All
