cms-sw/cmssw — pull request #3850 by arizzi (2014-05-14 07:48:26+00:00)
Title: bugfix for FwdRef

@gpetruc @rappoccio
Fix FwdRef so that at get() time it checks Availability rather than Nullness.
Should fix the access when the original collection is kept and the forward pointed is dropped.
This way should also be complaint with the implementation of edm::FwdRef::isAvailable that return true if any of the two collections is available. With old implementation despite isAvailable being true, dereferencing would throw if the fwd pointed was dropped.

See:
https://hypernews.cern.ch/HyperNews/CMS/get/edmFramework/3282.html

Similar PR will be prepared for 70X