Cascading Dropdown rendered as Checklist Error

I have a cascading dropdown that works fine when rendered as a dropdown, but when rendered as a checklist I get an error in firebug "TypeError: this.eleemtn.getElement() is null" in the databasejoin-min.js on line 2, col 4164. The page in question is at http://www.quavantdev.com/index.php/dashboards/test-1, attached is a screen shot of the error and what i get when the field is rendered as a dropdown. I can provide access to the backend if needed.

Ron
 

Attachments

  • Screen Shot 2016-02-08 at 9.57.45 PM (3).png
    Screen Shot 2016-02-08 at 9.57.45 PM (3).png
    1.6 MB · Views: 130
  • Screen Shot 2016-02-08 at 10.09.30 PM (3).png
    Screen Shot 2016-02-08 at 10.09.30 PM (3).png
    1.1 MB · Views: 141
  • Screen Shot 2016-02-08 at 10.10.42 PM (3).png
    Screen Shot 2016-02-08 at 10.10.42 PM (3).png
    1.1 MB · Views: 135
Can you enable "Debug JS" (Fabrik global options, under the Debug tab, in the dropdown). That will make the pages load the uncompressed JS, which will give a meaningful line number for the error. Let me know the new line number.

Is this a recent github? I fixed some issues with CDD as checkbox a month or so ago.

-- hugh
 
Nope, it's working for me. And looking at that line number, I suspect you don't have the latest code.

-- hugh
 
I have updated the code and now running version 3.4.2 dated January 2016 and see no change in the behavior. I get the same error but now on line 293, col 25.
 
What site template are you using? If it's a bootstrap v3 one, have you updated the layout overrides?

I just tested again, in both Protostar and Purity III (which uses the bs3 overrides), and it's working fine. The line that error is on could only be reached if the jsLayout for the checkboxes is not there, which are either located here:

https://github.com/Fabrik/fabrik/tree/joomla3/plugins/fabrik_element/databasejoin/layouts

... or in the appropriate override location, from our repo here:

https://github.com/Fabrik/Fabrik-Joomla-alt-layouts/tree/master/bootstrap3

If you are using a bs3 site template, and don't have that override for fabrik-element-databasejoin-form-checkbox.php, that would cause the problem (I think).

If you want to fill out http://fabrikar.com/you/my-sites, and let me know which form to look at, I'll take a look.

-- hugh
 
It works fine on the backend, which means it's a front end template issue.

However, I just downloaded and installed Anacron, and it works just fine, with no overrides (well, the checkbox join stuff does, I haven't done a test of everything).

Have you done a full github update? If you do that, you'll be running the same code I am, which works.

-- hugh
 
OK, I was able to duplicate and fix that.

I'm testing the fix locally for today, I'll commit it by tomorrow.

-- hugh
 
We are in need of some funding.
More details.

Thank you.

Members online

No members online now.
Back
Top