cubicweb #12512052 internal error message appears in UI when facets search has no result [open]

eg search for whatever in the plain text facet of https://www.cubicweb.org/project/, you'll see a NoSelectableObject: args: (,), kwargs: ['rset'] candidates: [] message appears on top of the "no result message".

This is because the facet attempt to reload the edit box which is not selectable on empty rset. We should either handle that at the js level or make the render python callback return an empty string on no selectable object.

prioritynormal
typebug
done in<not specified>
closed by<not specified>