Skip to content

Installer does not perform updates 32.php and 33.php #811

@dalers

Description

@dalers

It seems that when the Installer creates a new company at least updates 32.php and 33.php are not performed although config:DBUpdateNumber in the new db is 33.

Following the master branch, I used the installer last week to create a new company and found the upgrade system did not prompt to perform updates in the new company when first logging in a sysadmin user - as has been the case previously. I assumed the installer now performs all available updates and didn't consider it further.

However, after spending time configuring the new database (company, inventory codes and a lot of time researching GL account numbers), today I noticed that menu item [Utilities > Maintenance > Import Suppliers from .csv file] was missing (it was added in update 32.php),

Image

I also found Z_ImportSuppliers.php wasn't listed in [Setup > General > Page Security Settings].

Image

I then checked to see if update 33.php was performed and found there was no "balance" column in the "supptrans" table (which is added by update 33.php).

Image

Is it possible the installer set the DBUpdateNumber to the latest update but didn't perform the updates?

I manually changed config:DBUpdateNumber to 31 and after logging in as a sysadmin user, the Installer performed updates 32.php and 33.php which resulted in adding the Import Suppliers menu item and balance column.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions