Closed GoogleCodeExporter closed 9 years ago
Do not fail if nothing is imported. Give a useful msg
Original comment by zetapri...@gmail.com
on 8 Dec 2009 at 12:44
Additional checks and messages were added.
Original comment by Anatoly....@gmail.com
on 5 Jan 2010 at 2:30
What checks and what msgs?
Original comment by zetapri...@gmail.com
on 7 Jan 2010 at 1:49
Checks for network errors, server-side errors, incorrect xml.
In case the errors you get "Error in receiving list of catalogs", "Error in
receiving
list of templates for catalog <catalog_name>" and "Error in receiving detailes
for
template <template_guid>. Leaving the template unmodified" messages.
Original comment by Anatoly....@gmail.com
on 7 Jan 2010 at 8:47
This can be partially tested by importing templates, making changes to
templates and
catalogs, changing the API key in M. and trying to re-sync again.
Original comment by zetapri...@gmail.com
on 7 Jan 2010 at 1:01
I added a new template to the catalog:
http://magento.zetaprints.com/?page=template-initial;Magnify=0;TemplateID=6E9930
98-5249-4C8C-8DF4-FC01E09A0D50
Ran the "product creation" profile and created this product:
http://www.zetaprints.com/magedev/index.php/email-signatures/email-signature-01-
no-watermak.html?personalization=1
Made changes to the templates field names, changed the API key in M to an
invalid one
and ran the "data import" profile. Got the same err msg that I got in issue #45:
* Starting profile execution, please wait...
* Warning: Please don't close window during importing/exporting data
* Starting ZetaPrints_WebToPrint_Model_Convert_Parser_Template :: parse
* Refresh all templates
* Warning: curl_errno(): 67 is not a valid cURL handle resource in
/mnt/ebs1/apps/magedev/app/code/local/ZetaPrints/Zpapi/Model/zp_api.php on line
863
* Finished profile execution.
Original comment by agur...@gmail.com
on 8 Jan 2010 at 12:51
A bug was fixied in 1.6.0.0beta2 (installed on magedev)
Original comment by Anatoly....@gmail.com
on 8 Jan 2010 at 9:35
Original comment by Anatoly....@gmail.com
on 8 Jan 2010 at 9:35
Started with a successful template import. Ran the "Data import" and "Product
creation" profiles for this template:
http://magento.zetaprints.com/?page=template;TemplateID=AC27317D-DCAA-4FEC-BEEA-
96416DB57DCE
Got useful messages like:
# Template AC27317D-DCAA-4FEC-BEEA-96416DB57DCE is succesfully added.
# Total number of templates: 48
# Number of added templates: 1
# Number of up to date templates: 0
# Number of updated templates: 47
Created this product:
http://www.zetaprints.com/magedev/index.php/email-signatures/email-signature-02-
copy.html?personalization=1
Made changes to the templates field names, default preview... changed the API
key in
M to an invalid one and ran the "data import" profile. Got this err:
* Starting profile execution, please wait...
* Warning: Please don't close window during importing/exporting data
* Starting ZetaPrints_WebToPrint_Model_Convert_Parser_Template :: parse
* Refresh all templates
* Error in receiving catalogs: Zetaprints error: ; Curl error:
* Starting ZetaPrints_WebToPrint_Model_Convert_Mapper_Product_Updating :: map
* Finished profile execution.
Original comment by agur...@gmail.com
on 10 Jan 2010 at 1:46
Original comment by zetapri...@gmail.com
on 13 Jan 2010 at 11:26
Original issue reported on code.google.com by
zetapri...@gmail.com
on 6 Dec 2009 at 2:22