Wheat v. Florida Parish Juvenile Justice Commission

The point of summary judgment is to dismiss cases that have no genuine chance of winning in front of a jury, or cases that a jury should not even hear. Summary judgment should result in dismissal of  cases that lack any real issue of fact. Why have a trial if there is no genuine issue?