Hello, Guest |
| Register
Remember me Forgot password ?
Site Map Site Map Contact us Contact us
PrestaShop
  627 users online

Bug tracker



import differents attributes with same value choose the wrong key
Last modified : 08 Jun 2009 at 15:18

Severity: Minor
Version: V1.1 (1.1.0.5)
Installation type: Full (with sample data)
Theme: Default
Project: Back Office
Reporter: Bast
Report #: 2041
Date created: 27 May 2009 at 13:17 (UTC+1)
Related to Report #:

Hosting service:
Server OS: Linux
Web server: Apache 1.3 or later
PHP version: PHP 5.0 or later
5.2.6
MySQL: 5.0
Client computer OS: Mac
Web browser(s) tested: Firefox 2 --- Firefox 3 --- IE6 --- IE7 --- Safari --- Opera --- Konqueror --- Flock
 
Details:
In all my attributes imported by csv I have :
color:white
blabla:white

the $attributes['white'] id correspond to the first group he found so color. All my attributes "blabla:white" will be considered to be a color attribute.

It's because you use this array for values.

I purposed to attribute a value to his group in order to be unique

here is a very small patch wich may need some clean up but it works for me wink
 
Comments :

Hi Bast!

This issue has already been solved.
Please upgrade.

Best regards,

By Matthieu Biart on 08 Jun 2009 at 15:18 (UTC+1)


Upgrade to what ? An alpha version ? You don’t backport patches to 1.1 ?

By Bast on 08 Jun 2009 at 15:51 (UTC+1)


Notify me of follow-up comments?

<< Previous | Next >>