[ic] IC4.9.3 can't create new items

Ton Verhagen interchange-users@icdevgroup.org
Mon Nov 18 11:29:01 2002


Quoting Mike Heins:
>Quoting paul jordan (paul@gishnetwork.com):
> > > I am using the IC nightly version 4.9.3-20021028. The admin
> > > looks and works
> > > great but I have a problem I can't fix.
> > >
> > > I can't create new items with the Admin. When I fill in all
> > > fields and click
> > > OK the
> > > information is not in my mysql producttable or available in
> > > the storefront.
> > > I also tried the demo
> > > http://demo.icdevgroup.org/i/demo1/admin/index but it
> > > seems the
> > > demo has the same problem.
> > >
> > > Maybe a bug ? Who can help ?
> > >
> > > Luke
> >
> >
> > as of 7:52 with IE 6, I can do it on the demo. You will have to provide
> > more info, and what you are doing exaclty.
> >
>
>I think it may have to do with not putting in a NOT NULL value like
>weight. You can change your database spec to allow null values or
>fill it in...

Yep, that's right. I just tested this.
One should fill out all 'NOT NULL' fields.


>I do believe we should give better feedback on this, and I will
>work on that. I will probably add a function to update_data to
>set something via $Tag->error() when a database insert/update
>fails.

That would be nice. :-)




Best regards,

Ton

--
Alamerce Nederland --- Cornerstone of eBusiness
Phone +31-40-2374381    info@alamerce.nl    http://www.alamerce.nl

eCommerce Solutions -- Consulting -- Website & Interchange Hosting