# Não foi possível salvar as alterações de um Grupo

**URL:** https://meta.discourse.org/t/unable-to-save-changes-to-a-group/84954
**Category:** Bug
**Created:** [10 Abril , 2018 09:27 UTC](https://meta.discourse.org/t/unable-to-save-changes-to-a-group/84954 "2018-04-10T09:27:36Z")
**Posts on this page:** 7
**Page:** 1

<div class="post-metadata">

### Author: ![mathew.cropper](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/mathew.cropper/32/94102_2.png) [@mathew.cropper](https://meta.discourse.org/u/mathew.cropper)
#### Post date: [10 Abril , 2018 09:27 UTC](https://meta.discourse.org/t/unable-to-save-changes-to-a-group/84954/1 "2018-04-10T09:27:36Z")

</div>

Issue: Making any change to a group and trying to save it is unsuccessful. It appears to save, but when you leave the group management page the changes have not taken effect. On returning to the group management page, the changes are not present. I’m seeing no console errors.

Repro steps:

- Sign in as an admin user
- Go to `/groups`
- Select `admins`
- Select `manage`
- Change the **Full Name** of the group
- Select `save`
- Leave the page
- Navigate back to the page
- **Expected:** Changes are saved and visible on the page.
- **Actual:** Changes were not saved, and the page is in its original state.

Version: [v2.0.0.beta5 +212](https://github.com/discourse/discourse/compare/15873200b37577db4a0b7615d50bbdb229f187b1...tests-passed)

HAR file: [https://drive.google.com/file/d/1yDDMeSl0ePmsoZ9LoJRN8FjDDSBQ8YLC/view?usp=sharing](https://drive.google.com/file/d/1yDDMeSl0ePmsoZ9LoJRN8FjDDSBQ8YLC/view?usp=sharing)

---

<div class="post-metadata">

### Author: ![j.jaffeux](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/j.jaffeux/32/60297_2.png) [@j.jaffeux](https://meta.discourse.org/u/j.jaffeux)
#### Post date: [10 Abril , 2018 09:30 UTC](https://meta.discourse.org/t/unable-to-save-changes-to-a-group/84954/2 "2018-04-10T09:30:51Z")

</div>

I can confirm I can repro this. This is happening because this group is considered an “automatic group” and as such its “Full name” can’t be changed.

@tgxworld I’m not sure if this is new behaviour or not. But maybe we should consider hiding this field when the group is automatic, it’s quite unexpected.

something like:

```plaintext
{{#unless model.automatic}}
  <div class="control-group">
    <label class="control-label" for='full_name'>{{i18n 'groups.manage.full_name'}}</label>

    {{text-field name='full_name'
        class="input-xxlarge group-form-full-name"
        value=model.full_name}}
  </div>
{{/unless}}

```

in `jsapp/templates/components/groups-form-profile-fields.hbs`

---

<div class="post-metadata">

### Author: ![tgxworld](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/tgxworld/32/106117_2.png) [@tgxworld](https://meta.discourse.org/u/tgxworld)
#### Post date: [10 Abril , 2018 09:38 UTC](https://meta.discourse.org/t/unable-to-save-changes-to-a-group/84954/3 "2018-04-10T09:38:40Z")

</div>

Oops this is actually a bug. When the group is automatic, `groups/admins/manage/profile` should not be accessible. I’ll fix.

---

<div class="post-metadata">

### Author: ![mathew.cropper](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/mathew.cropper/32/94102_2.png) [@mathew.cropper](https://meta.discourse.org/u/mathew.cropper)
#### Post date: [10 Abril , 2018 09:40 UTC](https://meta.discourse.org/t/unable-to-save-changes-to-a-group/84954/4 "2018-04-10T09:40:43Z")

</div>

Thanks @tgxworld. Should we be able to add/edit flairs for those groups as well? I originally came across this because I tried adding a flair and it failed.

---

<div class="post-metadata">

### Author: ![tgxworld](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/tgxworld/32/106117_2.png) [@tgxworld](https://meta.discourse.org/u/tgxworld)
#### Post date: [10 Abril , 2018 11:08 UTC](https://meta.discourse.org/t/unable-to-save-changes-to-a-group/84954/5 "2018-04-10T11:08:50Z")

</div>

You should be able to but not for automatic groups though.

---

<div class="post-metadata">

### Author: ![tgxworld](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/tgxworld/32/106117_2.png) [@tgxworld](https://meta.discourse.org/u/tgxworld)
#### Post date: [11 Abril , 2018 03:04 UTC](https://meta.discourse.org/t/unable-to-save-changes-to-a-group/84954/6 "2018-04-11T03:04:50Z")

</div>

Fixed in

[https://github.com/discourse/discourse/commit/9176b2591d4945589cc59496145981ddab47f6b8](https://github.com/discourse/discourse/commit/9176b2591d4945589cc59496145981ddab47f6b8)

---

<div class="post-metadata">

### Author: ![tgxworld](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/tgxworld/32/106117_2.png) [@tgxworld](https://meta.discourse.org/u/tgxworld)
#### Post date: [12 Abril , 2018 08:30 UTC](https://meta.discourse.org/t/unable-to-save-changes-to-a-group/84954/7 "2018-04-12T08:30:13Z")

</div>


