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

Do not throw an exception when ROOT reports a missing dictionary problem #4931

Merged
merged 2 commits into from Aug 13, 2014

Conversation

Dr15Jones
Copy link
Contributor

In the case where ROOT prints an error message about a missing collection proxy we no longer throw an exception. This was needed to handle the case of reading an old file using a release for which a class in that
file no longer exists. The framework doesn't need the exception since it has other ways of detecting the missing dictionary and then take appropriate action.

When initializing a BranchDescription from a ROOT dictionary, if
there is an exception thrown we now add to the context information
which branch had the problem.
@cmsbuild
Copy link
Contributor

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

Do not throw an exception when ROOT reports a missing dictionary problem

It involves the following packages:

DataFormats/Provenance
FWCore/Services

@cmsbuild, @Degano, @Dr15Jones, @ktf, @nclopezo can you please review it and eventually sign? Thanks.
@wddgit, @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.

@Dr15Jones
Copy link
Contributor Author

+1
This solves the problem seen in #4694 with RelVal 4.78

@cmsbuild
Copy link
Contributor

This pull request is fully signed and it will be integrated in one of the next CMSSW_7_2_X IBs unless changes or unless it breaks tests.

In the case where ROOT prints a message about a missing collection
proxy we no longer throw an exception. This was needed to handle the
case of reading an old file using a release for which a class in that
file no longer exists. The framework doesn't need the exception since
it has other ways of detecting the missing dictionary and then take
appropriate action.
@cmsbuild
Copy link
Contributor

Pull request #4931 was updated. @cmsbuild, @Degano, @Dr15Jones, @ktf, @nclopezo can you please check and sign again.

@Dr15Jones
Copy link
Contributor Author

+1
David Dagenhart noticed that I had failed to do the proper check on return of std::string::find on the second string.
NOTE: I was unable to actually run the full test. Could you please run 4.78 as part of the tests?

@cmsbuild
Copy link
Contributor

This pull request is fully signed and it will be integrated in one of the next CMSSW_7_2_X IBs unless changes or unless it breaks tests.

@nclopezo
Copy link
Contributor

Hi Chris,

I started the tests including 4.78

@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_2_X IBs unless changes (tests are also fine).

ktf added a commit that referenced this pull request Aug 13, 2014
Do not throw an exception when ROOT reports a missing dictionary problem.
@ktf ktf merged commit 66d7b53 into cms-sw:CMSSW_7_2_X Aug 13, 2014
@cmsbuild
Copy link
Contributor

1 similar comment
@cmsbuild
Copy link
Contributor

@Dr15Jones Dr15Jones deleted the ignoreMessageCausedByMissingDict branch August 27, 2014 18:20
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