# Bug OP-18020 - workPackageValue:attribute macros don't work if custom field name contains "." (dot)

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

## Open points

_No work packages_

## Details

| Attribute | Value |
| --- | --- |
| Date |  |
| Priority | Medium |
| Module | Administration / Custom fields, Modules and project features / Text editor / CKEditor5 |
| Target versions | 16.6.0 |
| Observed in versions |  |
| Sprint | 16.6.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 | Oliver Günther |
| 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 an admin

2.  Create a custom field named "1. határidő" (I tested it with this name)

3.  Insert the macro in a work package description: workPackageValue:"1. határidő"

4.  Then rename the same custom field to: "1 határidő"

5.  Insert the macro in a work package description:  

### What is the buggy behavior?

  - The macro does not work with a dot in the custom field name.

### What is the expected behavior?

1.  The macro should work with a dot in the custom field name.

### 

### Environment information

**OpenProject installation type**

  - Hosted cloud edition

  - Packaged installation
    
      - What distribution?

  - **Docker All-in-one container**

  - Docker-compose installation

  - Other (please specify)

**OpenProject version**

*16.4.0*

**Browser**

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

**Operating System**

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