This is not really a bug, it's more like an undocumented anomaly or maybe an artefact of an older version.

The default value for the field License is set to the string 'nothing', which is not coherent with the available values (it should be set to 'none').

Default value:
media_gallery.install line 693

    'default_value' => array(
      array('value' => 'nothing'),
    )

Available values:
media_gallery.fields.inc lines 305 - 312

    'none' => t('None (all rights reserved)'),
    '' => t('-- Creative Commons --'),
    'cc_sa_nc' => t('Attribution, Non-Commercial, Share Alike'),
    'cc_nc' => t('Attribution, Non-Commercial'),
    'cc_nd_nc' => t('Attribution, Non-Commercial, No Derivative Works'),
    'cc' => t('Attribution'),
    'cc_sa' => t('Attribution, Share Alike'),
    'cc_nd' => t('Attribution, No Derivative Works'),

I haven't experimented any side effect because of this "bug", beside the fact that my personal template has to check for multiple values that means the same thing: 'all rights reserved' can be represented by 'nothing', 'none', empty string '' or even maybe NULL.
I'm not sure if it need to be that way or if the values has been changed in the field definition but not in the default value. If it needs to be that way, I would be curious to know why.

Comments

gaellafond’s picture

Issue summary: View changes

I forgot to mention empty string as a possible value for 'all rights reserved'

ivnish’s picture

Issue summary: View changes
Status: Active » Closed (outdated)