GitLab Ext @ Charité – Universitätsmedizin Berlin

Skip to content
Snippets Groups Projects
  1. Jan 27, 2024
  2. Jan 14, 2024
  3. Jan 07, 2024
  4. Jan 06, 2024
  5. Jan 02, 2024
    • Jan Klötzke's avatar
      Fix database merge crash when fdosecrets is enabled (#10136) · a8cfefe6
      Jan Klötzke authored
      * Entry: re-parent before adding to new group
      
      Adding the Entry to the Group will emit signals about the action.
      Present the object with the correct parent already.
      
      * fdosecrets: Item::Create() can fail
      
      If an entry cannot be registered on DBus, Item::Create() will return a
      nullptr. Basically, this can only happen if there is already an item
      with the same UUID in the collection. The only viable option here is to
      ignore the new entry.
      
      * Merger: prevent duplicate entry when merging histories
      
      If the source entry is newer, a copy of the entry is made. But before 
      moving the merged entry to the target group, it must be removed. 
      Otherwise there will be briefly two entries with the same UUID
      in the same group/database.
      
      Even though this is only the case during the transaction, it can still
      be observed because the operations emit signals. A notable problem is
      the fdosecrets feature that relies on the uniqueness of the UUID or will
      otherwise run into problems because the UUID is used as part of the DBus
      path.
      a8cfefe6
  6. Jan 01, 2024
  7. Dec 22, 2023
  8. Dec 21, 2023
  9. Dec 19, 2023
  10. Dec 16, 2023
  11. Dec 11, 2023
  12. Dec 10, 2023
  13. Nov 23, 2023
  14. Nov 10, 2023
  15. Nov 05, 2023
  16. Nov 04, 2023
  17. Oct 25, 2023
  18. Oct 24, 2023
Loading