In Generalize Builder and Renderer classes and methods we decided to create an 8.x-2.x branch. In this issue, we will add an upgrade path from 1.x to 2.x and add the necessary tests.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

jordanpagewhite created an issue. See original summary.

benjy’s picture

Version: 8.x-1.x-dev » 8.x-2.x-dev
Parent issue: » #2735561: [META] Introduce new formats
benjy’s picture

Status: Active » Needs review
FileSize
1.41 MB

First pass at making this work.

benjy’s picture

FileSize
1.41 MB
benjy’s picture

FileSize
3.51 KB

This should make it easier to review without the dump.

benjy’s picture

FileSize
178.74 KB

Smaller dump when compressed.

benjy’s picture

benjy’s picture

Title: Add and tests for an upgrade path from 1.x to 2.x » Add upgrade path from 1.x to 2.x
benjy’s picture

FileSize
178.78 KB
883 bytes
Sam152’s picture

Status: Needs review » Reviewed & tested by the community

Looks good.

jordanpagewhite’s picture

Hey guys. Sorry I missed your DM. I've never really been DM'd on d.o. before. I didn't realize it sends to email. I'll have to set up an IFTTT recipe for that.

drush updb failed for me

The "print_engine" entity type does not exist.

I am not sure if I am doing something wrong or if this is an actual issue. I apologize for my lack of experience. I have never tested an upgrade path before. Thanks for helping me get this experience!

benjy’s picture

You can test this via:

  1. Install Drupal 8
  2. Enable Entity Print 8.x-1.x
  3. Change a couple of settings around
  4. Switch to Entity Print 8.x-2.x
  5. Run drush updb or visit /update.php to upgrade
  6. Ensure that your config came across as expected, no errors were shown in the output upgrade etc.
jordanpagewhite’s picture

That's what I thought. I think I think I forgot to rebase my branch or something last time. It applies cleanly now! Thanks.

benjy’s picture

applies cleanly or upgrades cleanly?

jordanpagewhite’s picture

Sorry. That was unclear. It upgrades cleanly.

benjy’s picture

Status: Reviewed & tested by the community » Fixed

  • benjy committed 4a1f536 on 8.x-2.x
    Issue #2747133 by benjy, jordanpagewhite, Sam152: Add upgrade path from...

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.