Skip to content

MySQL 5.7 issue? #269

@edwbaker

Description

@edwbaker

I have just upgraded to MySQL 5.7 and I am getting a number of issues, such as this one when trying to add an item to an existing Sales Order:

'An error occurred when updating that sale:
Error encountered when calibrating payments: Expression #1 of ORDER BY clause is not in SELECT list, references column 'beans.transactions.date' which is not in SELECT list; this is incompatible with DISTINCT [ SELECT DISTINCT(transactions.id) as payment_id FROM transactions WHERE transactions.payment = "customer" AND transactions.id IN (154) ORDER BY transactions.date ASC, transactions.id ASC ]'

I assume these errors are due to the MySQL upgrade - as these were functions I used regularly before.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions