Skip to content

Subforem update fails with uninitialized constant Admin::Settings::Community in current image #109

Description

@Abdul-Raffay-0

Describe the bug
Subforem update fails with a server error when submitting changes in the admin panel. The request crashes due to a missing Ruby constant.

Error:

NameError (uninitialized constant Admin::Settings::Community)
app/controllers/admin/subforems_controller.rb:117:in `update_community_settings'

To Reproduce
Steps to reproduce the behavior:

Go to /admin/customization/subforems/1/edit
Modify any field (domain, tagline, description, or member_label)
Click "Update Subforem"
See error (500 Internal Server Error)

Expected behavior
Subforem settings should update successfully and redirect back to the admin page without errors.

Screenshots
Not applicable (server-side error in logs).

OS

Fedore CoreOS

Cloud Provider

Digital Ocean

Other (self-hosted via Podman containers)

Additional context

Forem image: localhost/forem/forem:current
Architecture: Podman containerized deployment
Services: Rails, Sidekiq worker, Redis, PostgreSQL, Traefik
Admin UI loads correctly; only Subforem update fails
Likely caused by missing or renamed Admin::Settings::Community module in current build
No issue with database or container runtime
Restarting services does not resolve the error

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions