Re: [Hypercontent-users] Pipelines.xml
Brought to you by:
alexvigdor
From: Alex V. <al...@bi...> - 2006-07-24 16:26:07
|
Hi Carl, Lucky for you, it turns out I just spent the weekend tracking = down a =20 different manifestation of the same bug! It turns out the buggy code =20= has been there since the initial commit a year and a half ago, but =20 only just started to show up because of changes I made to the =20 validation architecture in the last month. The manifestation I found =20= was that after editing a file, viewing, editing some more and viewing =20= again, the preview ceased to update with the latest changes. Both =20 this and the broken image editor are fixed in today's commit of /org/hypercontent/data/impl/FileHandleValidator.java So update from CVS, and you should no longer see the problem. You =20 should probably also empty out the directory "repositories/cache", =20 since some of the validators stored there may still suffer from the =20 problem. This won't affect any of your data, it just means all pages =20= will be forced to re-render after you restart. Cheers, Alex On Jul 24, 2006, at 6:06 AM, Carl P Barrow wrote: > Hi Alex, > > > > I don=92t really understand what I=92m meant to put in pipelines.xml. = =20 > Up until I made the updates from the CVS image editing was fine but =20= > now It doesn=92t work at all. What should pipelines.xml look like =20 > and what should be in there. I=92ve not actually used it at all yet! > > > > Cheers > > Carl > > > > ************************************* > > Carl Barrow > Systems Integrator > e-Services > The University of Hull > Cottingham Road > Hull > HU6 7RX > Ext. 6838 > > ************************************* > > > > From: hyp...@li... =20 > [mailto:hyp...@li...] On Behalf =20= > Of Alex Vigdor > Sent: 17 July 2006 18:54 > To: Hypercontent-users List > Subject: Re: [Hypercontent-users] couple of points > > > > Hi Carl, > >> 1 =96 The rotating image option doesn=92t work. I just get the =20 >> following in a blank browser window.. >> > Make certain you merge the changes to /config/pipelines.xml in CVS =20 > with your local bootstrap repository; the rotation uses a new form =20 > handler that's specified there in the image-edit pipeline. The new =20 > classname is org.hypercontent.form.image.ImageRotateProcessor - =20 > make sure it's in your classpath. > > > 2 =96 When browsing for links, the xml filename is displayed and =20 > then the page title in parentheses. The older version of the code =20 > I had displayed just the page title. Where is the code to change =20 > this since I only need the page title. > > The file is /screens/rss-directory.vm in the bootstrap. Line 25 =20 > currently looks like this: > > > > #set ($title =3D $strings.concat($title,' (',$xmlencoder.encode=20 > ($dublincore.Title),')')) > > > > To get just the metadata title, change that to > > > > #set ($title =3D $xmlencoder.encode($dublincore.Title)) > > > > I had changed it in response to user feedback at Columbia. > > > > Cheers, > > Alex > > > > > > **********************************************************************=20= > ******************* > To view the terms under which this email is distributed, please go =20 > to http://www.hull.ac.uk/legal/email_disclaimer.html > **********************************************************************=20= > ******************* |