From: David ‘Bombe’ Roden Date: Sat, 28 Jul 2012 10:30:26 +0000 (+0200) Subject: Store properties with a slast instead of a dot as separator. X-Git-Url: https://git.pterodactylus.net/?a=commitdiff_plain;h=521b21587531238813b5439c5daa8de2ed4c40da;p=demoscenemusic.git Store properties with a slast instead of a dot as separator. This will allow us to access all properties from the templates. --- diff --git a/src/main/java/net/pterodactylus/demoscenemusic/page/admin/AddTrackDerivativePage.java b/src/main/java/net/pterodactylus/demoscenemusic/page/admin/AddTrackDerivativePage.java index 579940c..2a80f78 100644 --- a/src/main/java/net/pterodactylus/demoscenemusic/page/admin/AddTrackDerivativePage.java +++ b/src/main/java/net/pterodactylus/demoscenemusic/page/admin/AddTrackDerivativePage.java @@ -118,7 +118,7 @@ public class AddTrackDerivativePage extends AdminBasePage { /* okay, we’re here, so everything’s fine, probably. */ TrackDerivative derivative = getCore().getDataManager().createTrackDerivative(track); - derivative.getProperties().set("file.original-name", filename); + derivative.getProperties().set("file/original-name", filename); getCore().getDataManager().saveTrackDerivate(derivative); /* copy the file again. */