Page 1 of 1

Count importa utenti

Posted: Sat Jan 13, 2018 8:36 am
by alfa24
Bug.

Questa riga in /appCore/controllers/UsermanagementAdmController.php:

Code: Select all

$params['resultUi'] = Lang::t('_IMPORT', 'standard').': <b>'.( $first_row_header ? $results[0] - 1 : $results[0]).'</b><br />';
va modificata in:

Code: Select all

$params['resultUi'] = Lang::t('_IMPORT', 'standard').': <b>'.( $first_row_header ? $results[0] - 1 : $results[0] + 1).'</b><br />';

Re: Count importa utenti

Posted: Mon Jan 15, 2018 10:08 am
by alberto
Ciao, una spiegazione del bug?

Re: Count importa utenti

Posted: Mon Jan 15, 2018 10:36 am
by alfa24
Se si importa un csv senza riga d'intestazione il conteggio delle righe importate è sbagliato (risulta diminuito di 1).

Re: Count importa utenti

Posted: Mon Jan 15, 2018 11:01 am
by alberto
ok grazie, sulla 2 questo bug è già stato risolto (tutta la funzione di import è stata ampiamente rivista e potenziata)

Re: Count importa utenti

Posted: Mon Jan 15, 2018 12:29 pm
by alfa24
Sulla 2beta1 no.

Re: Count importa utenti

Posted: Mon Jan 15, 2018 2:53 pm
by alberto
Ho ricontrollato per sicurezza e confermo che su forma 2 il conteggio degli utenti importati è corretto, anche in caso di errori di importazione.
Risolto fin dalla versione alpha.