Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@bebuecherl
Copy link
Contributor

Changes in this pull request

fixes a Bug where Custom Reports are loaded with a wrong reportClass

Steps to reproduce

  • Create at least two custom reports
  • Set different reportClasses on both reports
  • Check "Create Shortcut in Menu" on both reports
  • Reload Backend
  • Click on the first custom report in the menu

Expected

Every report loads with its own configured reportClass

Actual Behaviour

Every report loads with the configured reportClass of the last report

Additional info

The reportClass inside toolbarenricher.js is read synchronously inside a for loop. The Menu-Item click handler is triggered asynchronously and uses the last set reportClass

@fashxp fashxp added the Bug label Jul 4, 2019
@fashxp fashxp added this to the 6.0.2 ("Indian Pale Ale") milestone Jul 4, 2019
@fashxp
Copy link
Member

fashxp commented Jul 4, 2019

thx very much. could you please sign our CLA so that we can merge your PR.

@bebuecherl
Copy link
Contributor Author

Hi, the cla should be signed as cla-assistant.io tells me "You have signed the CLA for pimcore/pimcore"

@brusch brusch merged commit 1c5cefa into pimcore:master Jul 5, 2019
@brusch brusch self-assigned this Jul 5, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants