After first save of form admin/structure/feeds/*/settings/FeedsExJmesPath it prints this error:

Fatal error: Class 'JmesPath\Runtime\AstRuntime' not found in sites/all/modules/feeds_ex/src/FeedsExJmesPath.inc on line 91

JmesPath library is installed by composer properly.

Comments

Anonymous’s picture

You need to use JmesPath 1.1.1.

Do git checkout tags/1.1.1 in the jmespath.git directory.

twistor’s picture

Assigned: Unassigned » twistor

Oy. Are there version issues here? Either code or documentation needs to be updated.

twistor’s picture

Title: Fatal error in config of JmesPath » Support JMESPath 2.0
Category: Bug report » Task
twistor’s picture

Status: Active » Needs review
StatusFileSize
new8.36 KB

This should make it work with both versions.

Status: Needs review » Needs work

The last submitted patch, 4: feeds_ex-jmespath-compat-2416163-4.patch, failed testing.

twistor’s picture

Version: 7.x-2.x-dev » 7.x-1.x-dev
Status: Needs work » Needs review

ops

Status: Needs review » Needs work

The last submitted patch, 4: feeds_ex-jmespath-compat-2416163-4.patch, failed testing.

twistor’s picture

Status: Needs work » Needs review

  • twistor committed c8d0157 on 7.x-1.x
    Issue #2416163 by twistor, boydjd, Bobík: Support JMESPath 2.0
    
twistor’s picture

Status: Needs review » Fixed

Version 1 and 2 are now supported seamlessly.

Status: Fixed » Closed (fixed)

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