Help converting old 3.x field with hundreds of nodes to new methodology

Created on 25 July 2023, 11 months ago
Updated 28 July 2023, 11 months ago

Problem/Motivation

I am getting the following when running config import:

> Unexpected error during import with operation create for core.entity_view_display.my_view_with_chart.default: You have requested a non-existent service "charts.settings"

This happens after upgrading from charts 3.2.0 to 5.0.7. I did run `drush updb`

πŸ› Bug report
Status

Active

Version

5.0

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States loopy1492

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

  • Issue created by @loopy1492
  • πŸ‡ΊπŸ‡ΈUnited States loopy1492
  • πŸ‡ΊπŸ‡ΈUnited States loopy1492

    So, when I downgrade to 4.x, Charts runs the following:

    > charts 8302 hook_update_n 8302 - Update existing views to use the new chart settings.

    but when I run cex, I'm not seeing any changes to my views config.

  • πŸ‡ΊπŸ‡ΈUnited States loopy1492

    So it appears this module has changed significantly between 3.x and 5.x. We have a custom module which uses a file upload field to get csv data and display it using a field preprocess function and a corresponding template.

    It appears that the new version has this conversion built in. You just upload the file to the field and it generates your data points for you. This is really cool, but we already have hundreds of nodes and there's no way I can go through and re-upload everything.

    I was hoping to use the charts view display and simpy embed the view on the nodes. However, the chart view mode will not accept a file field as a source of data.

    Do the maintainers have any suggestions for migrating between 3.x and 5x with so many nodes or are we stuck re-uploading all the csv files?

  • πŸ‡ΊπŸ‡ΈUnited States andileco

    @loopy1492 - very happy to hear about such extensive use! Definitely willing to assist with a way to ease migration. Would you feel comfortable reaching out directly with some specific examples that could be used for testing?

Production build 0.69.0 2024