Body: <p>I'm using a profile to bulk update membership details including membership type.</p>
  
  <p>What I want to do is to use the copy functionality to copy any changes from the first row to each row.  This works well for all fields apart from membership type.</p>
  
  <p>We have three membership types: staff, student and alumni. When I change the membership type in the first row to alumni and click to copy the value to all rows, the value that is set in all the rows is 'staff' not 'alumni'.  In fact any attempt to copy the membership type value results in 'staff' being shown as the default value.</p>
  
  <p>I've tried changing the order of membership types but this hasn't had any effect.</p>
  
  <p>I wondered if anyone had come across anything like this before?</p>
  
  <p>Thanks</p>
  
  <p><a href="https://i.sstatic.net/AcZ4c.png" rel="nofollow noreferrer"><img src="https://i.sstatic.net/AcZ4c.png" alt="enter image description here"></a></p>
  
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2018-07-13T14:32:41.423Z
Comments.Text: Can you reproduce that effect on https://dmaster.demo.civicrm.org/ ?  What version of Civi are you running?
Comments.UserDisplayName: Aidan
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2018-07-13T14:48:32.743Z
Comments.Text: Thanks Aidan for the suggestion of testing on https://dmaster.demo.civicrm.org/
  I'm running Civi 5.1.0 on WordPress.
  I can replicate this on the demo site.  The demo site has the membership types, student, general and lifetime.  This time it defaults to the 'general' membership type when copied.
Comments.UserDisplayName: Dave Gray
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2018-07-13T15:17:27.750Z
Comments.Text: It looks like you've found a bug.  This isn't surprising - "Batch Update via Profile" has long been incomplete, and improvements have been made in fits and starts - e.g. I recently saw that support was added for custom fields of type "Country".  This will almost certainly need someone to write a patch.
Comments.UserDisplayName: Jon G - Megaphone Tech
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2018-07-13T17:13:52.633Z
Comments.Text: As Jon says, looks like a bug.  Please log it on https://lab.civicrm.org/dev/core/issues
Comments.UserDisplayName: Aidan
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2018-07-14T15:07:27.973Z
Comments.Text: Thanks Jon and Aidan, looks like somebody already has logged it three days ago:
  https://lab.civicrm.org/dev/core/issues/251
Comments.UserDisplayName: Dave Gray
Tags: <profile>
Title: Civicrm profile can't copy membership type value
ThreadText: # Civicrm profile can't copy membership type value
  
  (Asked by: username_0 on 2018-07-13)
  
  I'm using a profile to bulk update membership details including membership type.
  
  What I want to do is to use the copy functionality to copy any changes from the first row to each row. This works well for all fields apart from membership type.
  
  We have three membership types: staff, student and alumni. When I change the membership type in the first row to alumni and click to copy the value to all rows, the value that is set in all the rows is 'staff' not 'alumni'. In fact any attempt to copy the membership type value results in 'staff' being shown as the default value.
  
  I've tried changing the order of membership types but this hasn't had any effect.
  
  I wondered if anyone had come across anything like this before?
  
  Thanks
  
  [![enter image description here](https://i.sstatic.net/AcZ4c.png)](https://i.sstatic.net/AcZ4c.png)
  
  **Tags:** profile
  
  > **Comments:**
  > **username_1**: Can you reproduce that effect on https://dmaster.demo.civicrm.org/ ?  What version of Civi are you running?  
  > **username_0**: Thanks username_1 for the suggestion of testing on https://dmaster.demo.civicrm.org/ I'm running Civi 5.1.0 on WordPress. I can replicate this on the demo site.  The demo site has the membership types, student, general and lifetime.  This time it defaults to the 'general' membership type when copied.  
  > **username_2**: It looks like you've found a bug.  This isn't surprising - "Batch Update via Profile" has long been incomplete, and improvements have been made in fits and starts - e.g. I recently saw that support was added for custom fields of type "Country".  This will almost certainly need someone to write a patch.  
  > **username_1**: As Jon says, looks like a bug.  Please log it on https://lab.civicrm.org/dev/core/issues  
  > **username_0**: Thanks Jon and username_1, looks like somebody already has logged it three days ago: https://lab.civicrm.org/dev/core/issues/251  
  
  ---
  
  ## 0 answers
  
  