-
Notifications
You must be signed in to change notification settings - Fork 4.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix bug affecting label in exception message #45726
Conversation
cms-bot internal usage |
+code-checks Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-45726/41366 |
A new Pull Request was created by @wddgit for master. It involves the following packages:
@Dr15Jones, @cmsbuild, @makortel, @smuzaffar can you please review it and eventually sign? Thanks. cms-bot commands are listed here |
please test |
+1 Size: This PR adds an extra 40KB to repository Comparison SummarySummary:
|
96ff674
to
5dea066
Compare
+code-checks Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-45726/41441 |
Pull request #45726 was updated. @Dr15Jones, @cmsbuild, @makortel, @smuzaffar can you please check and sign again. |
please test Modified a function to return multiple values with a tuple and structured binding instead of using an argument to return one of the values. Based on Matti's suggestion when we discussed this. |
+1 Size: This PR adds an extra 32KB to repository Comparison SummarySummary:
|
+core |
This pull request is fully signed and it will be integrated in one of the next master IBs (tests are also fine). This pull request will now be reviewed by the release team before it's merged. @sextonkennedy, @antoniovilela, @mandrenguyen, @rappoccio (and backports should be raised in the release meeting by the corresponding L2) |
+1 |
PR description:
Fix a bug that affects the content of an exception message printed when the EventSetup system cannot find an ESProducer or ESSource to produce data requested by a module. This bug should not affect anything when an exception does not occur.
I noticed this problem as I was working on nearby code. It was not reported by a user.
Also I modified some names to more consistently use
ProductLabel
instead of various other terms used for the same thing in code directly related to the bug.The bug was caused by using an index into the container esItemsToGetFromTransition_ to access an element of the container m_esTokenInfo. Under certain circumstances this can cause the wrong product label to print in the error message.
PR validation:
Existing unit tests pass.