Skip to content

Upload field does not work in settings #615

Description

@kaidesu

Describe the issue

When uploading a file through settings (aka, Google Analytics) - a 500 error is returned as the upload field is a relationship type field and does not store a column value directly.

To reproduce

  • Attempt to upload a Google Analytics credentials file

Stacktrace

{
    "message": "SQLSTATE[42S22]: Column not found: 1054 Unknown column 'analytic_credentials' in 'field list' (SQL: update `settings_google_analytics` set `analytic_credentials` = [{}], `analytic_view_id` = 123456, `analytic_tracking_id` = , `settings_google_analytics`.`updated_at` = 2020-07-27 20:50:58 where `settings_google_analytics`.`setting_id` = 7 and `settings_google_analytics`.`setting_id` is not null)",
    "exception": "Illuminate\\Database\\QueryException",
    "file": "/home/vagrant/fusioncms/vendor/laravel/framework/src/Illuminate/Database/Connection.php",
    "line": 671
}

Screenshots

Screen Shot 2020-07-27 at 1 51 07 PM

Version and browser

Version: v6.0.0 Beta 9

Bug report checklist

  • I have filled out as much information as I can
  • I have detailed how the issue can be reproduced
  • I have searched for existing issues and to the best of my knowledge this is not a duplicate

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

BugSomething isn't working

Type

No type

Projects

No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions