Site doesn't load with 2.4.5 and stable assign

Hi, I just updated my site to 2.4.5 and the latest stable branch of the assign plugin and my site shows a blank page unless I disable the assign plugin. If I can provide any diagnostic into please let me know.

1 Like

In your app.yml do you clone the stable branch of the plugin?

1 Like

In your app.yml do you clone the stable branch of the plugin?

Yes, like this

hooks:
  after_code:
    - exec:
        cd: $home/plugins
        cmd:
          - git clone https://github.com/discourse/docker_manager.git
          - git clone https://github.com/discourse/discourse-spoiler-alert.git
          - git clone https://github.com/discourse/discourse-styleguide.git
          - git clone --branch stable https://github.com/discourse/discourse-solved.git
          - git clone https://github.com/discourse/discourse-user-notes.git
          - git clone https://github.com/discourse/discourse-checklist.git
          - git clone --branch stable https://github.com/discourse/discourse-assign.git
2 Likes

What about if you use:

git clone --single-branch --branch stable

What about if you use:

git clone --single-branch --branch stable

This results in the same issue. Why would adding --single-branch make a difference?

For the record here is the JS error that’s breaking the rendering of the site

TypeError: t.addKeyboardShortcut is not a function _discourse-assign-247a26621189a1714b70bd1b1b82b3a6fecb3b42abd693e59778ada8c009780f.js:732:8
    initialize _discourse-assign-247a26621189a1714b70bd1b1b82b3a6fecb3b42abd693e59778ada8c009780f.js:732
    withPluginApi _application-ed0ac692ab93afd4124933b80c2b9e44bca02a77b73366b3e67eef88e883e0db.js:21205
    initialize _discourse-assign-247a26621189a1714b70bd1b1b82b3a6fecb3b42abd693e59778ada8c009780f.js:743
    initialize _application-ed0ac692ab93afd4124933b80c2b9e44bca02a77b73366b3e67eef88e883e0db.js:7258
    jQuery 21
1 Like