Don’t allow changing an image’s title into an empty string.
authorDavid ‘Bombe’ Roden <bombe@pterodactylus.net>
Mon, 15 Sep 2014 19:25:19 +0000 (21:25 +0200)
committerDavid ‘Bombe’ Roden <bombe@pterodactylus.net>
Wed, 17 Sep 2014 15:02:34 +0000 (17:02 +0200)
commit4b9052a10d998339deec2f9b567d2913a9442f8b
treea399f0f81c4e71404622aaf74db3ecc5820be543
parent1360e42f232e2f0fd2ae0cb1308b2c3fe1f57ce7
Don’t allow changing an image’s title into an empty string.
src/main/java/net/pterodactylus/sone/data/ImageImpl.java
src/main/java/net/pterodactylus/sone/web/EditImagePage.java
src/main/java/net/pterodactylus/sone/web/UploadImagePage.java
src/main/java/net/pterodactylus/sone/web/WebInterface.java
src/main/resources/i18n/sone.en.properties
src/main/resources/templates/emptyImageTitle.html [new file with mode: 0644]
src/test/java/net/pterodactylus/sone/data/ImageImplTest.java [new file with mode: 0644]