On Wednesday 17 May 2006 17:17, Andreas Hartmann wrote: > Michael Ralston wrote: > > In short... I don't think it makes sense to be able to create publication > > objects for things that aren't publications. > > Yes, I agree. But when I tried to change it I had the feeling that the > impact on the codebase is quite high, and the improvement is not worth > taking the risk. >
I was forced to make the changes as this is how I had already coded my EJB objects to function. I found there was 11 different locations which had a Publication returned, and I checked these for the PublicationException. > BTW, the draft for the new repository API doesn't allow creating > objects for non-existing publication. > Where is the draft repository API, I would be interested in reading it and maybe contributing to it. As I am probably one of the only people that has reimplemented a large number of lenya interfaces (with a different backend focus), I may have a different perspective on things. Michael --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
