cancel
Showing results for 
Search instead for 
Did you mean: 

org.alfresco.util.Base64 has been removed?

robertmarkbram
Champ in-the-making
Champ in-the-making
Hi All,

I am using Alfresco-Community-3.3 and in running some tutorial code from Jeff Potts Alfresco Developer Guide, I find that code using org.alfresco.util.Base64 doesn't compile anymore. It seems like Base64 has been removed from the core API - with no docos or release notes that I can find telling me what I can replace it with.

I have no issue with classes being removed, but it's frustrating having to guess at what else I can substitute it with. Looks the class was taken from the open source http://iharder.net/base64, so I will try that..

Furthermore, you can still google the class: http://dev.alfresco.com/resource/docs/java/core/index.html?org/alfresco/util/Base64.html. But here is no link to it from the index, so maybe it was removed and new javadocs were just copied over the existing ones, leaving the javadocs for the now existing class still in place.

Rob
Smiley Happy
7 REPLIES 7

mrogers
Star Contributor
Star Contributor
It's due to the move to spring surf.  

Base64 is now in org.springframework.extensions.surf.util

Anticipating the next comment I agree that some of the migration to Spring surf was a little heavy handed.

robertmarkbram
Champ in-the-making
Champ in-the-making
Thanks Mr Rogers,

Is there any release documentation included anywhere for developers that outlines these changes?

Rob
Smiley Happy

mrogers
Star Contributor
Star Contributor
I've put it onto the release note for the release.

robertmarkbram
Champ in-the-making
Champ in-the-making
Cool, where are the release notes?  I did a file search on my Alfresco install and the only files with the word "RELEASE" in them that looked like release notes were under Tomcat.

robertmarkbram
Champ in-the-making
Champ in-the-making
The best way I have found to reach release notes is to search for them:
http://wiki.alfresco.com/wiki/SpecialSmiley Frustratedearch?search=Release+Notes&go=Go

There really should be a more formal documentation process than this.

mikeh
Star Contributor
Star Contributor
Main Wiki Page -> Current Community Release -> Learn more about this release -> Release notes

Follow that pattern for every release.

Thanks,
Mike

robertmarkbram
Champ in-the-making
Champ in-the-making
Thanks Mike!