dw250100785 / magento-w2p

Automatically exported from code.google.com/p/magento-w2p
0 stars 0 forks source link

Product creation ERR #108

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
There's something wrong with the new update. I can't import new or update
existing products.

I added a new template to the w2p site
http://magento.zetaprints.com/?page=template;TemplateID=2240E974-25BD-439C-956A-
CA8D1B6B9ECA
and tried to add it to the store.
- Ran the "ZP templ sync" profile and got a log saying that 1 template was
added.
- Ran the "Product creation" profile and got a log saying that the product
was created but also got this ERR in the log:
Warning: Invalid argument supplied for foreach() in
/mnt/ebs1/apps/magedev/app/code/local/ZetaPrints/WebToPrint/Model/Events/Observe
r.php
on line 100

I tried the same thing after changing the catalog on the w2p site to
"public access" from "corporate access". Got the same result.

I also tried deleting an existing product from Magento and then re-running
the profiles to create it again. Got the same result.

Tested on:
1.6.2.0beta3 (According to Magento Connect Manager)
1.6.1.0 (According to the store footer link)

Original issue reported on code.google.com by agur...@gmail.com on 24 Jan 2010 at 10:47

GoogleCodeExporter commented 9 years ago

Original comment by Anatoly....@gmail.com on 25 Jan 2010 at 2:54

GoogleCodeExporter commented 9 years ago
Bug is fixied in 1.7.0.0beta1 (installed on magedev)

Original comment by Anatoly....@gmail.com on 25 Jan 2010 at 3:05

GoogleCodeExporter commented 9 years ago
Can't create new products from a template. 
I got a confirmation log (... was added) during template import when I ran the 
"ZP
template sync" profile.

I noticed that the log pages (that pop-up when running a profile) are the same. 
Isn't
the "Product creation" log page suppose to be a bit different? The code in the 
XML is
also identical on both profiles, is that the way it's suppose to be?

Also, I still see the "data import" profile in "Advanced profiles". Am I 
suppose to?

Original comment by agur...@gmail.com on 25 Jan 2010 at 4:38

GoogleCodeExporter commented 9 years ago

Original comment by Anatoly....@gmail.com on 26 Jan 2010 at 4:40

GoogleCodeExporter commented 9 years ago
Issue 104 has been merged into this issue.

Original comment by zetapri...@gmail.com on 26 Jan 2010 at 5:32

GoogleCodeExporter commented 9 years ago
Product creation does work now and the templates are being imported. There's 
another
problem however:

A deleted template is being created. There was a template that I added to the 
w2p
catalog a day before. While I was testing the issue, I created the template 2 
times,
deleting the first one when I made the second one. It was called "Image 
uploading". 

Both templates were deleted from the w2p site and I deleted the created 
products.
Re-ran the profiles in this order (zp template sync, product creation) and 
Magento
still creates the products for them. They must be in the cache or something.

Original comment by agur...@gmail.com on 26 Jan 2010 at 9:10

GoogleCodeExporter commented 9 years ago
Comment 6 went into issue #114

Original comment by zetapri...@gmail.com on 26 Jan 2010 at 7:56

GoogleCodeExporter commented 9 years ago

Original comment by zetapri...@gmail.com on 26 Jan 2010 at 7:56