Gii model generator did not add correct db connection

if component id is different from 'db'
do not throw exception if db component is not set

without this the form does not allow choosing a different connection id