bugGNU Health - Bugs: bug #47740, Impossible to copy a party

 
 

You are not allowed to post comments on this tracker with your current authentication level.

bug #47740: Impossible to copy a party

Submitter:  Cédric Krier <cedk>
Submitted:  Wed 20 Apr 2016 07:03:20 AM UTC
   
 
Category:  Functionality Severity:  1 - Wish
Item Group:  None Status:  Fixed
Privacy:  Public Assigned to:  pokoli
Open/Closed:  Open Release:  None
Module:  health Component:  None

Mon 04 Jul 2022 07:46:01 AM UTC, comment #4: 

Hi Luis,

Copying a party is a shortcut for creating a new one by just updating the required fields. All the unique fields should be set to empty when copy so the system will generate a another one.

Sergi Almacellas Abellana <pokoli>
Sat 02 Jul 2022 10:53:35 AM UTC, comment #3: 

Thank you, Sergi, Cedric!

I keep thinking what are the use cases of copying a party. It's such a unique element, that I can't find reasons to make a copy from it.

Some people has requested in on the past. Maybe for testing purposes on a test/dev instance?

Many fields (Federation ID, alternative IDs, ...) should be unique to
the party.

In any case, we can thoroughly test the functionality and we could include it on 4.2 if there's consensus :)


Have a great weekend!
Luis

Luis Falcon <meanmicio>
Group administrator
Fri 01 Jul 2022 07:46:07 AM UTC, comment #2: 
Sergi Almacellas Abellana <pokoli>
Wed 15 Jun 2022 11:24:44 AM UTC, comment #1: 

I attached a patch that fixes the issue.

(file #53303)

Sergi Almacellas Abellana <pokoli>
Wed 20 Apr 2016 07:03:20 AM UTC, original submission:  

The 'ref' must be unique so the copy method should not copy it.

Cédric Krier <cedk>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attached Files
file #53303:  clear_ref.patch added by pokoli (920B - text/x-patch)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by meanmicio (Posted a comment)
  • -email is unavailable- added by pokoli (Updated the item)
  • -email is unavailable- added by cedk (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

     

    Follow 4 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2022-07-02 meanmicio Severity5 - Blocker 1 - Wish
    2022-07-01 pokoli StatusNone Fixed
        Assigned toNone pokoli
    2022-06-15 pokoli Attached File- Added clear_ref.patch, #53303

    Back to the top

    Powered by Savane 3.13-f8d8.
    Corresponding source code