• Login
  • Register

DNN Forums

Ask questions about your website to get help learning DNN and help resolve issues.

DNN 9.8 dnnModuleManager

You are not authorized to post a reply.
Sort:


New Member


Posts:12
New Member

    Upon upgrading a dnn 9.3 to 9.8 an unexpected issue seems to have turned up on a consistent basis. Anytime some content manager tries to add a module the floating icon never turns up and remains invisible until Personabar > host> empty cache has been clicked.

    The moment the new module is added, these messages turn up in the developer bar console tab:
    '
    Uncaught TypeError: Cannot read property 'options' of undefined
        at dnn.dnnModuleDialog.apply (js:272)
        at handleNewModuleFromCookie (js:377)
    '

    The attached screen prints are related to the above lines, 272 and 377.

    What makes this error difficult is the fact that it only occurs when the concerned page has this setting: Display in menu = true.
    If Display in menu = false then this problem disappears. 

    In case of adding a new tab/page and deploying the same ascx template is in the above example it will work without errors. 

    Since the website contains a lot of pages the problem with the js dnn moduleManager represents quite a hassle.

    Anyone with similar experiences? And thanks for your attention.

     

    http://scarbo.dk/error_pages/517_js_formatted.PNG



    Veteran Member


    Posts:1079
    Veteran Member

      You might want to take a look at the logs in portals/_default/logs.

      For debugging, you might increate the logging level.

      Joe Craig
      DNN MVP
      Patapsco Research Group


      Veteran Member


      Posts:423
      Veteran Member

        The error seems to appear once in a while but every time in context of bad html:
        - https://www.dnnsoftware.com/forums/threadid/536066/scope/posts/threadpage/2 : old theme with tables.
        - third party module not closing a div: https://github.com/dnnsoftware/Dnn.Platform/issues/3407

        One more thing: As your error points to cookies and you mention 9.8....I remembered an issue with cookies that was solved for 9.8.1: https://github.com/dnnsoftware/Dnn.Platform/issues/4308
        Tjep's digital agencyRegards,
        Tycho de Waard

        Tjep's digital agency
        We just love DNN
        https://www.tjeps.com


        New Member


        Posts:12
        New Member

          Thanks for your advice on the subject - I have been through the log files with a log4net setting of 'All' but apparently this type of Javascript error isn't registered at the backend level.
          Since the pages are created using a template containing preembedded and empty Live Html modules it could be that some kind of 'bad html error' since the markup tends to somewhat complicated.
          Another thing to mention regarding this issue is the fact that when adding a new module on a page deploying the errorprone template the module in question will not be visible before emptying the cache. So I guess updating dnn would be worthwhile
          You are not authorized to post a reply.

          These Forums are dedicated to discussion of DNN Platform.

          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.

          Would you like to help us?

          Awesome! Simply post in the forums using the link below and we'll get you started.

          Get Involved