Dotclear

Ticket #935 (closed defect: invalid)

Opened 15 years ago

Last modified 15 years ago

bug in plugin ImportExport

Reported by: oranginaRouge Owned by: xave
Priority: normal Milestone: 2.2
Component: module:core Version: 2.1
Severity: normal Keywords:
Cc:

Description

There is a bug in importExport plugin : the column user_tz can't be null in plugins/importExport/inc/class.dc.import.dc1.php on line 295 : replace $cur->user_tz = $this->core->blog->settings->system->blog_timezone; by $cur->user_tz = $this->core->blog->settings->blog_timezone;

Donc je disais, il y a un bug dans le plugin d'import export, la colonne user_tz ne pouvant être nulle. Apparemment ce bug a été rajouté dans le svn après la version 2.1.6 et l'actuelle révision. Il suffit de modifier à la ligne 295 dans plugins/importExport/inc/class.dc.import.dc1.php remplacer $cur->user_tz = $this->core->blog->settings->system->blog_timezone; par $cur->user_tz = $this->core->blog->settings->blog_timezone;

Ceci corrigé, tout a parfaitement fonctionné pour moi.

Cordialement,

Manu

Change History

comment:1 Changed 15 years ago by bruno

  • Status changed from new to closed
  • Resolution set to invalid

La version du plugin que tu as récupérée ne fonctionnera que sur un dotclear >= 2.2alpha.

Note: See TracTickets for help on using tickets.

Sites map