[ic] Edit bug with checkout.html

interchange-users@interchange.redhat.com interchange-users@interchange.redhat.com
Tue Oct 2 22:17:01 2001


Quoting Matthew T. Snyder (snydermt@ariontech.com):
> > -----Original Message-----
> > From: scm@apdo.com
> > Sent: Tuesday, October 02, 2001 5:41 PM
> > To: interchange-users@interchange.redhat.com
> > Subject: [ic] Edit bug with checkout.html
> >
> >
> > I found an error with UI page editor,
> > if you save  /order/checkout.html file with the Page editor ,
> > even without
> > any change, it not longer works, and if you try to edit again
> > returns this
> > error:
> >
> > Template read error reading ''.
> > template: ; t_file=templates/
> >
> > I see the same error with demo store in interchage web site.
> >
> > best regards
> > Salvador Caballe
> 
> > I noticed this two nights ago.  The problem is that it saves checkout.html
> > with a template of 'fullwidth' for some reason, and that template does not
> > exist.  A quick fix is simply to copy CATROOT/templates/noleft to
> > CATROOT/templates/fullwidth  Other than this, I'm not certain
> > what could be
> > done to change the saved template.
> >
> 
> Some more info on this...
> 
> The actual, unmodified page shows (in a text editor) that the template is
> noleft.  However, after having modified it with the UI, the template shown
> in the [comment] at the beginning of the file is fullwidth.  Copying the
> noleft template does work, and doesn't appear to change the functionality of
> the page, but you could just as (more??) easily modify the file directly to
> point to the correct template.  Anyone have any ideas why this template
> change on save?
> 

Just a bug. The noleft template (templates/noleft) should have
"ui_template_name: noleft" instead of fullwidth. I thought I had fixed
that at one point, but apparently not.

-- 
Red Hat, Inc., 3005 Nichols Rd., Hamilton, OH  45013
phone +1.513.523.7621      <mheins@redhat.com>

Friends don't let friends use Outlook. -- Bob Blaylock