Hi, I'm trying to update from beta5 to beta12 and I get the following error:

webform module : 
  8014 -   Issue #2848042: Rework #type shorthand prefix handling. 
  8015 -   Issue #2850247: Experiment with system tray integration. 
  8016 -   Issue #2850455: Add lookup_keys to webform config entity. Flush cache entity definitions. 
  8017 -   Issue #2850455: Add lookup_keys to webform config entity. Update Webform lookup keys. 
  8018 -   Issue #2850885: Add ability to disable autocomplete for form andor element. 
  8019 -   Issue #2853302: Allow confirmation page title to be customized. 
  8020 -   Issue #2845724: Add webform opening and closing datetime. 
  8021 -   Issue #2858139: Add OptGroup support to WebformOption entity. 
  8022 -   Issue #2858246: Enhance checkboxes and radios using iCheck. 
  8023 -   Issue #2854021: Send email based on element options selection. 
  8024 -   Issue #2861651: Add Opened and Closed Messages. 
  8025 -   Issue #2857417: Add support for open and close datetime to Webform nodes. Update database scheme. 
  8026 -   Issue #2857417: Add support for open and close datetime to Webform nodes. Update entity definitions. 
  8027 -   Issue #2857417: Add support for open and close datetime to Webform nodes. Update field config settings. 
  8028 -   Issue #2859528: Add reply-to and return-path to email handler. 
  8029 -   Issue #2856842: Allow emails to be sent to selected roles. 
  8030 -   Issue #2838423: Drafts for anonymous users. 
  8031 -   Issue #2854021: Send email based on element options selection. 
  8032 -   Issue #2854020: Provide a mechanism to log submission transactions. 
  8033 -   Issue #2864851: Allow form builder to opt-in to converting anonymous draftssubmissions to authenticated draftssubmissions. 
  8034 -   Issue #2865353: Improve submission log integration. 
  8035 -   Issue #2867529: Email handler states setting should be index array. 
  8036 -   Issue #2867855: Add category support to webform config entity. 
  8037 -   Issue #2868075: Token types are not defined but have tokens. 
  8038 -   Issue #2870218: Improve External Library Management. 
  8039 -   Issue #2871215: Copied webform templates should not have dependencies. 
  8040 -   Issue #286655: Add Quick Edit off canvas form. 
  8041 -   Issue #2871606: Add (optional) support for Chosen. 

Do you wish to run all pending updates? (y/n): y
Performing webform_update_8014                                                                                                                             [ok]
Performing webform_update_8015                                                                                                                             [ok]
PHP Fatal error:  Class 'Drupal\hal\Normalizer\EntityReferenceItemNormalizer' not found in modules/contrib/webform/src/Normalizer/WebformEntityReferenceItemNormalizer.php on line 11

Must I update drupal core from 8.2 to 8.3?

These are the actual module dependencies:

dependencies:
  - 'drupal:field'
  - 'drupal:system (>= 8.2)'
  - 'drupal:user'

Thanks!

Comments

facine created an issue. See original summary.

jrockowitz’s picture

@facine Does the Webform updates work using 8.3?

facine’s picture

@jrockowitz testing...

jrockowitz’s picture

Also check if the Hal serialization module is enabled.

facine’s picture

Updates fine with 8.3.1, hal is disabled

jrockowitz’s picture

Do you have any REST modules enabled?

The migration might work via 8.2 with the HAL module enabled.

hot_sauce’s picture

Confirmed - Running 8.2.7 (for now) and enabling the HAL module removes the error. I was not able to clear caches or anything else without getting the same Fatal Error as in the initial post but enabling HAL lets me clear caches.

However, my Status Report shows this:

Mismatched entity and/or field definitions
The following changes were detected in the entity type and field definitions.
Content

The node.webform field needs to be updated.

Also using the Webform Views Integration module, if that matters.

jrockowitz’s picture

facine’s picture

Status: Active » Closed (works as designed)

Confirmed, updates fine enabling first the hal module.

Thanks for help me!