Alfresco Content Creation

November 23, 2007

I spent round about 4 hours on Wednesday because of a tiny little mistake in the Alfresco Web Service Sample. Sadly enough it took that long to find out because I assumed a bug in my code first. Anyway…

If you create binary content with the help of the web service API like described in org.alfresco.sample.webservice.ContentReadAndWrite of the Alfresco SDK you will not be able to retrieve the single new created content by a Lucene “PATH”-query afterwards.

For details on this issue look at http://issues.alfresco.com/browse/AR-1895.

Regards,

Phillip

lesson learned

November 19, 2007

As mentioned from my Project Partner, i had (do have) some Computer problems.
All of a sudden my Notebook an ASUS A6T didn’t boot anymore.
After ruling out causes that I could have repaired myself,
I went to my computer dealer and he said he will sent it in to ASUS and care for the rest..
(The Notebook has still half a year left of a 2 Year warranty)
At first I was told that it would need only 2-3 days till I’ll get it back..well that was 3 weeks ago.
After some talk to the Asus Hotline they told me, that they are waiting for parts from Taiwan to repair my Notebook..
and this may need some time..
So what do I learn from that ?
Next time spent some more money and buy a Computer with a good on location service, where you don’t have to wait weeks for some parts.
It is definitely worth the more cost!

Springification

November 15, 2007

It has been a while since our last post which does not mean that we were unproductive. We had some outer project problems though. I was ill for almost a week, my bike got broken and the notebook of my project partner (ASUS) packed up and still was not returned although the actual break down was almost threee weeks (or 4) ago.

Despite these pitfalls I made big progress. A week ago I decided to use spring for the whole application because the loose coupling pleased me and also seemed very useful for the project. Using spring within the deep layers worked without a hassle. After that I tried to use Spring also within the view for my JSF backing beans. This did not work because I did not get the WebApplicationContext initialized. Not having an WebApplicationContext means no web side initialization of the jsf backingBeans which renders Spring unuseful for the view part. I even tried to follow the solution of http://cagataycivici.wordpress.com/2007/09/10/using-spring-to-manage-jsf-beans/. It did not work either. I suppose that maybe ICEFaces and/or Liferay destroy the request handling/web context initialization of Spring. I did not follow the problems very far as handling view beans is not important for my application. Handling the deeper layers with Spring suffices entirely for me.

So far so good.

I know that this post could have been a bit more detailed but I am focusing completely on the completion of the project now and thus blogging is at the moment a bit unproductive for me.

Regards,

Phillip