News:

Looking for documentation? Take a look on our wiki

Main Menu

Categories problems after update to 3.2.0

Started by Geppux, March 27, 2017, 18:50:43 PM

Previous topic - Next topic

EsSa55

Ok, by 'does not work', I meant by whatever it was supposed to achieve different to its previous behaviour.

My backend behaves exactly the same as with the previous version.

Thanks

Geppux

I don't know if the Milbo file had to solve my problems with  categories but I still have same problem.

aftertaf

Hi all, and Milbo.
Sorry for not getting back to you before : weekday job/life . . .

It doesn't seem fixed on my live or test site Milbo. i haven't touched anything all week, yet.. ;)
David

thonal

Long time user, first time poster.

I'm using
Apache/2.4.10 (Debian)
PHP 7.0.17
Joomla 3.6.5
VirtueMart 3.2.1

And see the same weird issues with the categories.
The setup was on an brand new installation, with brand new joomla and brand new VM3.2.1.
There is dual language. EN and NL. However the main page and datafilling is all in EN. There are only a few categories that have dutch descriptions, but no translations for manufacturer or products:


mysql> select count(*) from oxdau_virtuemart_categories;
+----+
| 17 |
+----+
1 row in set (0.00 sec)

mysql> select count(*) from oxdau_virtuemart_categories_en_gb;
+----+
| 17 |
+----+
1 row in set (0.00 sec)

mysql> select count(*) from oxdau_virtuemart_categories_nl_nl;
+---+
| 9 |
+---+
1 row in set (0.00 sec)

mysql> select count(*) from oxdau_virtuemart_manufacturercategories;
+---+
| 3 |
+---+
1 row in set (0.00 sec)

mysql> select count(*) from oxdau_virtuemart_manufacturercategories_en_gb;
+---+
| 3 |
+---+
1 row in set (0.00 sec)

mysql> select count(*) from oxdau_virtuemart_manufacturercategories_nl_nl;
+---+
| 0 |
+---+
1 row in set (0.00 sec)

mysql> select count(*) from oxdau_virtuemart_manufacturers;
+----+
| 14 |
+----+
1 row in set (0.00 sec)

mysql> select count(*) from oxdau_virtuemart_manufacturers_en_gb;
+----+
| 14 |
+----+
1 row in set (0.00 sec)

mysql> select count(*) from oxdau_virtuemart_manufacturers_nl_nl;
+---+
| 0 |
+---+
1 row in set (0.00 sec)

mysql> select count(*) from oxdau_virtuemart_paymentmethods;
+---+
| 5 |
+---+
1 row in set (0.00 sec)

mysql> select count(*) from oxdau_virtuemart_paymentmethods_en_gb;
+---+
| 5 |
+---+
1 row in set (0.00 sec)

mysql> select count(*) from oxdau_virtuemart_paymentmethods_nl_nl;
+---+
| 0 |
+---+
1 row in set (0.00 sec)

mysql> select count(*) from oxdau_virtuemart_products;
+-----+
| 315 |
+-----+
1 row in set (0.00 sec)

mysql> select count(*) from oxdau_virtuemart_products_en_gb;
+-----+
| 315 |
+-----+
1 row in set (0.00 sec)

mysql> select count(*) from oxdau_virtuemart_products_nl_nl;
+---+
| 0 |
+---+
1 row in set (0.00 sec)

mysql> select count(*) from oxdau_virtuemart_shipmentmethods;
+---+
| 3 |
+---+
1 row in set (0.00 sec)

mysql> select count(*) from oxdau_virtuemart_shipmentmethods_en_gb;
+---+
| 3 |
+---+
1 row in set (0.00 sec)

mysql> select count(*) from oxdau_virtuemart_shipmentmethods_nl_nl;
+---+
| 0 |
+---+
1 row in set (0.00 sec)

mysql> select count(*) from oxdau_virtuemart_vendors;
+---+
| 1 |
+---+
1 row in set (0.00 sec)

mysql> select count(*) from oxdau_virtuemart_vendors_en_gb;
+---+
| 1 |
+---+
1 row in set (0.00 sec)

mysql> select count(*) from oxdau_virtuemart_vendors_nl_nl;
+---+
| 0 |
+---+
1 row in set (0.00 sec)


In short:
Add product -> Enter stuff -> Select Category -> "Save" -> Category empty.
--OR---
Edit product -> Change stuff -> Remove Category -> "Save" -> Category set back as previous category.

If I can help someone by producing traces or logs, let me exactly know what I have to do!








aftertaf

Edit product -> Change stuff -> Remove Category -> "Save" -> Category set back as previous category.

Quick 'workaround' :
Edit product -> CTRL + F5 to refresh again -> Categories reloaded OK -> edit Stuff -> Save -> Categories OK.

encreplus

Quote from: Milbo on April 11, 2017, 15:25:35 PM
Try this file, extract to components/com_virtuemart/assets/js

For me it is working now correctly with this file

Thanks

macigatto

I got same problem, not able to change categories in product editing.
now with this new file JS it is working fine.

I hope it will be in next release of VM.

thank you

aftertaf

I still have the issue on my live & test sites. with firefox, F5 is enough after a change of category & save in the prodcts screen, to refresh any category changes.
In FireFox, I see the text 'loading...' for a split second when refreshing with F5, but not when it does its own refresh when saving.
Tested with Test istraxx Fr product.

EsSa55

The patch file has not helped me.

Ctl+F5 does work but should obviously not be necessary.

jenkinhill

Kelvyn
Lowestoft, Suffolk, UK

Retired from forum life November 2023

Please mention your VirtueMart, Joomla and PHP versions when asking a question in this forum

EsSa55

Thanks.

Already updated.

Issue the same.

I have tried a fresh install and that is fine.

Not practical for live site though.

Milbo

This can be an old js library. Please check also the new language option and enable the dual fallback.
Should I fix your bug, please support the VirtueMart project and become a member
______________________________________
Extensions approved by the core team: http://extensions.virtuemart.net/

EsSa55

Quote
This can be an old js library.

What is the solution, please?

Quote
Please check also the new language option and enable the dual fallback.

Dual fallback is already enabled, although since we do not use 2 languages, it should be switched off?

Either way, whichever combination of Fallback options I select, makes no difference.

Only Ctl+F5 visually populates the Category field

We have 12 languages, 11 sub-domains + default GBP.


TIA

Milbo

When you have more than 2 languages, you should of course not use the dualfallback. I think (hope) it is anyway deactivated then. The new options to see the used language should help you to understand if you use a fallback or not.

You must also differ problems between the FE and BE. It can be also a systemplugin, which interfers. There are some systemplugins for VM, which load the Config, which sets the language and this can happen, before the language switch, so it loads the wrong language. The solution is here to use the new parameter of "loadConfig" to prevent initialising of the language.
Should I fix your bug, please support the VirtueMart project and become a member
______________________________________
Extensions approved by the core team: http://extensions.virtuemart.net/

aftertaf

Me too, still have problems.
Can you give us an idea of which js library might be old?