Wednesday, June 27, 2012

New Liferay Upgrade Fun

Upgraded a different site with slightly different configuration.  Also only going from 6.0.4 to 6.1.0 this time.  I had a thousand times less data so it was extremely fast.  I also abandonded my customizations on this site becuase I'm sick of dealing with converting an ext environment to an ext plugin.  If I need to change crap, I'll do it directly in the trunk source.  Screw extensions.
  • Unlogged in users can see my private sites!!  They can't see the content, but they should just get redirected to a login page.  Supposedly this is already fixed in the nightlies.  I don't have public sites on this installation at all so this is a major annoyance.  I was just bouncing users from to and now they are confused because instead of a sign in page, they see "you don't have permission to view this" inside 5 different contentless portlets. 
  • My image gallery was upgraded, but the images were saved on the file system as "1.0", while the file version the document library had saved was "1" leading to a lot of file not found exceptions until I did a find/rename.
  • Images that were in subfolders didn't make it through the upgrade.  I'll have to grab them from the backup, manually figure out which picture is what, and places them in the file system location liferay is checking or reupload through the front end.
  • This process never ever works 100% right.  Backups are crucial because you need to manually fix things after the upgrade.

Monday, June 25, 2012

Liferay 6.1 Jackrabbit Bug

If you use jackrabbit for your document library, Liferay documentation suggests that your ext plugin should have a file
  • ext-impl/src/com/liferay/portal/jcr/jackrabbit/dependencies/repository-ext.xml
    • Description: This file allows overwriting the configuration of the Jackrabbit repository. Refer to the Jackrabbit configuration documentation for details (
    • Original file in Liferay: portal-impl/src/com/liferay/portal/jcr/jackrabbit/dependencies/repository.xml
However, if you actually deploy, liferay will copy the standard repository.xml from the core to your data\jackrabbit directory.  Which means there was no point whatsoever to repository-ext.xml.  It sort of mostly worked in 5.2.3 though, so it's just a reversion bug.

Cross posted to the DL Blog.

Friday, June 08, 2012

Sales Thought

Amazon/woot/online stores should get anandtech or tomshardware or whoever (phoronix) to publish or republish a review of whatever tech product they have as a daily deal on the day they deal it.  Particularly for SSDs, it would be a nice resource and possibly get more people to buy than just random internet stranger comments would.

Wednesday, June 06, 2012


For the record, WWF always has and always will stand for World Wrestling Federation and nothing else.