Permlink Replies: 3 - Pages: 1 - Last Post: 26-Jun-2017 00:24 Last Post By: jGromit
jGromit

Posts: 32,102
Registered: 31-Jan-2006
Small but important metadata change in jAlbum 14
Posted: 24-Jun-2017 21:34
  Click to reply to this thread Reply
In jAlbum 13, you could safely check for a void cameraMake variable - if it wasn't void, it had content, and you could treat it like a String. But in jAlbum 14, if cameraMake isn't void, it might still be null.

In short, to be safe you need to check both possibilities:
if(cameraMake != void && cameraMake != null) do something with it;
davidekholm

Posts: 21,853
Registered: 18-Oct-2002
Re: Small but important metadata change in jAlbum 14
Posted: 25-Jun-2017 23:20   in response to: jGromit in response to: jGromit
  Click to reply to this thread Reply
That was actually an unintentional change in behavior, due to the fact that we updated the metadata-extractor library to the current one.

I've now adjusted for this in 14.0.2. Do a core update to get it.
jGromit

Posts: 32,102
Registered: 31-Jan-2006
Re: Small but important metadata change in jAlbum 14
Posted: 25-Jun-2017 23:25   in response to: davidekholm in response to: davidekholm
  Click to reply to this thread Reply
davidekholm wrote:
That was actually an unintentional change in behavior, due to the fact that we updated the metadata-extractor library to the current one.

Yes, I assumed that was just an accident.

I've now adjusted for this in 14.0.2. Do a core update to get it.

I've already patched all three of my skins to avoid the problem. It's a quick and dirty change.

There's a post in the Turtle forum that I suspect relates to the same thing.
jGromit

Posts: 32,102
Registered: 31-Jan-2006
Re: Small but important metadata change in jAlbum 14
Posted: 26-Jun-2017 00:24   in response to: davidekholm in response to: davidekholm
  Click to reply to this thread Reply
Looks like there's another one of the same species:

https://jalbum.net/forum/thread.jspa?threadID=52737

Point your RSS reader here for a feed of the latest messages in all forums