Fix undefined method markdown_placeholders_feature_flag_enabled? for a ProjectNamespace

What does this MR do and why?

The log https://log.gprd.gitlab.net/app/discover#/?_g=h@e5dc602&_a=h@d054e3c shows

    "class": "NoMethodError",
        "message": "undefined method `markdown_placeholders_feature_flag_enabled?' for #<Namespaces::ProjectNamespace id:34990267 @hindman/infra/support>"

in lib/banzai/filter/markdown_engines/glfm_markdown.rb:88:in 'placeholders_disabled?'. This should have already been protected by !198821 (merged), but this still seems to be occurring.

References

Related to #556207 (closed)

MR acceptance checklist

Evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.

Edited by Brett Walker

Merge request reports

Loading