The defense failed their client by not objecting more.
Did you even read the article? The defense made a standing objection, which means that rather than saying "objection" every three seconds, they preserved the right to appeal the judges decision to allow any of her testimony.
When the defense is claiming a sexual encounter never happened then a detailed account of the event is needed. This is in the event the defendant takes the stand and claims it never happened.
Whether the encounter happened or not is completely irrelevant to the criminal charges which are being made, which is why testimony about the encounter is irrelevant and prejudicial.