Katello/katello — pull request #1537 by ares (2013-02-07 14:19:44+00:00)
Title: 844389 - unsuccessful repo deletion rollbacking

If pulp was is unavailable during repository deletion a process failed
without rollbacking changes in candlepin. Now we delete content in
candlepin in such case so there is no inconsistency and you can try to
add repository again.

Also we display a better error notification to user instructing him to
try again. All backtrace is however stored in notification.

One minor fix regarding elastic search indexed models. Some strings can
be nil so we must check their presence, not their length.