"move products" doesn't work

Project:Ubercart Contributions
Component:Code
Category:support request
Priority:normal
Assigned:Unassigned
Status:active
Description
Project: 
Ubercart

admin/store/products/categories
5.x-1.0-alpha7b

I select a product, 'select' -> I select a destination category, and I get:
"warning: array_unique() [function.array-unique]: The argument should be an array in y:\home\cdi\www\modules\ubercart\uc_catalog\uc_catalog.module on line 400."

In firefox2.0.0.4

In Opera9 no errors, but product just doesn't move when I press 'move', just page reload -> and no effect.

Lyle's picture
Offline
AdministratoreLiTe!
Joined: 08/07/2007
Juice: 6846
Re: "move products" doesn't work

What happens in alpha 7c? I'm specifically looking for the line the error occurs on, because I'm sure it'll be different.

ivan.g's picture
Offline
Joined: 11/27/2007
Juice: 22
alpha 8: the same
Assigned to:Lyle» ivan.g

I am getting the same error with alpha 8. Vocabulary used isn't freetagging, single hierarchy, isn't multiple select.

The message is:

warning: array_unique() [function.array-unique]: The argument should be an array in /var/usr/local/apache2/htdocs/.../sites/......com.au/modules/ubercart/uc_catalog/uc_catalog.module on line 530.

when moving product to another term.

Lyle's picture
Offline
AdministratoreLiTe!
Joined: 08/07/2007
Juice: 6846
Re: alpha 8: the same
Assigned to:ivan.g» Lyle

It's because I assumed that the vocabulary would be multiple-select. That function was originally built for the catalog, so the assumption made sense at the time. Now that I know the reason for it, I know how to fix it.

ivan.g's picture
Offline
Joined: 11/27/2007
Juice: 22
Fixed
Assigned to:Lyle» ivan.g

Thank you Lyle. Making the catalog "Multiple Select" fixed the issue. You're the best.

Ryan's picture
Offline
Joined: 08/07/2007
Juice: 15438
Re: Re: alpha 8: the same
Assigned to:ivan.g» Ryan

@Lyle: you mentioned you know how to fix it... did it actually get fixed? Eye-wink

billywig's picture
Offline
Joined: 01/08/2011
Juice: 6
#6
Category:» support request
Assigned to:Ryan» Guest

Hi,

Is there a way for me to make this work in
Drupal 5.20
Ubercart 5.x-1.6
?

Thanks