When connecting the plus and the minus sides of a battery directly, how the potential or voltage will look like at each point of the circuit, since obviously, the continuity of the voltage will not hold any more
What is the acceleration of an object of zero mass when I apply a force to it?
If you had a perfect superconductor (ie, one with an infinitely high critical current density) then the limiting current would arise from the internal resistance of the cell. There would be a current in the 'short' but no voltage at its ends - and inside the cell there would be a rising potential difference created by the finite speed with which ions can move to generate the driving current.
May I ask what research you are engaged in that prompts this question?
I'm connecting a solar cell to a battery, or other voltage source.
If the solar cell is thought as a second battery, than it is kind of the same situation. Obviously it is different but I'm not sure what exactly are the differences.
The nature omits any infinity. In case of mathematical model leads to infinity, the mathematical model is wrong (out of applicability). As a rule You needs to take in account second order effects. For example - the wires inductance Lwire:
dI/dt=Vbat/Lwire; Time=Lwire/Rwire -> Lwire/(0+0) -> Time -> infinity
So Yours experiment with shorted battery needs infinity time. Are You ready to wait?