znuny / Znuny

Znuny/Znuny LTS is a fork of the ((OTRS)) Community Edition, one of the most flexible web-based ticketing systems used for Customer Service, Help Desk, IT Service Management.
https://www.znuny.org
GNU General Public License v3.0
355 stars 85 forks source link

Bug - Click on "Forward" jumps to first ticket article #351

Closed paulfolkers closed 1 year ago

paulfolkers commented 1 year ago

Environment

Expected behaviour

When using templates of type "Forward" clicking on "Forward" article action (click the "Forward" label directly) I expect it to open the template selection to forward this article. This should work both ways, clicking directly into the template selection field and also when clicking on the forward label of the article action.

Actual behaviour

I am assuming we have multiple e-mail articles in a ticket and I want to forward a newer article but not the first one. Clicking into the forward template selection field works well. If I click on the label "Forward" next to the selection field, it jumps to the first article of that ticket and opens the forward template selection field for it.

Instead it should open the selection field for the current article that I am viewing and that I want to forward.

How to reproduce

Steps to reproduce the behavior:

  1. Create a template of type "forward" and assign it to any queue.
  2. Open any ticket of the assigned queue that has more than one email article.
  3. Use the "all articles" view, not the single article view.
  4. See the newest email article.
  5. Click on the label(!) "Forward" in article actions - do not click into template selection directly.
  6. It jumps to the first email article and opens the forward template selection for it.

Additional information

This works as expected for article reply, by clicking on the "Reply" label the template selection opens up for this article.

Screenshots

Xnip2023-03-30_09-22-37 Xnip2023-03-30_09-23-23
hanneshal commented 1 year ago

Requirement:

dennykorsukewitz commented 1 year ago

internal Issue: 580

NiklasSchmitt commented 1 year ago

Hi @paulfolkers, thank you for your report.

I've fixed it with commit https://github.com/znuny/Znuny/commit/106301987413c47268062bd32f37c79187105029 and it will be part of the next Znuny LTS release.

Best, Niklas :rocket: