On "Attribute your contribution," "Attribute to organizations or customers" sometimes appears selected, despite my default values are saved without that value selected

Created on 7 September 2025, 9 days ago

Problem/Motivation

The Attribute to organizations or customers value shown in Attribute your contribution appears selected even though I saved my defaults with that value not selected.

Steps to reproduce

I closed šŸ“Œ Add Dripyard.com to Planet Drupal Active as fixed, and then clicked on please review the contribution record. On https://new.drupal.org/contribution-record/11423380, I noticed that Attribute to organizations or customers was selected, despite I previously (on the contribution record page for a different issue) clicked on Save and set as default and that value was not selected.

I deselected Attribute to organizations or customers, clicked on Save and set as default, and then gave credits.

The Attribute to organizations or customers is no longer shown as selected, and the setting seems to be kept.

This is the second time it happens, in the past two day. In that case, I did exactly what I described here, but Attribute to organizations or customers was still shown selected today.

To make it clearer: After I deselect Attribute to organizations or customers and click on Save and set as default, Attribute to organizations or customers is shown as deselected for the next issues I close, until (suddenly) it is shown as selected.

I always use the same browser (Firefox). Between today and when I got this same issue, I always used Firefox; I did not even use another browser for opening a site in private mode.

šŸ› Bug report
Status

Active

Version

1.0

Component

User interface

Created by

šŸ‡®šŸ‡¹Italy apaderno Brescia, šŸ‡®šŸ‡¹

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

  • Issue created by @apaderno
  • šŸ‡®šŸ‡¹Italy apaderno Brescia, šŸ‡®šŸ‡¹

    It happened again today: Attribute to organizations or customers was not selected in the credit record pages for issues I edited, except for one.

    All the issues I edited, and for which I checked the credit record page to credit people who should have been credited, were old issues, but that should not make any difference.

  • šŸ‡®šŸ‡¹Italy apaderno Brescia, šŸ‡®šŸ‡¹

    In an issue, neither I’m volunteering my own time nor Attribute to organizations or customers was selected, despite I always select I’m volunteering my own time and deselect Attribute to organizations or customers, and click on Save and set as default, when a credit record page shows as selected the wrong values.

  • šŸ‡®šŸ‡¹Italy apaderno Brescia, šŸ‡®šŸ‡¹

    As last note: The credit record pages for closed issues started to show both Attribute to organizations or customers and I’m volunteering my own time selected; the same happens for this issue.

    I commented on šŸ’¬ Offering to co-maintain User restrictions Active , where I have not posted any other comment. When I visited https://new.drupal.org/contribution-record/10009527, I still got both Attribute to organizations or customers and I’m volunteering my own time selected.

    It seems the value I set as default are not saved as such.

  • šŸ‡ŖšŸ‡øSpain fjgarlin

    ...were old issues, but that should not make any difference.

    There is a difference with new issues vs old issues where you already are part of it. The setting should persist for brand new issues and new attributions.

    But if you were already listed on an issue before September 3td, which is when we did the change, the value for that checkbox is the value that was set in the D7 issue.

    We only use defaults when we are bringing a user for the first time into an issue.

    I will close it with "Cannot reproduce", but if you notice this in new issues and new attributions, please reopen.

  • Now that this issue is closed, please review the contribution record.

    As a contributor, attribute any organization helped you, or if you volunteered your own time.

    Maintainers, please credit people who helped resolve this issue.

  • šŸ‡®šŸ‡¹Italy apaderno Brescia, šŸ‡®šŸ‡¹

    We only use defaults when we are bringing a user for the first time into an issue.

    On šŸ’¬ Offering to co-maintain User restrictions Active , I posted for the first time on September 7, 2025. Still, after I posted that comment, https://new.drupal.org/contribution-record/10009527 did not show my default values.
    The last screenshot in my previous comment shows what I saw.

  • šŸ‡®šŸ‡¹Italy apaderno Brescia, šŸ‡®šŸ‡¹

    if you notice this in new issues and new attributions, please reopen

    The same happened on šŸ“Œ Add acbramley as co maintainer Active : I edited the issue metadata today, and visited https://new.drupal.org/contribution-record/11423535. Still, the form shows as selected two options instead of one.

    If I change the values shown for that issue, and click on Save and set as default, those values will be remembered for that issue, but for a new issue where I post my first comment, those values are not remembered, which means the Save and set as default button works like the Save button.

  • šŸ‡®šŸ‡¹Italy apaderno Brescia, šŸ‡®šŸ‡¹
  • šŸ‡ŖšŸ‡øSpain fjgarlin

    I think I found the issue. This commit shoudl fix it: https://git.drupalcode.org/project/contribution_records/-/commit/61cd04e...

  • šŸ‡ŖšŸ‡øSpain fjgarlin

    This is deployed and should be fixed now. No need to resave defaults, it should just pick them up properly.

  • Now that this issue is closed, please review the contribution record.

    As a contributor, attribute any organization helped you, or if you volunteered your own time.

    Maintainers, please credit people who helped resolve this issue.

Production build 0.71.5 2024