Skip to content

Clean up panel_usercolumns on updates #1340

@Smith4545

Description

@Smith4545

Describe the bug

After an upgrade from 2.1.9 to 2.2.7 we found that some customers were unable to view the path customer_email.php?page=emails, showing a warning:

0 The visible column "d.domain" has neither a "callback" nor a "field" set.

#0 /var/www/froxlor/lib/Froxlor/UI/Listing.php(48): Froxlor\UI\Listing::generateTableRows()
#1 /var/www/froxlor/customer_email.php(86): Froxlor\UI\Listing::format()
#2 {main}

After replacing d.domain in the column columns of table panel_usercolumns by d.domain_ace everything went back to normal.

System information

  • Froxlor version: 2.2.7
  • PHP sapi & version: php-fpm 8.3
  • Web server: nginx
  • DNS server: not used
  • POP/IMAP server: Dovecot
  • SMTP server: postfix
  • FTP server: proftpd
  • OS/Version: Debian 12

Expected behavior

The table should be cleaned up on upgrades.

Logfiles

No logfiles

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions