feed-me
feed-me copied to clipboard
Pagination Issue - Pagination URL is null if pagination node key contains a `.`
Description
TL;DR: In the settings for "Pagination URL", selecting a node with a dot in it, results in a null value for paginationUrl
being returned for each respective job, and pagination does not work.
Selecting a pagination URL node key that contains a period .
saves the feed config as expected 🙂, but prevents the actual jobs from fetching the correct URL 🙁, as the HASH::get
method will split the supplied key into arrays to allow for some simple dot-notation parsing.
Steps to reproduce
- Connect to a feed that returns nodes with periods/dots in the keys, such as an oData API (returns things like
@odata.nextLink
, or@odata.count
) - Select a key with a period contained
- Run the job and check the Job's Data in Queue Manager - the
paginationUrl
will be null
Additional info
- Craft version: 4.5.5
- PHP version: 8.1.21
- Database driver & version: MariaDB-1:10.4.30
- Plugins & versions: FeedMe 5.0.4