Welcome, Guest
Username: Password: Remember me

TOPIC: [FIXED] Cascading / Ajax combo box not working after save

Cascading / Ajax combo box not working after save 20 May 2015 07:33 #13119

  • VeCrea
  • VeCrea's Avatar
  • Offline
  • Platinum Member
  • Absolute JCook fan
  • Posts: 473
  • Thank you received: 100
  • Karma: 30
Hello,
Cascading combo boxes do work fine the first time i use them, but as soon as i want to use it again, say after a "save and new", it doesn't populate. Cleaning cache works sometimes, but a bug nevertheless.
PLT : Ma classe / Séquences / Front end for Séquence
Could it be because i have no backend views ?
The administrator has disabled public write access.

Cascading / Ajax combo box not working after save 20 May 2015 11:20 #13123

  • admin
  • admin's Avatar
  • Offline
  • Administrator
  • Chef
  • Posts: 3711
  • Thank you received: 987
  • Karma: 140
I see. It is right.

Very interresting. I check it now.
Coding is now a piece of cake
The administrator has disabled public write access.

Cascading / Ajax combo box not working after save 20 May 2015 11:30 #13124

  • admin
  • admin's Avatar
  • Offline
  • Administrator
  • Chef
  • Posts: 3711
  • Thank you received: 987
  • Karma: 140
Ok, I can see it is because of persistant state filters that shouldn't be.

An error somewhere.

Keep in touch.
Coding is now a piece of cake
The administrator has disabled public write access.

Cascading / Ajax combo box not working after save 20 May 2015 11:44 #13125

  • admin
  • admin's Avatar
  • Offline
  • Administrator
  • Chef
  • Posts: 3711
  • Thank you received: 987
  • Karma: 140
Ok, found and fixed now.

The function wich has been updated is getUserStateFromRequest()

in:
classes/model/list.php

I don't know how it could have worked before. Very important fix and strange that it works before.

Thank you for the catch.
Coding is now a piece of cake
The administrator has disabled public write access.
The following user(s) said Thank You: VeCrea
Time to create page: 0.060 seconds

Get Started