#230 user vacation

closed-fixed
nobody
Vacation (31)
5
2013-12-01
2011-01-18
J.Kruis
No

hi,

when i am in users/vacation and ik click om away or back i get this message

DEBUG INFORMATION:
Invalid query: Unknown column 'modified' in 'field list'

Please check the documentation and website for more information.

In de admin/vacation it is working ok.

has it something to do with the way users/vacation is updating the database

$vh -> set-away and $vh -> remove

any info is welcome

Jan Kruis

Discussion

  • Christian Boltz

    Christian Boltz - 2011-01-20
    • milestone: --> SVN_(please_specify_revision!)
     
  • Christian Boltz

    Christian Boltz - 2011-01-20

    The vacation table does not have a "modified" column for historical reasons (in the past, we deleted the entry when disabling vacation, so the created column was enough).

    However, nowadays we just disable the entry in the vacation table to preserve the text for the next time vacation is enabled for this user.

    In short: we should add a "modified" column to the vacation table.

    (I assume you are talking about SVN trunk (it would match a code change I did some weeks ago) - if this happens in 2.3.x, please add a note about it.)

     
  • Christian Boltz

    Christian Boltz - 2011-02-27

    I fixed this in SVN r945 about 3 weeks ago, but forgot to close this bugreport ;-)

    Please run "svn up" and then run setup.php to upgrade the database.

     
  • Christian Boltz

    Christian Boltz - 2011-02-27
    • status: open --> closed-fixed
     

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks