Hi there
I have an issue with adding secondary categories to a product.
Using 2.0.9 fresh install
All categories are defined
There are two test products in two separate categories
Edit product and click on ‘secondary categories’. Click ‘add categories’. Select the categories the prodict should also appear in.
Click ‘add categories and close’ and the lsit of secondary categories appears
Click ‘save’ and they disappear.
Any clues?
I have double-checked file/folder permissions as per the installation docs.
Turned out to be a bug. CS Cart fixed it.
[quote name='androo' timestamp='1258466386' post='61148']
Turned out to be a bug. CS Cart fixed it.
[/quote]Im using 2.1.4, and have the same issues. When adding many secondary categories to a product. (could be upto 200,sub cats, but some time problem show when adding only a few.
The added Secondary cats show up in list, but when SAVE, random secondary cats are dropped, unselected cats are included, sometimes all sub-cat defs are gone…
So when was this fixed? Was it fixed on 2.1.4 because my version has the bug!
Cheers.
Hello remoteone,
We are sorry to hear that you experience such a problem.
Unfortunately, I failed to reproduce this problem in the CS-Cart version 2.1.4. So the investigation of the problem on your server is required.
Please contact us via Customer Help Desk and provide us with a temporary access to your server.
—
Anastasiya Kozlova
CS-Cart Support Team
[quote name='CS-Cart Support team' timestamp='1312891639' post='119193']
Unfortunately, I failed to reproduce this problem in the CS-Cart version 2.1.4. So the investigation of the problem on your server is required.
Please contact us via Customer Help Desk and provide us with a temporary access to your server.
[/quote]
Hmmm … well… thats going to be a bit difficult while I am still developing on Localhost machine.
The inability to reproduce the problem is most likely based in the test method you're using.
I will establish a method that will repeat the issue, and get back to you… diffuclt as the problem is intermittant and random, but I assure you the problem is real.
To work around the issue I add Secondary categories by one Parent Category at a time. Some Parent Cats have 50 Subcats, others less than 10.
The problem is evident when adding Sec Cats from multiple parent cats. This randomly results in some Sub-cats missing, some un-selected cats are assigned when they were not checkboxed to be assigned.
Hello, Remoteone.
I am looking forward to your reply. Please send us the necessary screenshots.
—
Anastasiya Kozlova
CS-Cart Support Team
Im wondering if its a limitation of MAMP server, Ill test it when live.
Issue when adding secondary categories in CSCART v2.1.4 and CScart v2.2.1
This is an extreme case test that is needed to prove the bug and closely represents the way Im setting up this new store.
Following this procedure:
- Using a fresh install of CScart v2.1.4
- Upload and restore the test_cats.sql file attached.
- Using any test product, Click “Secondary Categories” > “Add Categories”
- Expand the “Test 1 main” Category,
4a. Expand any of the other main categories “Test 2 main” - “Test 20 main”
4b. Now Contract all categories execept “Test 1 main”
- Click the “CATEGORIES” check box at the top to select all displayed categories.
- Now click the “Add Categories and Close button”
Results:
All the Subcategories of under any Main Category that was expanded and contracted prior to selection are added. - These were not selected to be added.
All the selected Subcat's and Main Cats are added as expected.
Comments.
I believe this issue shows up more often when a large number of Categories are being assigned to a product as secondary categories.
This is just one example of the issues. At other times I experience Main-Cat's being added when they were not selected.
It seems to me that something is “remembering” previous selections and adding them to the list.
Problem can be worked around (very time consuming) by only adding subcat's within one Main Cat at a time.
This is tedious and time consuming. Its 100% repeatable on my MAMP //localhost/ dev machine.
I didnt take any screen shots but will do so if needed.
Edit: The above test procedure reproduces the bug even with only a few number of categories also. The other issues I see seem to be related to the large number of cats I have.
Also repeatable in CScart v2.2.1 using Safari anf Firefox
Thank you for the reply, remoteone.
I passed the mentioned steps and reproduced the problem. It seems to be a minor bug in standard CS-Cart. We posted the problem description on our Bug Tracker. Our engineers will consider it at the first opportunity. You can subscribe to updates here: http://forum.cs-cart.com/tracker/issue-2674-issue-adding-secondary-categories/
Also, if you are sure that you found any software bugs, you can post them in our Bug Tracker directly.
—
Anastasiya Kozlova
CS-Cart Support Team
[quote name='CS-Cart Support team' timestamp='1313400312' post='119518']
It seems to be a minor bug in …
[/quote]
Thank you Anastasiya for your attention.
Looking forward to the fix as Im pulling my hair out with this frustrating and major problem. Bug tracker post here!.
Hello remoteone,
You are welcome.
—
Anastasiya Kozlova
CS-Cart Support Team
Any news? This bug is driving me nuts.
Ive added a post to the BUG REPORT so wont repeat it all here,
Theres also a bug with the “Apply values to all the selected products” function.
I really need this BUG fixed please, any news would be welcome.
http://forum.cs-cart.com/index.php?app=tracker&module=post§ion=post&do=postreply&pid=1&iid=2674
Im concerned that the Bug Tracker is showing “Severity 0 - None Assigned”
To me this indicates that not cares about it…??
I see that the bug was fixed in 2.2.0 but I am using v2.1.4, can someone from cscart please provide the code changes for 2.1.4 to fix this.?