juliocamarero/liferay-portal — pull request #2569 by sammso (2013-11-18 08:47:23+00:00)
Title: LPS-39618

Hi Julio,

I did pop into this issue on at Friday and it was so annoying that I decided to fix it.

As EditCompanyLogoAction which had this getCroppedRenderedImage(..) and this was causing the problem. As there where no tests to guard this logic and it was at Action class. I think the this functionality should be located at is the ImageTool(Impl). ImageImpl did also have integration test, so it was natural to do the fix TDD way.