Vinai / groupscatalog2

Magento extension to enable you to hide categories and products from customers depending on their customer group. This is a Magento 1.6 and newer compatible version of the Netzarbeiter Customer Groups Catalog extension.
139 stars 60 forks source link

Wishlist stops working if extension is enabled #45

Closed salgaito closed 11 years ago

salgaito commented 11 years ago

Greetings!

First thanks!, its a great extension and every Magento should have it... After a while using it i realize the "wishlist" option won't work anymore, and after looking why I end up with groupscatalog2 extension, this is the error that shows me, any idea how to solve?:

a:5:{i:0;s:66:"Item (Mage_Wishlist_Model_Item) with the same id "5" already exist";i:1;s:3971:"

#0 /var/www/lib/Varien/Data/Collection/Db.php(576): Varien_Data_Collection->addItem(Object(Mage_Wishlist_Model_Item))
#1 /var/www/lib/Varien/Data/Collection.php(752): Varien_Data_Collection_Db->load()
#2 [internal function]: Varien_Data_Collection->count()

#3 /var/www/app/design/frontend/base/default/template/wishlist/item/list.phtml(39): count(Object(Netzarbeiter_GroupsCatalog2_Model_Wishlist_Resource_Item_Collection))

#4 /var/www/app/code/core/Mage/Core/Block/Template.php(241): include('/var/www/app/de...')

...

#37 {main}";s:3:"url";s:10:"/wishlist/";s:11:"script_name";s:10:"/index.php";s:4:"skin";s:7:"default";}

Thanks,

Santiago

salgaito commented 11 years ago

No one has any idea? We still have this issue, :-/ Thanks!

Vinai commented 11 years ago

I've yet to check - sorry I can't resolve all issues on a timely manner, I do this when I have time besides "real" work. Please provide as many information as possible:

Vinai

salgaito commented 11 years ago

Don't worry, we do understand you probably have many work besides, thanks for your support!

We are using Magento 1.7.0.2 We are using Netzarbeiter_GroupsCatalog2 0.2.4 (Beta) To replicate just enable Magento Core Wishlist option and enable GroupsCatalog2 and in the front end when an user wants to see their wishlist, the mentioned error appears.

Thanks,

Santiago

Vinai commented 11 years ago

I tried to reproduce the issue on Magento 1.7.0.2 using the following steps:

No problems. That said, I was using the latest version 0.2.6. Please upgrade and let me know if that resolves the issue for you. Thanks.

Vinai commented 11 years ago

No feedback from original poster, assumed fixed in newer versions.