Skip to content

Fields disappearing after update to 2.0.7 #20

@designwildwest

Description

@designwildwest

First of all, a big thank you for developing the ExtraFields extra – it’s a fantastic tool that we really appreciate!

We recently ran into a small issue while updating to version 2.0.7. As we normally keep our extras up to date, we proceeded with the upgrade. However, after the update, all the custom fields disappeared, as shown in the screenshot below:

Image

After investigation and help with MODx community @halftrainedharry it looked like the code was using the outdated field information for the class “efField” when the resolver was running.

Please see the modx error log below:

Image

Which is causing "precision" column addition to fail.
I was able to temporarily resolve the issue by manually adding the precision column after the update.
Additionally, while i was doing that phpadmin prompt warning that "precsion" is reserved word:
https://dev.mysql.com/doc/refman/8.4/en/keywords.html

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