The AdPlugin is experiencing compatibility issues due to changes in the model. merefield noticed that the topic attribute is missing from the model, which was previously expected by the plugin. After investigation, david found that the issue occurred due to a refactoring mistake a few months ago, where the transformedPost was passed instead of the post into post-bottom-ad. Additionally, an old template file was left behind, making the issue harder to resolve. The issue is now understood and acknowledged, and merefield thanked david for looking into the problem.
Hi Robert - I don’t think this was intentional. Were you able to find out what @model is referring to? Would be good to work out whether it was a core or plugin change.
Ok I see what happened here - thanks for the heads-up @merefield
Two things:
During some refactoring a few months ago, we inadvertantly started passing the ‘transformedPost’ instead of ‘post’ into post-bottom-ad
During the same refactoring, we left an old post-bottom/discourse-adplugin.hbs file lying around. It didn’t actually do anything, but it made this issue waaay more tricky to figure out