Checked in an adjustment to the BridgeSetup.GenericScriptWriter where writing stuff to the writer is sensitive to the order. The startElement must be called before writeAttribute. In our case:
public void encode(ResponseWriter writer, FacesContext context) throws IOException
{
String clientID = getClientId(context);
//Exchange the position of the next 2 lines
writer.writeAttribute("id", clientID, null);
writer.startElement("script", this);
//define potential script entries
writer.writeAttribute("src", script, null);
writer.writeAttribute("type", "text/javascript" , null);
writer.endElement("script");
}
Please resolve this issue if the Portlet tests are successful.