Author Topic: Categories problems after update to 3.2.0  (Read 2066 times)

aftertaf

  • Jr. Member
  • **
  • Posts: 80
    • sO couture
  • VirtueMart Version: 3.2.1
Re: Categories problems after update to 3.2.0
« Reply #30 on: April 03, 2017, 13:09:49 pm »
i'm trying with both chrome and FF. - both are affected
And i'll now use CTRL-F5 on ANY change to be sure.
Not enough of a joomla head to see where this comes from, but why wasn't it doing this in any way before the updates to 3.2?
More importantly is there anything I can change in J!/VM cache methods to help?
This will end up driving me loony ;)

Webmaster for my wife
Long live joomla, virtuemart and open source in general.
usually latest version of VM & J!
Using POSForWebshops, TemplatecreatorCK, MaximenuCK, VM BatchEdit Pro among other things...
VM 3.2.1, PHP Version 7.0.18-1~dotdeb+8.1, mariadb 10.1.22 Joomla! 3.6.5 Stable

EsSa55

  • Beginner
  • *
  • Posts: 20
    • 4FootyFans
  • Skype Name: talk2-4footyfans
  • VirtueMart Version: Live: 3.0.18 / Test: 3.2.0
Re: Categories problems after update to 3.2.0
« Reply #31 on: April 04, 2017, 09:02:33 am »
i'm trying with both chrome and FF. - both are affected
And i'll now use CTRL-F5 on ANY change to be sure.
Not enough of a joomla head to see where this comes from, but why wasn't it doing this in any way before the updates to 3.2?
More importantly is there anything I can change in J!/VM cache methods to help?
This will end up driving me loony ;)

All you describe is the same for me and as I demonstrated on page 1.

1. Multi-language with BE in en-GB and same for FEs mainlanguage;
2. NOT mult-vendor;
3. Checked with 3 browsers: FF, Chrome, MS Edge;
4. This is a new 'feature' of VM3.2.n;
5. I am having to clear all caches: siite/admin/browser very often

VM3.0.18 was fine and I have reverted to that version until a solution is found.

Best

Milbo

  • Virtuemart Projectleader
  • Administrator
  • Super Hero
  • *
  • Posts: 8986
  • VM3.2 Cached and Optimized
    • VM3 Extensions
  • VirtueMart Version: VirtueMart 3 on joomla 3
Re: Categories problems after update to 3.2.0
« Reply #32 on: April 04, 2017, 13:34:52 pm »
EsSa55, it is impossible to find a solution, when people who have the problem do not work on it. Because the whole testing team cannot reproduce it. There are 5 people with this problem, Geppux, aftertaf, finngu, encreplus and you. Mhuebler has a similar problem, but it is a migrated store (not updated).

4. This is a new 'feature' of VM3.2.n;
I do not understand what you want to explain with this.

5. I am having to clear all caches: siite/admin/browser very often
It makes no sense to mix all caches. Cache is not cache. It is like saying any moving vehicle is a car, ignoring ships and airplanes. Vm itself uses program caches and the joomla (file) cache. The used joomla cache of VM is ONLY in the Frontend. Browser caches are a completly different thing. I also think you 3 encounter maybe different problems.
Just for your information. I delete almost never any cache in my store, and I almost never delete my browser cache. Additionally you may have a server cache, creating extra problems.

It could be also simple to solve, when some of you would be able to use the vmdebug. I could maybe also solve it within minutes, when I could check your store. All I need is a superadmin access and an installed extplorer and the permission to enable the vmdebug for administrators (so I can even debug a live store without problems) and a membership.
I should fix your bug, please support the VirtueMart project and become a member
______________________________________
Extensions approved by the core team: http://extensions.virtuemart.net/

Geppux

  • Jr. Member
  • **
  • Posts: 161
Re: Categories problems after update to 3.2.0
« Reply #33 on: April 07, 2017, 11:25:50 am »
Hi Milbo, I activated vmdebug and I opened a product having this behaviour: when I created it I assigned to this product a category and saved without problems... after I decided to change the category but all the time I re-open the product, automatically the new category is replaced with the original first category, so all the time that I need to make a change of this product like the description or the stock etc... I need, before to save and exiting, to correct categories and insert the correct one. In the enclosed attachments there are the vmdebug messages I have when I open the product and I find the category changed and when I save and exit the product.
I hope this can help you to solve the problem...thank you.
Giuseppe

Geppux

  • Jr. Member
  • **
  • Posts: 161
Re: Categories problems after update to 3.2.0
« Reply #34 on: April 07, 2017, 12:01:26 pm »
I installed locally a backup of my site and... is not affected by the problem! If I open the same product that change the category in the live site, locally the category remains the correct one... Locally I have php 7, live 5.6.28 if it may help...

aftertaf

  • Jr. Member
  • **
  • Posts: 80
    • sO couture
  • VirtueMart Version: 3.2.1
Re: Categories problems after update to 3.2.0
« Reply #35 on: April 07, 2017, 16:11:58 pm »
my sites that are affected are running on php7, as per my signature...

When you reopen a product : press CTRL + F5 before modifying anything else...does that reload category properly ?
Webmaster for my wife
Long live joomla, virtuemart and open source in general.
usually latest version of VM & J!
Using POSForWebshops, TemplatecreatorCK, MaximenuCK, VM BatchEdit Pro among other things...
VM 3.2.1, PHP Version 7.0.18-1~dotdeb+8.1, mariadb 10.1.22 Joomla! 3.6.5 Stable

EsSa55

  • Beginner
  • *
  • Posts: 20
    • 4FootyFans
  • Skype Name: talk2-4footyfans
  • VirtueMart Version: Live: 3.0.18 / Test: 3.2.0
Re: Categories problems after update to 3.2.0
« Reply #36 on: April 07, 2017, 16:19:21 pm »
My site, which has the same issue, is running php 5.6.30

Geppux

  • Jr. Member
  • **
  • Posts: 161
Re: Categories problems after update to 3.2.0
« Reply #37 on: April 07, 2017, 16:23:28 pm »
Yes Aftertaf, pressing ctrl-F5 the categories are reloaded properly.... what is it and why I've no problems locally?

EsSa55

  • Beginner
  • *
  • Posts: 20
    • 4FootyFans
  • Skype Name: talk2-4footyfans
  • VirtueMart Version: Live: 3.0.18 / Test: 3.2.0
Re: Categories problems after update to 3.2.0
« Reply #38 on: April 07, 2017, 16:39:37 pm »
I have 3.2.0 on my Test site and pressing Ctl+F5 does bring the correct categories into focus.

However, Categories seem to be ajax loading and taking an extremely long time to appear.

To have to press Ctl+F5 every time must be a workaround rather than the solution to the problem.

aftertaf

  • Jr. Member
  • **
  • Posts: 80
    • sO couture
  • VirtueMart Version: 3.2.1
Re: Categories problems after update to 3.2.0
« Reply #39 on: April 07, 2017, 16:45:56 pm »
hi guys, dunno yet root cause.
yes, its a workaround, not the fix as such. going to try to work with milbo (or help him to see where it could come from) on my site. stay tuned in case . . .
Webmaster for my wife
Long live joomla, virtuemart and open source in general.
usually latest version of VM & J!
Using POSForWebshops, TemplatecreatorCK, MaximenuCK, VM BatchEdit Pro among other things...
VM 3.2.1, PHP Version 7.0.18-1~dotdeb+8.1, mariadb 10.1.22 Joomla! 3.6.5 Stable

EsSa55

  • Beginner
  • *
  • Posts: 20
    • 4FootyFans
  • Skype Name: talk2-4footyfans
  • VirtueMart Version: Live: 3.0.18 / Test: 3.2.0
Re: Categories problems after update to 3.2.0
« Reply #40 on: April 07, 2017, 16:48:38 pm »
Thanks aftertaf

Geppux

  • Jr. Member
  • **
  • Posts: 161
Re: Categories problems after update to 3.2.0
« Reply #41 on: April 07, 2017, 18:39:12 pm »
I thought that the ctrl-F5 was a workaround to be made everytime I was opening an old product but it fixs finally the problem for that product... if I re-open it the categories are ok...

Milbo

  • Virtuemart Projectleader
  • Administrator
  • Super Hero
  • *
  • Posts: 8986
  • VM3.2 Cached and Optimized
    • VM3 Extensions
  • VirtueMart Version: VirtueMart 3 on joomla 3
Re: Categories problems after update to 3.2.0
« Reply #42 on: April 11, 2017, 15:25:35 pm »
Try this file, extract to components/com_virtuemart/assets/js
I should fix your bug, please support the VirtueMart project and become a member
______________________________________
Extensions approved by the core team: http://extensions.virtuemart.net/

EsSa55

  • Beginner
  • *
  • Posts: 20
    • 4FootyFans
  • Skype Name: talk2-4footyfans
  • VirtueMart Version: Live: 3.0.18 / Test: 3.2.0
Re: Categories problems after update to 3.2.0
« Reply #43 on: April 12, 2017, 12:42:22 pm »
Hi

The new file does not work for me.

Also, the current method of category loading seems to be new in 3.2.n

See attached screenshot.

Milbo

  • Virtuemart Projectleader
  • Administrator
  • Super Hero
  • *
  • Posts: 8986
  • VM3.2 Cached and Optimized
    • VM3 Extensions
  • VirtueMart Version: VirtueMart 3 on joomla 3
Re: Categories problems after update to 3.2.0
« Reply #44 on: April 13, 2017, 10:10:39 am »
In general there are 3 features which could create problems with the categories.

The categories are loaded by an ajax, so first you should always check the console for js problems. When there is a js problem, then the categories are just not loaded.
The multilanguage fallback can lead to confusion. There users with a multilanguage store with 5 languages and anything works as expected, also with fallbacks.

The new file works for aftertaf. It just disables the browser caching for the ajax and I added the used language to the url. So it should at least work. What do you mean with, it does not work?
I should fix your bug, please support the VirtueMart project and become a member
______________________________________
Extensions approved by the core team: http://extensions.virtuemart.net/