« Back

Radio Liferay Episode 11: Alexander Chow and Sergio González about Document/Media Library

Company Blogs November 24, 2011 By Olaf Kock Staff

Liferay for your ears - This time I sat together with Alexander Chow and Sergio González. Both are Liferay Core Engineers. Alex is "Employee number 8, UK employee number 1 (which gives away his location) and Liferay-Mac-User number 1".  Sergio is Spain's employee number 6. Both have extensively cooperated in the new Document Library for Liferay 6.1 - now called Media Library - and this provides the main topic for us to talk about:

podcast-logo My shownotes:

  • Their background and what they worked on in Liferay
  • How to pronounce names
  • Naturally: The work both did on Document/Media Library and related portlets through the last year: The document library got a good rewrite, Ajax-based UI and a new backend to use Liferay as entry-point into other external repository systems.
  • CMIS (short for Content Management Interoperability Something - see link)
  • A lot of the document library backend war developed with JUnit and worked within a few days of work with the independently created UI when they were first brought together.
  • Different Document types are now first class citizens, so that you have certain metadata as well as separate workflows for different types of content.
  • Document Library and Image Gallery changed to Document and Media Library (for storage) and Media Gallery Display (for presentation) - the data and permissions will be automatically migrated
  • Previews for many document types will be automatically generated.
  • Listing alternative interfaces to the backend: Browser, WebDAV, Sharepoint protocol, Liferay Sync
  • Sync will work offline and synchronize any change (bidirectionally) with Document & Media Library when it's online, available for Windows, Mac, Android, iOS. Sadly there's one OS missing...
  • Iliyan is now europe's resident AlloyUI/JS expert
  • Download Beta 4 (or whatever is current when you read/listen to this) and give feedback, report bugs before Alex 2.0 is released.

You'll find this episode - and make sure that you don't miss any of the future episodes - by subscribing to  http://feeds.feedburner.com/RadioLiferay with your favourite podcatcher. You can also subscribe on itunes.: Just search for "Radio Liferay" or just "Liferay" in the podcast directory.

Obligatory Twitter Links: Alex, Sergio, me and RadioLiferay

download audio file

Threaded Replies Author Date
I'm not a developer myself but support users of... Oliver Hagmann November 25, 2011 4:51 AM
Hi Oliver, In our migration of Image Gallery... Alexander Chow November 25, 2011 5:15 AM
That sounds very promising! Thank you for the... Oliver Hagmann November 25, 2011 5:19 AM
WebDAV has had several improvements since... Alexander Chow November 25, 2011 5:33 AM
Yes, WebDAV is for online access, while Sync... Olaf Kock November 25, 2011 7:55 AM
Good point Olaf! Oliver, download B4! :P Alexander Chow November 25, 2011 8:15 AM
I already did. Thanks. I managed to get it... Oliver Hagmann November 25, 2011 8:19 AM
Hmm… that's discouraging. Check out some of... Alexander Chow November 25, 2011 8:21 AM
After installing the mentioned patch on my Win... Oliver Hagmann December 2, 2011 7:35 AM
Hi Oliver, This sounds like a specific problem... Alexander Chow December 2, 2011 10:16 AM
I created an issue: <a... Oliver Hagmann December 5, 2011 1:37 AM
Thanks Oliver. Will track the bug there. Alex Alexander Chow December 5, 2011 2:04 PM
[...] I finally spoke to Mike Young, founder,... Anonymous February 5, 2012 6:51 AM

I'm not a developer myself but support users of a Liferay 6.06 (CE) portal in our company. We link to documents and images from Wikipages. Can you tell me what happens to direct URLs to documents and images when migrating the whole portal to 6.1? Will they break or still work with the new Media Library?
Posted on 11/25/11 4:51 AM.
Hi Oliver,

In our migration of Image Gallery images to the new Documents and Media portlet, we have made ever attempt to preserve support for the older URLs (though some of them we have setup a permanent redirect for, but old links should get to this regardless). So, in general, this should work. If it doesn't then that is a bug.

Hope that answers your question.

Alex
Posted on 11/25/11 5:15 AM in reply to Oliver Hagmann.
That sounds very promising! Thank you for the fast answer. One thing I didn't quite get in the podcast is if Webdav (which is very buggy in 6.06) will work with the new Media Library Portlet or if Liferay Sync replaces or expands this functionality?
Posted on 11/25/11 5:19 AM in reply to Alexander Chow.
WebDAV has had several improvements since 6.0.6… especially when using Windows as a client. Liferay Sync does not replace this functionality but complements it. I would recommend you downloading the 6.1 B2 (or better yet, trunk since we are preparing a B3) and seeing if the things you saw before are still problematic.
Posted on 11/25/11 5:33 AM in reply to Oliver Hagmann.
Yes, WebDAV is for online access, while Sync replicates to your local disk (and uploads when changed), so there's a fundamental difference - think dropbox(sync) vs. fileserver(webdav) access.
Regarding the Betas: Aren't we already at B4? https://www.liferay.com/downloads
Posted on 11/25/11 7:55 AM in reply to Alexander Chow.
Good point Olaf! Oliver, download B4! emoticon
Posted on 11/25/11 8:15 AM in reply to Olaf Kock.
I already did. Thanks. I managed to get it running and test out the new features but couldn't yet connect the media library via WebDAV via localhost:8080. Don't know if it's a lack of knowledge on my side though. Might have to ask our it support about what might be the issue....
Posted on 11/25/11 8:19 AM in reply to Alexander Chow.
Hmm… that's discouraging. Check out some of the tips in the wiki, especially under "Known issues."
Posted on 11/25/11 8:21 AM in reply to Oliver Hagmann.
After installing the mentioned patch on my Win 7 machine, I managed to connect a Media Library Folder. Adding files with Windows Explorer worked fine, opening and editing Excel sheets too (I had to enter my credentials again though when opening the file?). The thing which didn't work was opening an image in Windows Photo Viewer, changing it's orientation and then quitting the Photo Viewer (which was then trying to save the image with its new orientation. I got this message from Photo Viewer: "Windows Photo Viewer can't save the changes to this picture because the file isn't available. The picture might have been deleted or you might have lost your internet connection." When clicking OK on this dialogue and refreshing the Win Explorer window the picture file name is precedented with a tilde (~), the first letter is deleted and the file extension is changed to .tmp. E.g. "picture.jpg" would become "~icture.tmp". I'm pretty sure I didn't lose the internet connection since the test installation is on my machine and I'm connecting over localhost:8080.
Posted on 12/2/11 7:35 AM in reply to Alexander Chow.
Hi Oliver,

This sounds like a specific problem with how the Photo Viewer works in creating a temp file and everything. If you can create a bug in http://issues.liferay.com, attaching the appropriate portions of your log file, that will help us better respond to this.

Thanks!
Posted on 12/2/11 10:16 AM in reply to Oliver Hagmann.
I created an issue: <a href="http://issues.liferay.com/browse/LPS-23657">http://issues.liferay.com/brow­se/LPS-23657</a>. I hope it's the correct log file you were talking about.
Posted on 12/5/11 1:37 AM in reply to Alexander Chow.
Thanks Oliver. Will track the bug there.

Alex
Posted on 12/5/11 2:04 PM in reply to Oliver Hagmann.
[...] I finally spoke to Mike Young, founder, CTO and employee number 2. Unfortunately Mike had to leave early after last year's european symposium, so there I just got "the Brians" instead of the whole... [...] Read More
Posted on 2/5/12 6:51 AM.