dw250100785 / magento-w2p

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

Curl error and additional info #103

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
A user gets a CURL error.
Why?

We need to show configuration info to help troubleshooting:
1. The URL of the portal the data is pulled from
2. A piece of the API key. Show first 6 digits followed by ...

Any other errors we can trap there?

Original issue reported on code.google.com by zetapri...@gmail.com on 21 Jan 2010 at 1:19

Attachments:

GoogleCodeExporter commented 9 years ago

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

GoogleCodeExporter commented 9 years ago

Original comment by Anatoly....@gmail.com on 26 Jan 2010 at 7:57

GoogleCodeExporter commented 9 years ago
New code in 1.7.0.0beta2 (installed on magedev)

Original comment by Anatoly....@gmail.com on 27 Jan 2010 at 7:01

GoogleCodeExporter commented 9 years ago
How do I test this?

Original comment by agur...@gmail.com on 27 Jan 2010 at 8:55

GoogleCodeExporter commented 9 years ago
Run templates sync profile, you will see messages with zp url and api key.

Original comment by Anatoly....@gmail.com on 27 Jan 2010 at 12:13

GoogleCodeExporter commented 9 years ago
The profile log shows the new messages as it should. I tested it with a wrong 
API and
a correct one (see screenshots).

I'm not sure about the API visibility though. I see the entire API key in the 
log. Is
that what we settled on or do we need to show only the first 6 digits folowed 
by "..."?

Original comment by agur...@gmail.com on 28 Jan 2010 at 1:47

Attachments:

GoogleCodeExporter commented 9 years ago
Hm ..
We show the full API key in log files as they contain the whole lot and are 
unlikely
to end up in public domain.

Import logs, the one you see while importing, are likely to end up in issues or
somewhere else, so we show only a part of it.

Original comment by zetapri...@gmail.com on 29 Jan 2010 at 6:08

GoogleCodeExporter commented 9 years ago
Fix is in 1.7.0.0beta4 (installed in magedev)

Original comment by Anatoly....@gmail.com on 4 Feb 2010 at 2:16

GoogleCodeExporter commented 9 years ago
Ran the profile with a wrong and a correct API key. Only the first 6 digits of 
the
API are visible in both cases.

Original comment by agur...@gmail.com on 4 Feb 2010 at 4:33

Attachments:

GoogleCodeExporter commented 9 years ago

Original comment by zetapri...@gmail.com on 7 Feb 2010 at 11:58