Skip to content
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

Make consumes call check if edm::InputTag is empty #2142

Merged
merged 1 commit into from Jan 24, 2014

Conversation

Dr15Jones
Copy link
Contributor

Previously, passing an empty edm::InputTag to consumes would make the framework think you did a consumesMany (since internally an empty tag is used for that purpose). This change makes an empty tag passed to consumes behave the same way as if you had a tag for a non-existent label.

Previously, passing an empty edm::InputTag to consumes would make the framework think you did a consumesMany (since internally an empty tag is used for that purpose). This change makes an empty tag passed to consumes behave the same way as if you had a tag for a non-existent label.
@cmsbuild
Copy link
Contributor

A new Pull Request was created by @Dr15Jones (Chris Jones) for CMSSW_7_1_X.

Make consumes call check if edm::InputTag is empty

It involves the following packages:

FWCore/Framework

@cmsbuild, @Degano, @Dr15Jones, @ktf, @nclopezo can you please review it and eventually sign? Thanks.
@wmtan this is something you requested to watch as well.
You can sign-off by replying to this message having '+1' in the first line of your reply.
You can reject by replying to this message having '-1' in the first line of your reply.
@ktf you are the release manager for this.
You can merge this pull request by typing 'merge' in the first line of your comment.

@Dr15Jones
Copy link
Contributor Author

@ktf Giulio, do you want this backported to 7_0_X to support #1988 ?

@Dr15Jones
Copy link
Contributor Author

+1

@cmsbuild
Copy link
Contributor

This pull request is fully signed and it will be integrated in one of the next CMSSW_7_1_X IBs unless changes or unless it breaks tests. @ktf can you please take care of it?

@ktf
Copy link
Contributor

ktf commented Jan 23, 2014

Do we care anymore about consumes in 70X, since it's not gonna be multithreaded in any case?

@davidlange6

@Dr15Jones
Copy link
Contributor Author

I only asked because the pull request which found the bug is set for 7_0. However the bug does affect single threaded as well.

@cmsbuild
Copy link
Contributor

@cmsbuild
Copy link
Contributor

This pull request is fully signed and it will be integrated in one of the next CMSSW_7_1_X IBs unless changes (tests are also fine). @ktf can you please take care of it?

ktf added a commit that referenced this pull request Jan 24, 2014
…umes

Framework fixes -- Make consumes call check if edm::InputTag is empty
@ktf ktf merged commit 5f70a9f into cms-sw:CMSSW_7_1_X Jan 24, 2014
@nclopezo nclopezo modified the milestones: CMSSW_7_1_0_pre3, CMSSW_7_1_0_pre2 Feb 5, 2014
@Dr15Jones Dr15Jones deleted the fixUseOfEmptyInputTagWithConsumes branch February 6, 2014 20:48
@nclopezo nclopezo modified the milestones: CMSSW_7_1_0_pre4, CMSSW_7_1_0_pre3 Feb 24, 2014
@nclopezo nclopezo modified the milestones: CMSSW_7_1_0_pre5, CMSSW_7_1_0_pre4 Mar 10, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants