Welcome, Guest
Username: Password: Remember me
  • Page:
  • 1

TOPIC:

Filters/FKey comboboxes with empty rows 17 Nov 2013 23:54 #11658

  • mvacha
  • mvacha's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
  • Posts: 25
  • Thank you received: 1
Hi, I have another issue with. filters.
Some of them are just showing empty fields :(

First one is groupped, ajax-loaded combobox in form view (both frontend and backend)

Recreating the field didn't help :(

Second one is the filter for the same, groupped field. It's not loading values at all :(

Again, both front-end and back-end, recreating didn't help.

Please Log in or Create an account to join the conversation.

Filters/FKey comboboxes with empty rows 17 Nov 2013 23:58 #11659

  • mvacha
  • mvacha's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
  • Posts: 25
  • Thank you received: 1
Tested just in sandbox (I'll deploy it localy in a few minutes).

Config:
Embedded FW, Exploded forms, All features, J-DOM Plug-in.

Please Log in or Create an account to join the conversation.

Filters/FKey comboboxes with empty rows 18 Nov 2013 00:09 #11660

  • mvacha
  • mvacha's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
  • Posts: 25
  • Thank you received: 1
Same behavior on localhost, but i also get this error with back/front-end filter:
Notice: Undefined variable: jsScript in C:\Vertrigo\www\Joomla\libraries\jdom\dom.php on line 689

And in dev console (Same on localhost and in sandbox):
event.returnValue is deprecated. Please use the standard event.preventDefault() instead.

Please Log in or Create an account to join the conversation.

Filters/FKey comboboxes with empty rows 18 Nov 2013 00:17 #11661

  • mvacha
  • mvacha's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
  • Posts: 25
  • Thank you received: 1
I was able to fix the notices by adding:
if(!isset($jsScript))
        $jsScript = "";
to the 687. line of dom.php, but the fields are still empty.

Please Log in or Create an account to join the conversation.

Filters/FKey comboboxes with empty rows 18 Nov 2013 09:58 #11663

  • admin
  • admin's Avatar
  • Offline
  • Administrator
  • Administrator
  • Chef
  • Posts: 3711
  • Thank you received: 986
One clue is to reset the group By property.
Because it seems broken. I mean, you have removed a table or unlinked a FK wich was used as a group by.

This is not really a bug. Simply that it does not unlink automatically.
Try this first : recreate the concerned fields.

Try also to log out/in to reset the sates permanent vars.

I am gonna check the warnings.
Coding is now a piece of cake

Please Log in or Create an account to join the conversation.

Filters/FKey comboboxes with empty rows 18 Nov 2013 14:34 #11664

  • mvacha
  • mvacha's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
  • Posts: 25
  • Thank you received: 1
I tried that, when i have combo with. just one field, it works. When I have combobox just with the "groupped by property" (in another view), it works. But one field groupped by another shows empty values :( I've also tried grouping by another field or duplikating the FKey field, that is causing the error, but I got the same white values :(

And the FK i deleted previously is not used in this form, so it shouldn't be the source of this problem :(

Logging in-out didn't help :(

Please Log in or Create an account to join the conversation.

Filters/FKey comboboxes with empty rows 18 Nov 2013 15:00 #11665

  • mvacha
  • mvacha's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
  • Posts: 25
  • Thank you received: 1
And locally I am getting this error:

Please Log in or Create an account to join the conversation.

Filters/FKey comboboxes with empty rows 18 Nov 2013 16:05 #11666

  • admin
  • admin's Avatar
  • Offline
  • Administrator
  • Administrator
  • Chef
  • Posts: 3711
  • Thank you received: 986
Fixed.

Sorry for that.
This was a collateral damage due to recent rewrite.

Cook is constantly evolving and I oftenly have to rewrite core features. The whole thing is very complex.
Sorry for inconveniency.
Regards.
Coding is now a piece of cake
The following user(s) said Thank You: mvacha

Please Log in or Create an account to join the conversation.

Filters/FKey comboboxes with empty rows 18 Nov 2013 16:18 #11668

  • etc
  • etc's Avatar
  • Offline
  • Premium Member
  • Premium Member
  • Posts: 132
  • Thank you received: 19
I had the same problem. I recreated concerning fields and filter bar. Problem is gone.

Please Log in or Create an account to join the conversation.

Filters/FKey comboboxes with empty rows 18 Nov 2013 18:49 #11671

  • mvacha
  • mvacha's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
  • Posts: 25
  • Thank you received: 1
Thanks for such an awesome support, everything works great now! :)

Please Log in or Create an account to join the conversation.

Filters/FKey comboboxes with empty rows 18 Nov 2013 20:53 #11672

  • admin
  • admin's Avatar
  • Offline
  • Administrator
  • Administrator
  • Chef
  • Posts: 3711
  • Thank you received: 986
Here to help.
Thanks to you too for the issues reporting.
Coding is now a piece of cake

Please Log in or Create an account to join the conversation.

  • Page:
  • 1
Time to create page: 0.093 seconds

Although I found this tool some time ago I just started learning experimenting and building this first component on Monday and now on Thursday afternoon it's already online. Although I already had a working version done with another tool this is much easier to build and at the end you have the freedom to own your own component. Once you know how to use Cook you will boost your productivity as the learning curve is really moderate compared to many other tools.
Giori (Forum)

Get Started