Answers.Body: <p>This appears to be a bug and you should report it in GitLab.</p>
  
  <p>Steps to replicate.</p>
  
  <p>Set up Contribution page using 'on behalf of'</p>
  
  <p>Submit the form a first time, create your 'on behalf of' Org</p>
  
  <p>Submit the form a second time for New Org, using new name/email.</p>
  
  <p>Outcome the original Org now has the new email but the old name. Both contributions are on their record.</p>
  
  <p>Testing was done via <a href="http://dmaster.demo.civicrm.org/civicrm/contribute/transact?reset=1&amp;id=4" rel="nofollow noreferrer">http://dmaster.demo.civicrm.org/civicrm/contribute/transact?reset=1&amp;id=4</a> (which will soon disappear)</p>
  
  <p>Update - There is now a <a href="https://github.com/civicrm/civicrm-core/pull/11841" rel="nofollow noreferrer">patch submitted</a> and an issue filed in GitLab - <a href="https://lab.civicrm.org/dev/core/issues/26" rel="nofollow noreferrer">https://lab.civicrm.org/dev/core/issues/26</a></p>
  
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2018-03-19T21:44:43.427Z
Answers.Text: Thanks for your explanation. I thought the same but didnt know how to report it. I will report now
Answers.UserDisplayName: Bastiyan
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2018-03-19T20:45:29.717Z
Answers.LastActivityDate: 2018-03-20T10:16:10.737Z
Answers.LastEditDate: 2018-03-20T10:16:10.737Z
Answers.UserDisplayName: petednz - fuzion
Body: <p>Hi We have a situation where we would need one member to be a part of many organizations.</p>
  
  <p>So when a Joomla user login to their account for the first time and apply for an membership on behalf of an organization it works fine.</p>
  
  <p>However if the user select <strong>Enter a new organization</strong> when they want to register another organization and submit the form No new account will be created instead the existing organization gets updated even though they are different organization names. </p>
  
  <p>I have tried by disabling the membership section just to see if the issue when creating the relationship but it doesn't do any changes. Has anyone experienced this before ? </p>
  
  <p>Any advice would be highly appriciated</p>
  
  <p><a href="https://i.sstatic.net/tAPUE.png" rel="nofollow noreferrer"><img src="https://i.sstatic.net/tAPUE.png" alt="enter image description here"></a> </p>
  
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2018-03-15T20:41:18.277Z
Comments.Text: Can you clarify what your Matching Rule is for Organisation + Unsupervised? otherwise it sounds like a bug and if you can replicate on a demo site then it can be added to the bug list
Comments.UserDisplayName: petednz - fuzion
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2018-03-16T09:58:48.620Z
Comments.Text: Thanks for your reply. I have changed the organisation unsupervised rule to name only .  but still the same i will try and do this on a demo site
Comments.UserDisplayName: Bastiyan
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2018-03-16T10:47:41.823Z
Comments.Text: Unfortunately i cant reproduce this in the demo site as it doesn't allow creating user accounts in Joomla.
Comments.UserDisplayName: Bastiyan
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2018-03-19T17:16:44.337Z
Comments.Text: @petednz-fuzion Here is a fresh installation i made just for this purpose jomlify.vanlookup.com/ username : jane     / Password  : 123456                     admin login  :  guest /123456. You could first try to login as jane and click on new organization from top menu and then submit a new organization and you will see the result once you login as the admin using the account name guest
Comments.UserDisplayName: Bastiyan
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2018-03-19T20:45:01.560Z
Comments.Text: Hi Gayan.  see my answer below. took about an hour to run around all this to prove it. Another time it is always worth comparing with Demo sites. There was no need to 'create a new user' as you could have tested this purely as admin (which is what I did)
Comments.UserDisplayName: petednz - fuzion
Tags: <profile><joomla><civicrm-home><organization>
Title: Existing organization getting updated instead a new organization
ThreadText: # Existing organization getting updated instead a new organization
  
  (Asked by: username_0 on 2018-03-15)
  
  Hi We have a situation where we would need one member to be a part of many organizations.
  
  So when a Joomla user login to their account for the first time and apply for an membership on behalf of an organization it works fine.
  
  However if the user select **Enter a new organization** when they want to register another organization and submit the form No new account will be created instead the existing organization gets updated even though they are different organization names.
  
  I have tried by disabling the membership section just to see if the issue when creating the relationship but it doesn't do any changes. Has anyone experienced this before ?
  
  Any advice would be highly appriciated
  
  [![enter image description here](https://i.sstatic.net/tAPUE.png)](https://i.sstatic.net/tAPUE.png)
  
  **Tags:** profile, joomla, civicrm-home, organization
  
  > **Comments:**
  > **username_1**: Can you clarify what your Matching Rule is for Organisation + Unsupervised? otherwise it sounds like a bug and if you can replicate on a demo site then it can be added to the bug list  
  > **username_0**: Thanks for your reply. I have changed the organisation unsupervised rule to name only .  but still the same i will try and do this on a demo site  
  > **username_0**: Unfortunately i cant reproduce this in the demo site as it doesn't allow creating user accounts in Joomla.  
  > **username_0**: @petednz-fuzion Here is a fresh installation i made just for this purpose jomlify.vanlookup.com/ username : jane     / Password  : 123456                     admin login  :  guest /123456. You could first try to login as jane and click on new organization from top menu and then submit a new organization and you will see the result once you login as the admin using the account name guest  
  > **username_1**: Hi Gayan.  see my answer below. took about an hour to run around all this to prove it. Another time it is always worth comparing with Demo sites. There was no need to 'create a new user' as you could have tested this purely as admin (which is what I did)  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_1 on 2018-03-19. Score: 1 | Accepted answer
  
  This appears to be a bug and you should report it in GitLab.
  
  Steps to replicate.
  
  Set up Contribution page using 'on behalf of'
  
  Submit the form a first time, create your 'on behalf of' Org
  
  Submit the form a second time for New Org, using new name/email.
  
  Outcome the original Org now has the new email but the old name. Both contributions are on their record.
  
  Testing was done via <http://dmaster.demo.civicrm.org/civicrm/contribute/transact?reset=1&id=4> (which will soon disappear)
  
  Update - There is now a [patch submitted](https://github.com/civicrm/civicrm-core/pull/11841) and an issue filed in GitLab - <https://lab.civicrm.org/dev/core/issues/26>
  
  > **Comments:**
  > **username_0**: Thanks for your explanation. I thought the same but didnt know how to report it. I will report now  
  
  ---
  
  