Learn More





Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeDevelopment and...Development and...Building ExtensionsBuilding ExtensionsModulesModulesDNN Evoq 8 and Modules in Edit ModeDNN Evoq 8 and Modules in Edit Mode
New Post
3/23/2015 5:28 PM

We recently upgraded from DNN 7 to DNN 8 and have been experiencing quirky behavior here and there.  One bug we encountered recently involved a particular module on a page while in edit mode and the Publish bar at the bottom disappearing. 

 This bug was discovered by putting a page in edit mode and then adding our custom module to the page.  The module uses knockout js and the jquery ui widget factory.  As soon as the module is put on a page, the publish bar disappears and we receive a 404 error in the console for edit-bar.html GET /undefined/EditBar/Html/edit-bar.html 404 (Not Found) . Due to the undefined path, we assumed it was JS related.  We couldn't find anything in our code that would conflict with DNN's code.  We traced it back to dnn.js and the getVar/getVars functions.  When it calls getVars, the dnn.vars variable isn't null, its an empty it's never initialized from the hidden input.  When the page loads, the variable IS we did our best to track down where this variable changes.  Not sure where it's SUPPOSED to be initialized initially, but it appears the object stops being null right when the jQuery Widget is being created.  So it appears something with jQuery's Widget Factory is conflicting with DNN's getVars method, specifically the dnn.vars object.  Our temporary workaround was to set dnn.vars = null right in the constructor of the jquery widget, however we are hoping issues like this are addressed in future releases of DNN.

The offending code:

getVars: function() {
        if (this.vars == null) {
            var a = dnn.dom.getById("__dnnVariable");
            if (a != null) {
                if (a.value.indexOf("`") == 0) {
                    a.value = a.value.substring(1).replace(/`/g, '"')
                if (a.value.indexOf("__scdoff") != -1) {
                    COL_DELIMITER = "~|~";
                    ROW_DELIMITER = "~`~";
                    QUOTE_REPLACEMENT = "~!~"
            if (a != null && a.value.length > 0) {
                this.vars = Sys.Serialization.JavaScriptSerializer.deserialize(a.value)
            } else {
                this.vars = []
        return this.vars

New Post
3/23/2015 8:52 PM
as an Evoq customer you can raise this with the customer support team and they will log it on your behalf to (it will be reported as a support incident with a tracking ID so they can report back to you when it's fixed)

Buy the new Professional DNN7: Open Source .NET CMS Platform book Amazon US
HomeHomeDevelopment and...Development and...Building ExtensionsBuilding ExtensionsModulesModulesDNN Evoq 8 and Modules in Edit ModeDNN Evoq 8 and Modules in Edit Mode

These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:

  1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DNN.
  2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.
Try Evoq
For Free
Start Free Trial
a Demo
See Evoq Live
Need More Information?