Bug #4496

Migration of status for bookmark

Added by yllen over 7 years ago. Updated over 7 years ago.

Status:ClosedStart date:09/13/2013
Priority:NormalDue date:
Assignee:moyo% Done:

100%

Category:Framework
Target version:0.84.3

Associated revisions

Revision 21782
Added by moyo over 7 years ago

[0.84] Migration of status for bookmark fixed #4496

Revision 21783
Added by moyo over 7 years ago

Migration of status for bookmark see #4496

Revision 21801
Added by moyo over 7 years ago

add more checks to avoid notice see #4496

Revision 21802
Added by moyo over 7 years ago

[0.84] add more checks to avoid notice see #4496

History

#1 Updated by yllen over 7 years ago

  • Assignee deleted (yllen)

#2 Updated by moyo over 7 years ago

  • Status changed from New to Resolved
  • % Done changed from 0 to 100

Applied in changeset r21782.

#3 Updated by moyo over 7 years ago

  • Assignee set to moyo

#4 Updated by yllen over 7 years ago

Je viens de migrer ma base en 0.84.3 et j'ai énormément d'erreur dans les logs du à l'absence de la variable 'field'
Ne pourrait-on pas ajouter un contrôle avant le foreach ($options['field']?

PHP Notice: Undefined index: field in /app/gbq02/web/glpisvn/install/update_0841_0843.php at line 101
Warning(2): Invalid argument supplied for foreach()
Backtrace :
/app/gbq02/web/glpisvn/inc/toolbox.class.php:530 Toolbox::userErrorHandlerNormal()
/app/gbq02/web/glpisvn/install/update_0841_0843.php:101 Toolbox::userErrorHandlerDebug()
/app/gbq02/web/glpisvn/tools/cliupdate.php:270 update0841to0843()

PHP Warning: Invalid argument supplied for foreach() in /app/gbq02/web/glpisvn/install/update_0841_0843.php at line 101
Notice(8): Undefined index: field
Backtrace :
/app/gbq02/web/glpisvn/inc/toolbox.class.php:530 Toolbox::userErrorHandlerNormal()
/app/gbq02/web/glpisvn/install/update_0841_0843.php:114 Toolbox::userErrorHandlerDebug()
/app/gbq02/web/glpisvn/tools/cliupdate.php:270 update0841to0843()

#5 Updated by moyo over 7 years ago

corrigé / controle ajouté

#6 Updated by moyo over 7 years ago

  • Status changed from Resolved to Closed

Also available in: Atom PDF