Migration from 8.x-3.10 to 5.5.0-rc1 break several views

Created on 12 September 2024, 7 days ago
Updated 16 September 2024, 2 days ago

Problem/Motivation

I have views that cannot edited after I upgraded the module from 8.x-3.10 to 5.5.0-rc1. If you click Edit on an affected view that was build in 3.x days it crashes the view UI and telling you a plugin is missing.

I guess the type does not exist Bootstrap 5 anymore, but is there any way to upgrade the setting - maybe to a "broken handler plugin" or "broken plugin" so is is at least possible to edit the view and change the type?

Steps to reproduce

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

πŸ“Œ Task
Status

Fixed

Version

5.5

Component

Code

Created by

πŸ‡©πŸ‡ͺGermany marc.bau

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

Merge Requests

Comments & Activities

  • Issue created by @marc.bau
  • First commit to issue fork.
  • Merge request !33adds update hook for unsupported styles β†’ (Merged) created by shelane
  • Pipeline finished with Skipped
    5 days ago
    #282742
    • shelane β†’ committed a57d221c on 5.5.x
      Issue #3473829 by shelane, marc.bau: Migration from 8.x-3.10 to 5.5.0-...
  • Status changed to Fixed 5 days ago
  • πŸ‡ΊπŸ‡ΈUnited States shelane
  • πŸ‡©πŸ‡ͺGermany marc.bau

    I'm now able to edit the view - what is great. But the view still shows

    Oops, something went wrong. Check your browser's developer console for more details.

    Is this fully fixable with an update hook?`

    I guess it is caused by the card field settings. I have seen all fields title / content / image have been lost.

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

    If you are able to edit the view and save new options, you shouldn’t see that message the next time you load the view edit screen. If you do, be sure to clear the cache.

    I’m not sure what would need to be changed exactly in an update hook. The update hooks from this fix include what I found to map over. If you think there are more that need to be mapped for an update hook let me know. At least this gets you to a state where you can edit and make the changes that work for your requirements.

  • πŸ‡©πŸ‡ͺGermany marc.bau

    I think it would be perfect to migrate all previous settings. A clean upgrade should map all previous settings to the new and set good defaults to what is missing.

    Manually fixing many views is really a lot of work and if this can be a smooth upgrade Iβ€˜ more than happy like many others who are also affected.

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

    In a perfect world, that would be possible. However, there are many differences between the versions that make mapping difficult. Thumbnails to cards is not a 1:1. In fact, there are a lot of options not available. I'm trying to make it as smooth as possible, but there will be differences that I cannot account for. This is a major version difference both with Bootstrap and with this module. Some non-backwards compatible breaks are expected.

    There is also the issue of some people who will be jumping from 3.x to 5.x and some from 4.x to 5.x.

    I've done the mapping between versions and highlighted where there missing options between versions:

    https://docs.google.com/spreadsheets/d/1iddlJ6_ebwnUmoFYvCNjm1xJExiq9FoW...

Production build 0.71.5 2024