From 521b21587531238813b5439c5daa8de2ed4c40da Mon Sep 17 00:00:00 2001 From: =?utf8?q?David=20=E2=80=98Bombe=E2=80=99=20Roden?= Date: Sat, 28 Jul 2012 12:30:26 +0200 Subject: [PATCH] Store properties with a slast instead of a dot as separator. This will allow us to access all properties from the templates. --- .../pterodactylus/demoscenemusic/page/admin/AddTrackDerivativePage.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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. */ -- 2.7.4