•  
      request #10619 Warning when a developper ask for a glyph of a plugin that does not exist
    Infos
    #10619
    Thomas Gerbet (tgerbet)
    2017-11-10 08:57
    2017-09-01 16:37
    10856
    Details
    Warning when a developper ask for a glyph of a plugin that does not exist
    For example the following code will give a warning "failed to open stream: No such file or directory" (if we consider the tracker plugin is enabled):
    $glyph_finder = new \Tuleap\Glyph\GlyphFinder(EventManager::instance());
    $glyph_finder->get('tuleap-tracker-donotexist');


    The warning should not happen, an exception GlyphNotFoundException is specifically raised for this case.
    Other
    All
    Empty
    • [ ] enhancement
    • [x] internal improvement
    Empty
    Stage
    Empty
    Closed
    2017-11-10
    Attachments
    Empty
    References

    Follow-ups