Project

General

Profile

Segnalazione #144

Possibile bug in octofussd nell'aggiunta utente a gruppo

Added by Mark Caglienzi over 7 years ago. Updated over 7 years ago.

Status:
Chiuso
Priority:
Normale
Start date:
01/16/2017
Due date:
% Done:

0%

Estimated time:

Description

Quando si aggiunge un utente a un gruppo e l'utente è già nel gruppo, vengono create due voci nel database.

Associated revisions

History

#1

Updated by Christopher R. Gabriel over 7 years ago

  • Status changed from Nuovo to In elaborazione
  • Assignee set to Christopher R. Gabriel
#2

Updated by Christopher R. Gabriel over 7 years ago

  • Project changed from octonet to octofussd
#3

Updated by Christopher R. Gabriel over 7 years ago

  • Status changed from In elaborazione to Commenti
  • Assignee changed from Christopher R. Gabriel to Mark Caglienzi

Il mock engine dei gruppi non faceva il controllo per utente che esiste gia' nel gruppo.

Puoi verificare che ora sia ok? Perche' non hai indicato modo di riprodurlo.

Non ho capito la parte database, visto che gli utenti e i gruppi non stanno nel database, ma in ram (per il mock engine) oppure su ldap (produzione)

#4

Updated by Mark Caglienzi over 7 years ago

  • Status changed from Commenti to In elaborazione
#5

Updated by Mark Caglienzi over 7 years ago

  • Status changed from In elaborazione to Commenti
  • Assignee changed from Mark Caglienzi to Christopher R. Gabriel

Con database intendevo nel database sqlite di octofussd mock che lanciamo durante lo sviluppo.

Il problema era che prendendo un utente ad esempio nel gruppo call, fare il mass edit, aggiungerlo al gruppo call, lo aggiungeva due volte e a un successivo show o edit dell'utente il gruppo call veniva mostrato due volte. Questo comportava anche il problema che poi se si cercava di rimuoverlo dal gruppo call e veniva rimossa una voce soltanto, e quindi di fatto l'utente rimaneva nel gruppo da cui si voleva togliere.

Ho riprovato e ora il problema non si presenta più. Vedo se c'è da fare qualche pulizia nel branch t108 di octonet riguardo a questo.

#6

Updated by Christopher R. Gabriel over 7 years ago

  • Status changed from Commenti to Chiuso

Ok, chiudo.

Also available in: Atom PDF