# Bug OP-14421 - Atom feed of Gantt charts page produces an error

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

## Open points

_No work packages_

## Details

| Attribute | Value |
| --- | --- |
| Date |  |
| Priority | Medium |
| Module |  |
| Target versions | 13.4.0 |
| Observed in versions | 13.3.0 |
| Sprint | 13.4.0 |
| Backlog bucket |  |
| Bug found in version (deprecated) | 13.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 |  |
| Designer |  |
| Ordered by |  |
| Signed off by |  |
| Interest by |  |

## Planning

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

## Costs

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

## Description

Found thanks to AppSignal.

Error sample: <https://appsignal.com/openproject-gmbh/sites/62b06dacd2a5e41321946fcf/exceptions/incidents/631/samples/62b06dacd2a5e41321946fcf-1613827256998413194217087002802>

### Steps to reproduce

1.  In a project with Gantt charts module enabled, go to Gantt charts page
2.  Using a RSS/Atom feed extension, try subscribing to the Atom feed of the page
    1.  I used <https://addons.mozilla.org/en-US/firefox/addon/awesome-rss/> firefox addon to test it
    2.  It's possible to just add `.atom` at the end of the URL path, for instance <https://community.openproject.org/projects/openproject/gantt.atom>

### What is the buggy behavior?

  - The request fails with a 500 error
  - According to AppSignal, on the server side, the error is "undefined method 'retrieve\_query' for \#\<Gantt::GanttController\>" from app/helpers/work\_packages\_controller\_helper.rb:50 load\_and\_validate\_query

### What is the expected behavior?

1.  No error and the atom feed is available

### **Logs**

See <https://appsignal.com/openproject-gmbh/sites/62b06dacd2a5e41321946fcf/exceptions/incidents/631>

### Screenshots and other files

Using <https://addons.mozilla.org/en-US/firefox/addon/awesome-rss/> firefox addon:

*<img class="op-uc-image op-uc-image_inline" style="width:732px;" src="/api/v3/attachments/92780/content">*

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

### Environment information

**OpenProject installation type**

- [x] Hosted cloud edition
- [ ] Packaged installation
    - What distribution?
- [ ] Docker All-in-one container
- [ ] Docker-compose installation
- [ ] Other (please specify)

**OpenProject version**

13.3.0

**Browser**

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