Problem

Much like the problem outlined in #2608610: Add support for list/item pattern, we have a need to import a bunch of items where the full list of those items (with minimal metadata like id) is defined in an endpoint like:

And each item can be retrieved in full as a single JSON object via:

I have looked into the solution on that issue, and it looks promising, however - the latest patches don't apply. And I feel like the idea of defining uri templates and child item selectors is adding complexity without addressing all use cases where we want to dynamically generate the source URLs.

Also - the item endpoint I am using provides just a single JSON object, not an array as the Json data parser assumes.

Proposed solution

Lets just allow the Url processor to take a callback which can do the work of generating the URLs in advance.

This would have other benefits (in addition to providing a way for you to implentment the ItemList Item pattern), for example, if you wish your list of source URLs to be paginated from a source, for example you are importing a catalog of 10,000 products and you want to do in batches of 200 (to balance memory limitations with the economy of making fewer HTTP requests) your callback could handle generating the urls. Each URL might looks like:

The other part of the solution would require a way to configure the migration so that it knows a source URL might contain a single object. We could explicitly set item_selector to FALSE to indicate this.

To get this working the source configuration would be something like:

source:
  plugin: url
  data_fetcher_plugin: http
  data_parser_plugin: json
  urls:
    callback: my_module_migrate_urls
  item_selector: false
  skip_count: true 
 

Note: skip_count: true is important if you have a large number of URLs, otherwise things like drush migrate-status will iterate through all requested URLs to get a total count.

The current migration is passed to the callback, this will allow some other tweaking, like ensuring only URLs we intend to import in the current migration are imported, like so:

use Drupal\migrate\Plugin\MigrationInterface
use Drupal\migrate\Plugin\MigrateIdMapInterface
 
 function my_module_migrate_urls(MigrationInterface $migration) {
      $ids = my_module_get_all_ids();
      $urls = [];

      // Lets exclude URLs for items already marked as imported.
      $id_map = $migration->getIdMap();
      $imported_ids = $id_map->getDatabase()->select($id_map->mapTableName(), 'm')
         ->fields('m', ['sourceid1'])
         ->condition('source_row_status', MigrateIdMapInterface::STATUS_IMPORTED)
         ->execute()
         ->fetchCol();
      $ids = array_diff($ids, $imported_ids);

      foreach ($ids as $id) {
        $urls[] = "https://example.com/jsonapi/node/article/{$id}";
      }
      return $urls;
   }
CommentFileSizeAuthor
#69 3040427-migrate-plus-callback-urls.patch3.94 KBethant
#66 3040427-66-migrate_plus_multiple_urls.patch3.4 KBblade_ukraine
#42 3040427-42-migrate_plus_multiple_urls.patch4.81 KBsteinmb
#37 3040427-37-migrate_plus_multiple_urls-8-5.patch4.17 KBroam2345
#32 3040427-32-migrate_plus_multiple_urls-8-5.patch9.34 KBjacobbell84
#31 3040427-31-migrate_plus_multiple_urls-8-5.patch9.34 KBjacobbell84
#30 3040427-30-migrate_plus_multiple_urls-8-5.patch9.31 KBjacobbell84
#29 3040427-29-migrate_plus_multiple_urls-8-5.patch9.04 KBjacobbell84
#26 3040427-26-migrate_plus_multiple_urls-8-5.patch9.01 KBagentrickard
#25 3040427-25-migrate_plus_multiple_urls-8-4.patch9.01 KBagentrickard
#24 3040427-22-migrate_plus_multiple_urls-8-4.patch9 KBagentrickard
#23 3040427-22-migrate_plus_multiple_urls-8-4.patch9 KBagentrickard
#22 3040427-21-migrate_plus_multiple_urls-8-5.patch9 KBagentrickard
#20 interdiff-84-10_20.txt6.89 KBagentrickard
#20 3040427-20-migrate_plus_multiple_urls-8-4.patch9 KBagentrickard
#19 interdiff-8x5x-10_19.txt6.62 KBagentrickard
#19 3040427-19-migrate_plus_multiple_urls-8-5.patch9 KBagentrickard
#17 interdiff_8.5_10-17.txt7.77 KBagentrickard
#17 migrate_plus-8.x-5.x-source-url-callback-3040427-17.patch3.66 KBagentrickard
#10 migrate_plus-8.x-4.x-source-url-callback-3040427-10.patch8.86 KBdaniel.rolls@flightcentre.com.au
#10 migrate_plus-8.x-5.x-source-url-callback-3040427-10.patch8.86 KBdaniel.rolls@flightcentre.com.au
#8 migrate_plus-8.x-5.x-source-url-callback-3040427-6.patch8.92 KBdaniel.rolls@flightcentre.com.au
#7 migrate_plus-8.x-4.x-source-url-callback-3040427-6.patch8.92 KBdaniel.rolls@flightcentre.com.au
#2 migrate_plus-list-item-pattern-lite-3040427-1.patch1.57 KBdaniel.rolls@flightcentre.com.au
Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Comments

rollsd created an issue. See original summary.

daniel.rolls@flightcentre.com.au’s picture

I have attached a patch which will allow this pattern you as detailed:

source:
  plugin: url
  data_fetcher_plugin: http
  data_parser_plugin: json
  urls:
    callback: my_module_migrate_urls
  item_selector: false
  skip_count: true

The function my_module_migrate_urls should return an array of source URLs.

When using this pattern I would suggest using the config:

 skip_count: true

This will prevent all the source URLs being requested during a:

migrate status
daniel.rolls@flightcentre.com.au’s picture

Status: Active » Needs review
sphism’s picture

That's a pretty elegant solution to both the list/item pattern and the pagination issue, I like it

heddn’s picture

Issue summary: View changes
Status: Needs review » Needs work
Issue tags: +Needs tests, +Needs documentation

So, I like the idea. But it needs some help with the documentation (doxygen examples?) and some tests.

daniel.rolls@flightcentre.com.au’s picture

Issue summary: View changes
daniel.rolls@flightcentre.com.au’s picture

Hey I have added some documentation to the URL class (following examples in SourcePluginBase)

Have also updated to:

  1. Link to a more fleshed out example in this issue
  2. Provide $migration context to the callback (so we can achieve things like the example)
  3. Add tests to Url source plugin
daniel.rolls@flightcentre.com.au’s picture

Patching against 8.x-5.x.

(patch is the same as 8.x-4.x)

daniel.rolls@flightcentre.com.au’s picture

Status: Needs work » Needs review
daniel.rolls@flightcentre.com.au’s picture

Had some incorrect test method descriptions in that pull request. Updating to correct (with backport to 8.4)

daniel.rolls@flightcentre.com.au’s picture

heddn’s picture

Status: Needs review » Needs work

Nice API addition. Some minor feedback. Also there are php code standard violations. See https://www.drupal.org/files/issues/2019-09-02/migrate_plus-8.x-5.x-sour...

  1. +++ b/src/Plugin/migrate/source/Url.php
    @@ -5,10 +5,51 @@ namespace Drupal\migrate_plus\Plugin\migrate\source;
    + * - urls: A single url, a list of urls, or a callback defined as a nested item
    + *   keyed by callback (required)
    

    This seems dense at the end. What about, "callback that returns a list of urls?

  2. +++ b/src/Plugin/migrate/source/Url.php
    @@ -5,10 +5,51 @@ namespace Drupal\migrate_plus\Plugin\migrate\source;
    + * This will import articles from a single URL endpoint.
    ...
    + * This will call the function my_module_get_urls_to_import() which should
    + * return an array of URLs or files corresponding to all data sources to import.
    

    Let's move this text below the code examples. That's how I normally see this done in drupal's doxygen.

  3. +++ b/src/Plugin/migrate/source/Url.php
    @@ -5,10 +5,51 @@ namespace Drupal\migrate_plus\Plugin\migrate\source;
    + * The 'callback' would normally live in a .module file, and is passed the
    + * current migration context.  For mode detail of use:
    + * @see https://www.drupal.org/node/3040427
    

    I don't think need to explain the concept of a PHP callback.

  4. +++ b/src/Plugin/migrate/source/Url.php
    @@ -5,10 +5,51 @@ namespace Drupal\migrate_plus\Plugin\migrate\source;
    + *   source_module = "migrate_plus",
    

    This isn't needed. We're not dealing with a drupal to drupal upgrade and that is the only thing that requires this. At the very least, it should be discussed in another issue.

  5. +++ b/src/Plugin/migrate/source/Url.php
    @@ -34,6 +75,10 @@ class Url extends SourcePluginExtension {
    +    elseif (!empty($configuration['urls']['callback']) && is_callable($configuration['urls']['callback'])) {
    +      $configuration['urls'] = $configuration['urls']['callback']($migration);
    

    If it is set, but not callable, we should throw an InvalidPluginException..

    And we should allow a list of callbacks that we can iterator over. Then use call_user_func or call_user_func_array as appropriate.

    Let's add explicit test coverage for class based callbacks and methods.

  6. +++ b/src/Plugin/migrate/source/Url.php
    @@ -75,4 +120,13 @@ class Url extends SourcePluginExtension {
    +  public function getSourceUrls() {
    

    Why is this added? It seems like a strange addition.

  7. +++ b/src/Plugin/migrate_plus/data_parser/Json.php
    @@ -51,6 +51,12 @@ class Json extends DataParserPluginBase implements ContainerFactoryPluginInterfa
    +    // Treat source data as a single object to import if itemSelector is
    +    // explicitly set to FALSE.
    +    if ($this->itemSelector === FALSE) {
    

    This seems like a strange addition here.

  8. +++ b/tests/src/Unit/source/UrlTest.php
    @@ -0,0 +1,203 @@
    +  private $urlMigrationConfig = [
    ...
    +  private $urlArrayMigrationConfig = [
    

    Let's use a data provider here instead of private arrays.

    https://phpunit.readthedocs.io/en/8.3/writing-tests-for-phpunit.html#dat...

agentrickard’s picture

I'm testing this, and hope to do the refactor in #12, and I've also run into an issue that perhaps someone can explain:

* I have a list of URLs to iterate over. That works fine.
* 1000 of these URLs return the expected JSON object, which is a nested set of objects that need to be iterated over normally.
* N of these URLs return an exception from the _api server_ that is not in the format the migration expects.

It seems that all we do in that case is throw an exception, which halts the migration.

That's problematic when the error occurs on record 3 of 1,000. The migration never can run.

The problem here is that we don't know if the URL will return valid JSON until we run the data_fetcher on the URLs list. Passing a fake object and returning FALSE from hook_migrate_prepare_row() doesn't quite work, because Migrate still tries to save a non-existent sourceID to the mapping table.

Am I overlooking something? Is there a means at the data_fetcher or data_parser level to tell Migrate to skip a well-formed but unexpected JSON object?

heddn’s picture

agentrickard’s picture

It doesn't seem to. Though I had to backport that patch to Drush 8 due to dependency chains.

Migration failed with source plugin exception: Error message: Client error: `GET         [error]
[URL redacted]
resulted in a `400 400` response:

Drush 8 patch uploaded to other issue.

hudri’s picture

This idea is plain genius. This will not only fit for paged sources, this fits also solutions where the source requires a dynamic date parameter, e.g. urls like /json/data?last_changed=timestamp or /json/events/?from=date1&to=date2 I've already three homegrown data fetcher plugins extented from http that replace tokens inside the URL. All of them can be replaced with this patch.

agentrickard’s picture

Here's a reroll of the patch from #10, with some comments regarding #12.

  • And we should allow a list of callbacks that we can iterator over. Then use call_user_func or call_user_func_array as appropriate.

I disagree here. We've been using this patch for a while and there aren't any use-cases I can see where this need can't be handled by the callback itself. No need to clutter up our base code with that kind of edge case.

+++ b/src/Plugin/migrate/source/Url.php
@@ -75,4 +120,13 @@ class Url extends SourcePluginExtension {
+  public function getSourceUrls() {
  • Why is this added? It seems like a strange addition.

In this context, $this->sourceUrls is private, so this method is used by the test to retrieve that value. We could make $sourceUrls public instead.

+++ b/src/Plugin/migrate_plus/data_parser/Json.php
@@ -51,6 +51,12 @@ class Json extends DataParserPluginBase implements ContainerFactoryPluginInterfa
+    // Treat source data as a single object to import if itemSelector is
+    // explicitly set to FALSE.
+    if ($this->itemSelector === FALSE) {
  • This seems like a strange addition here.

This part of the code is absolutely crucial. The issue with the JSON parser -- and perhaps others? -- is that it assumes it will receive an array of JSON objects. The use-case for this patch is that a single API call returns a single object, which the JSON data_parser will choke on, since it assumes an array.

The other option here would be some configuration indicator that a single object is expected rather than an array.

agentrickard’s picture

Last patch is malformed.

agentrickard’s picture

Let's try that again. Comments in #17 still stand.

agentrickard’s picture

Reroll for 8.4.x

agentrickard’s picture

Dear god I hate patch workflows. Is there a Git branch I can push to?

agentrickard’s picture

agentrickard’s picture

agentrickard’s picture

Wrong file.

agentrickard’s picture

8.4 patch

Really, is there a Git repo I can fork?

agentrickard’s picture

heddn’s picture

Status: Needs work » Needs review
heddn’s picture

Status: Needs review » Needs work

Seems like linting issues w/ last patch. Back to NW.

jacobbell84’s picture

Version: 8.x-4.0 » 8.x-5.1
Status: Needs work » Needs review
StatusFileSize
new9.04 KB

Fixing the linting issue with patch 26.

jacobbell84’s picture

Fixing the code style warnings.

jacobbell84’s picture

Hopefully fixing last of the coding standards issues.

jacobbell84’s picture

Last coding standards fix!

roam2345’s picture

Status: Needs review » Needs work

Seems like the --update flag is ignored with the template as provided above.

use Drupal\migrate\Plugin\MigrationInterface
use Drupal\migrate\Plugin\MigrateIdMapInterface
 
 function my_module_migrate_urls(MigrationInterface $migration) {
      $ids = my_module_get_all_ids();
      $urls = [];

      // Lets exclude URLs for items already marked as imported.
      $id_map = $migration->getIdMap();
      $imported_ids = $id_map->getDatabase()->select($id_map->mapTableName(), 'm')
         ->fields('m', ['sourceid1'])
         ->condition('source_row_status', MigrateIdMapInterface::STATUS_IMPORTED)
         ->execute()
         ->fetchCol();
      $ids = array_diff($ids, $imported_ids);

      foreach ($ids as $id) {
        $urls[] = "https://example.com/jsonapi/node/article/{$id}";
      }
      return $urls;
   }

need to somehow in here ignore the array_diff if the drush --update flag is used.

roam2345’s picture

Another issue is that the hook my_module_migrate_urls is called on every single page load. This intern means that the function that retrieves all the my_module_get_all_ids is also fired on every page load. Logically that function is also looking up ID's of an alternate endpoint.

Not sure how best work around this.

hudri’s picture

Status: Needs work » Needs review

@lathan, the given callback function is just an example for custom logic. Just skip the array_diff part, if you don't need it. Migrate core's track_changes: true and the --update flag work perfectly without it.

Regarding #34, have you added skip_count: true?

roam2345’s picture

@hundri Yes I have that skip_count: true set.

Basically we have an external API structured like Drupals, Where by we have a list of all ID's on a URL and then a details endpoint for each Item. What we are doing with this patch is getting the list of ID's following that template code, Populating the urls under the source in config. Then it goes off and fetches each record.

This is working as laid out here. However every single bootstrap of drupal calls the callback listed in source urls config as specced. This means it's causing a cURL/guzzel request every single page load (because im fetching the list of ID's here from a URL).

Things get even worse if the API is down where by every page load now needs to wait for that request to time out.

roam2345’s picture

Right i figured out all my issues I had custom code in our stack using the subscriber interface on onTerminate firing off the migration process. Producing the issue of calling this service on every page load. So that issue was mine (my bad).

I did however add to this patch that the __toString of the URL is validated not to be empty. Incase like us we use an endpoint to populate the URLS, and that has a connection issue or times out.

achap’s picture

Thank you for this patch. It works great however, I have one issue with it. @rollsd mentioned his data source was an object rather than an array. I don't think we can make the assumption that the parsable data is at the root of the response though. My parsable data is also an object, however it sits under another key "data" in the returned response. In that case, simply passing item_selector: FALSE does not work. I propose the addition of a new configuration key, something like item_selector_is_object, which if true will wrap the configured item_selector in an array. Obviously, we would need to ensure this still works with objects at the root of the response.

achap’s picture

Status: Needs review » Needs work
heddn’s picture

Status: Needs work » Closed (duplicate)

The great gitlab migration is upon us. Please visit https://gitlab.com/drupalspoons/migrate_plus/-/issues/177 to continue the conversation. The latest patch from here has been conveniently uploaded over there to https://gitlab.com/drupalspoons/migrate_plus/-/merge_requests/3.

steinmb’s picture

Version: 8.x-5.1 » 6.0.x-dev
Status: Closed (duplicate) » Needs work

Reading through the Drupalspoons issue, with the state we now have on d.o. perhaps we should reopen the issue here and create MR from here? The feature req. it still useful and from what I can see, we still do not have a good alternative?

steinmb’s picture

Status: Needs work » Needs review
StatusFileSize
new4.81 KB

Manual reroll and minor changes just to get the ball rolling. My local tests are still running so partly untested.

Aaron23’s picture

@Steinmb Agreed. This patch needs to be updated in module. As there are scenario to keep the urls fetch from backend configuration. the custom callback will be the solution to achieve it

jcandan’s picture

Am I correct that the list of URLs created for a combination of list/item pattern and pagination would be something like this?

If the URL callback just does the job of listing all these endpoints, does anyone see a potential source data handling conflict by treating the list and item responses the same? Seems the separate solutions offered by #2608610: Add support for list/item pattern and #2640516: Support paging through multiple requests might solve for that, but I am open to getting a better grasp of this solution.

Thoughts?

jcandan’s picture

Actually, come to think of it, the list/item solution I went with was a variation of the UrlPerRow example in Drupal Answer link from #26 of #2608610: Add support for list/item pattern.

amaisano’s picture

We wrote a similar plugin extension that provides a list of URLs back to the main source plugin. There hasn't been any conflict with # of items found vs. imported vs. any other status - it just works like normal.

We've extended the the migrate_plug\data_parser\JSON plugin, and altered the nextSource() method to build this list.

We are crawling a JSON:API in our custom plugin until we find no more "next-page" attributes in the JSON response, and then compile the full list of URLs as basically a bunch of offset page requests.

Results:

LMAC-1FPJGH8-AG:src amo23$ drush ms sw_migrate_node_wall
 [notice] http://sw.local.com/jsonapi/node/wall?filter[default_langcode]=1&page[limit]=50&page[offset]=0
 [notice] http://sw.local.com/jsonapi/node/wall?filter[default_langcode]=1&page[limit]=50&page[offset]=50
 [notice] http://sw.local.com/jsonapi/node/wall?filter[default_langcode]=1&page[limit]=50&page[offset]=100
 [notice] http://sw.local.com/jsonapi/node/wall?filter[default_langcode]=1&page[limit]=50&page[offset]=150
 [notice] http://sw.local.com/jsonapi/node/wall?filter[default_langcode]=1&page[limit]=50&page[offset]=200
 [notice] http://sw.local.com/jsonapi/node/wall?filter[default_langcode]=1&page[limit]=50&page[offset]=250

I can share the code if anyone is interested.

matthieuscarset’s picture

@amaisano id very much like to read the code of this custom JSON plugin! :)

oivanov’s picture

@amaisano me too! please share the code of this custom JSON plugin!

jcarrasco’s picture

I tried this patch (42, 3040427-42-migrate_plus_multiple_urls.patch) and code for function my_module_migrate_urls but I have this error:

In Url.php line 88:
The URL callback function is not callable.

What I am missing to make callback function callable?
Thanks in advance

amaisano’s picture

Here is the parser code plugin we made that handles custom/dynamic/multiple source urls:

https://www.drupal.org/project/migration_jsonapi

hudri’s picture

Status: Needs review » Reviewed & tested by the community

We are using patch #42 for years now very successfully with many different endpoints. Moving to reviewed & tested.

Migrate sources are so vastly different that - for me - it is much easier and faster to write a PHP callback than to find and study and update 437 different list/item source plugin modules. And very often those plugins are NOT (re-) usable because endpoint A returns an array [] on root, endpoint B returns an object {} on root, endpoint C returns an HTTP-Code 404 when the last page number was passed and endpoint D just returns an HTTP 200 with no content after the last page. PHP callbacks just work. For years. (Sorry for the rant, but the more different sources you have to migrate from, the more useful this simple patch is.)

+1 from me to include this feature into migrate_plus.

codechefmarc’s picture

We are also using this patch to great success. I am curious if it's possible to add an argument that can be passed to the callback as well. Our use case is that we have several migrations that all use very similar code, but have different endpoints to get different resources. So, I envision something like this:

source:
  plugin: url
  data_fetcher_plugin: http
  data_parser_plugin: json
  urls:
    callback: my_custom_callback
    argument: something-passed-here

And then in the callback function:

function my_custom_callback(MigrationInterface $migration, $argument) {

}

This may be another issue/MR, but wanted to see if anyone else had this kind of use case. At the moment, the workaround is for us to use multiple callback functions, one for each migration.

codechefmarc’s picture

I just did a test and I can do something like this and it works - not sure how valid it is though:

Migration yml:

source:
  plugin: url
  data_fetcher_plugin: http
  data_parser_plugin: json
  urls:
    callback: my_custom_callback
  callback_arg: 'my amazing argument'

Callback function:

function my_custom_callback(MigrationInterface $migration) {
  $my_arg = $migration->getPluginDefinition()['source']['callback_arg'];
}
joachim’s picture

Status: Reviewed & tested by the community » Needs work
  1. +++ b/src/Plugin/migrate/source/Url.php
    @@ -32,11 +71,23 @@ class Url extends SourcePluginExtension {
    +        $configuration['urls'] = $configuration['urls']['callback']($migration);
    

    Rather than load up a potentially HUGE list of URLs into the configuration, we should defer this to getSourceUrls(), and the fetchers should call that.

    Also, changing configuration feels a bit ick -- it should remain what it was set to in the plugin definition rather than being spookily changed.

codechefmarc’s picture

Hi, finding out what I can do to help to move this forward - I'm planning on needing this functionality in another contrib module I'm working on. I'm not as well versed in these kinds of migrate plugins so I'm trying to follow your comment about deferring to getSourceUrls(). I see that function in there, but it's not being used anywhere. And not sure how to change the configuration piece either?

What if we made this a separate plugin that is a different name but extends the URL plugin and that way the original class isn't changed but the new one can add this functionality?

Thanks!

joachim’s picture

> What if we made this a separate plugin that is a different name but extends the URL plugin and that way the original class isn't changed but the new one can add this functionality?

That's not going to work because we also need to change the DataParserPluginBase. Currently it lifts the 'urls' property directly from the Url.

We need to decouple them a little bit and have the parser plugin call a method on the URL plugin.

joachim’s picture

I've done a bit more work on this, but it turns out that adding a method to the Url source plugin class has repercussions.

We need the parser plugin to have the url source plugin object, and that means:

- DataParserPluginManager needs to implement createInstance() to receive it and pass it on to the parser plugin
- the kernel tests will all need tweaking because many of them create an instance of the parser

Would be good to get input from maintainers before I go further on this.

jacobbell84’s picture

Making a quick update to the existing patch to work with the new function format. While the patch was still applying before, the variable names in the getSourceData function had changed so the code wasn't actually doing anything.

jacobbell84’s picture

bdh676’s picture

Category: Feature request » Bug report
Status: Needs work » Needs review

Was using patch #42 - Now fails with v6.0.7 release, migrate tools 6.1.1 release

bdh676’s picture

Status: Needs review » Needs work
heddn’s picture

what are the failures?

bdh676’s picture

The only error I am seeing in composer is this:

Could not apply patch! Skipping. The error was: Cannot apply patch https://www.drupal.org/files/issues/2023-02-15/3040427-42-migrate_plus_multiple_urls.patch

In Patches.php line 331:
                                                                                                                    
  Cannot apply patch Allow callback for Url source, and single item Json plugin #3040427: Allow callback for Url source, and single item Json plugin  (https://www.drupal.org  
  /files/issues/2023-02-15/3040427-42-migrate_plus_multiple_urls.patch)!                                            
                                                                          

With the new Migrate tools update, I see the following error when trying to run cron:

ArgumentCountError: Too few arguments to function Drupal\migrate_tools\MigrateExecutable::__construct(), 2 passed in /code/web/modules/oho/migrate_recurring/src/MigrateRecurringService.php on line 170 and at least 5 expected in Drupal\migrate_tools\MigrateExecutable->__construct() (line 98 of /code/web/modules/contrib/migrate_tools/src/MigrateExecutable.php).
heddn’s picture

Issue tags: +Needs reroll

The patch or MR probably needs a rebase then.

blade_ukraine’s picture

I've updated patch.

very_random_man’s picture

Patch in #66 doesn't apply to v6.0.5.

ethant made their first commit to this issue’s fork.

ethant’s picture

StatusFileSize
new3.94 KB

Rolled one for 6.0

heddn’s picture

But the patch needs to be rolled into an MR to ever stand a hope of getting merged. We do that so it has tests run and is reviewable. Leaving at NW for this next task.

rpayanm made their first commit to this issue’s fork.

rpayanm’s picture

Status: Needs work » Needs review
Issue tags: -Needs reroll

I have created a MR, please review.

heddn’s picture

Comment posted.

heddn’s picture

Status: Needs review » Needs work

grimreaper made their first commit to this issue’s fork.

grimreaper’s picture

Hi,

I have rebase the MR https://git.drupalcode.org/project/migrate_plus/-/merge_requests/149 as it does not apply anymore on 6.0.11 version.