• Hello Fabrik Community

    Fabrik is now in the hands of the development team that brought you Fabrik for Joomla 4. We have recently transitioned the Fabrik site over to a new server and are busy trying to clean it up. We have upgraded the site to Joomla 4 and are running the latest version of Fabrik 4. We have also upgraded the Xenforo forum software to the latest version. Many of the widgets you might have been used to on the forum are no longer operational, many abandoned by the developers. We hope to bring back some of the important ones as we have time.

    Exciting times to be sure.

    The Fabrik 4.0 Official release is now available. In addition, the Fabrik codebase is now available in a public repository. See the notices about these in the announcements section

    We wish to shout out a very big Thank You to all of you who have made donations. They have really helped. But we can always use more...wink..wink..

    Also a big Thank You to those of you who have been assisting others in the forum. This takes a very big burden off of us as we work on bugs, the website and the future of Fabrik.

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

Back
Top