Commit Graph

877 Commits (e0d038f582d340cb8dcac7d5dbce9300b86878dc)

Author SHA1 Message Date
Alex Pott 91baefec2d
Issue #3285637 by mikelutz, danflanagan8, benjifisher: 'Get' Process plugin should handle multiple 2022-08-09 10:16:18 +01:00
Alex Pott 194b56c872
Issue #3215062 by quietone, gambry, ravi.shankar, dww, daffie, yogeshmpawar, aarti zikre, alexpott, mfb, larowlan, longwave, catch: Update hook_schema for Y2038 2022-07-23 06:46:46 +01:00
Alex Pott 5d4b6b4a87
Issue #3283602 by urvashi_vora, eleonel, mrinalini9, ankithashetty, alexpott, Munavijayalakshmi: Fix repeated words 2022-07-17 09:58:52 +01:00
catch 20e4baee69 Issue #3257201 by murilohp, ravi.shankar, beatrizrodrigues, daffie, mondrake: Create the new method Drupal\Core\Database\Connection::getPrefix() and deprecate Drupal\Core\Database\Connection::prefixTable($table) 2022-07-13 15:54:02 +09:00
xjm cdafba4f2b
Issue #3285230 by xjm, benjifisher, phenaproxima, mikelutz, quietone: Migrate's DownloadFunctionalTest:: testExceptionThrow() is failing on guzzlehttp/psr7 2.3.0 2022-06-23 23:29:36 -05:00
catch 8f72e9c7fa Issue #3267314 by quietone, danflanagan8: Handle migration tests for removing tracker
This reverts commit add472cffa.
2022-06-21 16:33:07 +01:00
catch add472cffa Revert "Issue #3267314 by quietone, danflanagan8: Handle migration tests for removing tracker"
This reverts commit 12762b400f.
2022-06-21 15:12:01 +01:00
catch 12762b400f Issue #3267314 by quietone, danflanagan8: Handle migration tests for removing tracker 2022-06-20 20:28:44 +01:00
Alex Pott 386d79e2e0
Issue #3283794 by mondrake, longwave: Fix 'should return {type} but return statement is missing' PHPStan L0 errors in test code 2022-06-14 14:10:16 +01:00
Alex Pott 6dd0db56c8
Issue #3281535 by mondrake, daffie: Fix 'Access to an undefined property' PHPStan L0 errors in test code 2022-06-14 11:27:54 +01:00
Alex Pott 0e2ea433bf
Issue #3264120 by Spokje, catch, Taran2L, danflanagan8, xjm, quietone, ckrina: Remove aggregator module and our dependency on Laminas Feed 2022-03-29 14:38:11 +01:00
quietone 8b9b11483d Issue #3252562 by rlhawk, mikelutz, benjifisher, danflanagan8: In Callback Migrate process, document how to use functions that accept no argument as callable 2022-03-11 01:09:59 +00:00
catch c91106efb3 Issue #3265424 by quietone, daffie, danflanagan8: Move migrate related aggregator tests to the module in preparation of removal in d10 2022-03-02 10:23:11 +00:00
catch f58fccc2fc Issue #3261004 by quietone, paulocs, andypost: Remove deprecated code from the migration system 2022-02-21 12:07:52 +00:00
Alex Pott 42630422b9
Issue #3261486 by catch, longwave, dww: Remove core updates added prior to 9.3.0 and adjust test coverage 2022-02-08 12:16:18 +00:00
Alex Pott f21dc6690e
Issue #3254347 by murilohp, joachim, danflanagan8, quietone: Add the process plugin ID to migration exception message 2022-02-01 12:57:44 +00:00
Alex Pott bcb89890b2
Issue #3048464 by danflanagan8, hctom, quietone, mikelutz, heddn: SubProcess migrate process plugin should throw exception on invalid input 2022-01-27 03:07:47 +00:00
Alex Pott 76c0ec234c
Issue #3219649 by quietone, murilohp, longwave: Fix spelling for words used once, beginning with 'q' -> 's', inclusive 2022-01-27 02:25:01 +00:00
Alex Pott ce85149c33
Issue #3226401 by quietone, joachim, huzooka: Add documentation of migration yml files 2022-01-24 23:44:17 +00:00
Alex Pott be8ec27847
Issue #3240873 by quietone, martin_klima, danflanagan8: Add tests of row hash to trackChangesTest 2022-01-24 23:26:18 +00:00
Alex Pott 2f1c716625
Issue #3106216 by Spokje, longwave, alexpott, apaderno, Hardik_Patel_12, daffie: Remove unused variables from core 2022-01-10 12:07:03 +00:00
Alex Pott a0b2090aac
Issue #3257654 by mondrake: Fix PHPStan L0 failures that cannot be included in baseline 2022-01-10 10:59:14 +00:00
catch 8313743567 Issue #3240109 by edurenye, quietone: When using MigrateProcessInterface some fields might expect something different than array or string 2022-01-02 16:01:03 +00:00
Alex Pott 2a68e8f22c
Issue #3251835 by beatrizrodrigues, joachim, mikelutz, quietone: Fix incorrect @return docs and description for Row::getSource() 2021-12-30 21:11:08 +00:00
Alex Pott 934f42ae87
Issue #3129043 by mondrake, daffie, ankithashetty, ravi.shankar, alexpott, Beakerboy, catch: Move core database drivers to modules of their own 2021-12-29 17:14:14 +00:00
Alex Pott 5592a5a546
Issue #3247039 by joachim, quietone: MigrateDestinationInterface::import() should document that it can throw a MigrateException 2021-12-27 12:19:30 +00:00
Alex Pott 1359e7abde
Issue #3232097 by daffie, longwave: [Symfony 6] Add "array" type hint to methods overriding Symfony\Component\EventDispatcher\EventSubscriberInterface::getSubscribedEvents() 2021-12-18 06:36:14 +00:00
catch cfd8517353 Issue #3182103 by TR, dan2k3k4, longwave, mondrake, Sweetchuck, Kristen Pol: Ensure correct signature for setUp(), tearDown(), setUpBeforeClass(), and assertPostConditions() methods 2021-12-14 12:05:17 +00:00
catch 92836c436b Issue #3138078 by mondrake, larowlan, longwave, xjm: [D9.3 beta - w/c Nov 8, 2021] Add a 'void' return typehint to custom assert* methods 2021-11-22 15:25:32 +00:00
Alex Pott 576bd7543d
Issue #3207567 by Spokje, quietone, guilhermevp, yogeshmpawar, daffie, alexpott: Fix Drupal.Commenting.FunctionComment.MissingParamComment 2021-11-19 09:49:33 +00:00
Lee Rowlands 6d39cdeeb4
Issue #3222769 by bbrala, alexpott, longwave, Matroskeen: [November 8, 2021] Replace all list (array destructuring) assignment to the array syntax 2021-11-15 12:35:55 +10:00
Lee Rowlands 330473e759
Issue #3222251 by bbrala, longwave: [November 8, 2021] Replace all isset constructs with the null coalescing operator 2021-11-15 12:19:43 +10:00
Alex Pott 2aee2c17b3
Issue #3212891 by vaish, brentgees@gmail.com, srilakshmier, mikelutz, quietone, alexpott: Incorrect type declaration in docblock for class property 2021-11-07 14:33:50 +00:00
Alex Pott 76b866462d
Issue #3163663 by mpp, chrisolof, alexpott, quietone: Too many open files issue with migrating multiple files using "download" process plugin 2021-11-03 10:42:55 +00:00
catch 3eba4b3c58 Issue #3226052 by longwave, alexpott: Update to cspell 5 2021-10-28 13:18:59 +01:00
catch 8065ee3ee6 Issue #3134470 by heddn, gabesullice, sudiptadas19, ridhimaabrol24, quietone, mikelutz, Kristen Pol, alexpott, Wim Leers, larowlan, longwave: Switch to entity owner in EntityContentBase during validation 2021-10-22 10:18:35 +01:00
Alex Pott e67aa82acf
Issue #3124674 by mondrake, Neslee Canil Pinto, daffie: Refactor functionality for the SQLite driver to stop migration testing usage of the 'extra_prefix' connection option 2021-10-18 17:01:08 +01:00
Alex Pott 53e5e3382c
Issue #2909370 by Spokje, mfernea, neclimdul, zaporylie, quietone, xjm, osman, BartoszUrbaniak: Fix 'Drupal.Commenting.VariableComment.IncorrectVarType' coding standard 2021-10-18 16:40:04 +01:00
Alex Pott 8616edd24f
Issue #2976098 by quietone, alexpott, Sivaji_Ganesh_Jojodae, joachim, benjifisher, Wim Leers, mikelutz, catch, dinarcon, scotwith1t, heddn: MigrateExecutable should add details for the migration & destination property to exceptions that cause a row failure 2021-10-18 09:37:25 +01:00
Alex Pott 57d91dbea0
Issue #3209934 by quietone, alexpott, longwave: Fix spelling for 46 migrate related words 2021-10-18 09:13:24 +01:00
catch c1933e73e7 Issue #3239298 by alexpott, andypost, quietone, huzooka, daffie, longwave, Wim Leers, larowlan: Fix \Drupal\migrate\Plugin\migrate\destination\EntityConfigBase::updateEntity() so that config translation migrations can be rolled back 2021-10-13 12:24:53 +01:00
Lee Rowlands 8ce8eb9be1
Issue #3241130 by alexpott: Migrate units test trigger deprecations on PHP 8.1 2021-10-07 20:42:22 +10:00
catch faa874be00 Issue #3222844 by guilhermevp, paulocs, dhirendra.mishra, joachim, quietone, longwave: Add documentation for the return value of MigrateExecutableInterface::import() 2021-09-29 15:49:54 +01:00
catch 3745a46ace Issue #3239556 by andypost: Fix return type of \Drupal\Tests\migrate\Kernel\TestFilterIterator::accept() 2021-09-28 16:44:10 +01:00
Alex Pott 60f924386c
Issue #3190818 by Wim Leers, narendraR, quietone, xjm: Allow source counts to be cached: implement ::doCount() instead of ::count() 2021-09-25 18:35:31 +01:00
catch fb545897bf Issue #3238452 by alexpott: Exception messages must default to an empty string not a NULL for PHP 8.1 2021-09-23 10:53:54 +01:00
Alex Pott f1c06e87e0
Issue #3085192 by Wim Leers, focus13, grasmash: Add index on source_ids_hash for migrate_message_* tables 2021-09-20 23:10:58 +01:00
Lee Rowlands f06ad93f53
Issue #3224523 by alexpott, longwave: [PHP 8.1] Add ReturnTypeWillChange attribute where necessary 2021-09-17 13:12:50 +10:00
catch 1b66ab0cb3 Issue #3130606 by shaktik, mondrake, KapilV, longwave, daffie: MockBuilder::setMethods is deprecated in PHPUnit8 and removed from PHPUnit10 2021-09-13 17:23:15 +01:00
catch d79e4a6518 Issue #3106531 by mondrake, daffie, Rithesh BK, catch, xjm: Notify in Status Report that per-table database prefixes are no longer supported, and will throw errors in Drupal 10.0 2021-09-07 16:26:18 +01:00
catch 8dea1fb4d0 Issue #3227549 by huzooka, Wim Leers: Sql id map plugin's getRowByDestination shouldn't return FALSE 2021-08-17 10:31:45 +01:00
catch 4b4895c0c5 Issue #2989893 by ankithashetty, srilakshmier, quietone, firfin, longwave: Remove redundant source: key in Substr example 2021-08-06 08:25:19 +01:00
Alex Pott a0a22f8d41
Issue #3180351 by longwave, alexpott, daffie, catch, andypost, Charlie ChX Negyesi: doctrine/reflection is abandoned 2021-08-02 09:24:49 +01:00
catch 6335af17b4 Issue #3221312 by Spokje: ->willReturn(...) would make more sense here 2021-07-28 11:57:46 +01:00
Alex Pott 7de8fc1fda
Issue #3215836 by guilhermevp, imalabya, swatichouhan012, AJV009, joachim, quietone: add a constant to represent uncountable sources for SourcePluginBase::count() 2021-07-10 23:37:45 +01:00
Alex Pott fa3995b5dd
Issue #3220379 by guilhermevp, quietone, joachim: example code for NullCoalesce isn't formatted properly 2021-07-09 13:06:59 +01:00
Alex Pott cfafb8735a
Issue #3222168 by hmendes, kriboogh, longwave, pookmish: Replace \GuzzleHttp\Client with \GuzzleHttp\ClientInterface 2021-07-06 16:40:04 +01:00
xjm c1179c9377 Issue #3217717 by longwave, mondrake, tim.plunkett, xjm: Replace usages of the at() matcher, which is deprecated 2021-06-28 16:09:48 -05:00
catch 33ba45820a Issue #2719649 by Spokje, harsha012, jofitz, vprocessor, nikitagupta, cburschka, rasikap, hitesh-jain, quietone, longwave, mfernea, andypost, klausi, Malevi4, crazyrohila: Fix 'Drupal.Commenting.InlineComment.SpacingBefore' coding standard 2021-06-24 13:35:45 +01:00
catch eaf2958695 Issue #3196583 by Matroskeen, Wim Leers, quietone, larowlan: MigrationLookup plugin overrides source values for multiple migrations 2021-06-22 15:28:41 +01:00
catch 1d5e219f85 Issue #3156396 by TR, pavnish, mondrake, longwave, catch, jungle: Use assertSameSize() to check same size of two countable variables 2021-06-21 12:31:24 +01:00
catch e48dcff470 Issue #2879159 by Spokje, LoMo, ravi.shankar, quietone, mondrake: Some calls to assertEquals have expected/actual parameters reversed 2021-06-21 11:27:34 +01:00
catch 116ebd1e2c Issue #3217706 by Spokje, longwave, guilhermevp, mondrake: Replace usages of assertFileNotExists(), that is deprecated 2021-06-14 09:26:39 +01:00
catch f3ad0680a3 Issue #3133162 by jungle, ravi.shankar, Deepak Goyal, Neslee Canil Pinto, anmolgoyal74, xjm, Kristen Pol: Replace the start verb Test with Tests in method comments of tests 2021-05-24 14:26:11 +01:00
Alex Pott 4a72cc3169
Issue #3207734 by Spokje, quietone: Fix Drupal.Commenting.InlineVariableComment 2021-05-20 21:47:18 +01:00
Alex Pott 3f75f72de2
Issue #3131281 by mondrake, rahulrasgon, longwave, ridhimaabrol24, naresh_bavaskar, jungle, daffie: [May 17th 2021] Replace assertEqual() with assertEquals() 2021-05-20 00:39:14 +01:00
catch 6802ea3355 Issue #3207968 by quietone, longwave, Spokje: Replace @codingStandards comments with phpcs: comments 2021-05-17 20:22:22 +01:00
Alex Pott a6124cc0b6
Issue #3190815 by Wim Leers, quietone, NickDickinsonWilde, benjifisher, mikelutz, larowlan: Source count caching broken: impossible to enable source count caching for SqlBase-based source plugins (plus, unneeded cache I/O) 2021-05-17 09:09:24 +01:00
bpstr d4726b1895 Issue #3213638 by bpstr: Fix incorrect Migration plugin description 2021-05-13 09:53:33 +00:00
catch a9560b32e8 Issue #2974128 by Majdi, quietone: Missing parameter in process plugin DefaultValue example 2021-05-11 22:13:04 +01:00
Alex Pott a3ca88ebbf
Issue #2882276 by benjifisher, estoyausente, nuez, kristiaanvandeneynde, alexpott, ravi.shankar, osopolar, marvil07, danflanagan8, heddn, quietone, Matroskeen, hudri, joshi.rohit100: Extended callback process plugin to call functions with multiple parameters 2021-05-06 01:16:13 +01:00
catch 589f814df1 Issue #2944846 by quietone, masipila, jibran, jhodgdon, heddn, phenaproxima: Improve description of key concepts in migrate.api.php documentation 2021-04-14 11:05:40 +01:00
catch 13932c1179 Issue #3206939 by Matroskeen, quietone: Add documentation for Migrate and Migrate Drupal source plugins 2021-04-13 16:16:07 +01:00
catch 65873adedc Issue #3204163 by jonathanshaw: EntityQuery accessCheck: tests should not check access unless relevant 2021-04-01 18:46:09 +01:00
catch 96aa5ca504 Issue #3202125 by jonathanshaw, Berdir, catch, longwave: EntityQuery accessCheck: unique value validation should not be access sensitive 2021-04-01 10:31:35 +01:00
Alex Pott 08766c5dee
Issue #2903911 by joshmiller, longwave, anmolgoyal74, ankithashetty, init90, Pooja Ganjage, _gradient_, daffie, borisson_: Fix 'Drupal.Commenting.FunctionComment.ParamMissingDefinition' coding standard 2021-03-29 16:22:14 +01:00
catch 1df994459b Issue #3203265 by hctom, quietone: Wrong/Missing variable type hint for $row property of MigrateProcessTestCase class 2021-03-25 13:41:15 +00:00
Alex Pott d4c2aa96db
Issue #2579361 by quietone, ayushmishra206, heddn, jibran, Wim Leers, Lendude, benjifisher, dww: Row->setSourceProperty() docs are misleading 2021-03-02 11:53:46 +00:00
Alex Pott 0e13819245
Issue #3097312 by quietone, Wim Leers, raman.b, benjifisher: Never generate migration dependencies on derivatives of itself is a self_referencing migration_lookup 2021-02-27 10:53:59 +00:00
catch 6503169010 Issue #3189054 by Matroskeen, quietone: Exception 'MigrateException' is never thrown in the MigrateExecutable constructor 2021-02-26 10:09:45 +00:00
Alex Pott 499e358acd
Issue #3197749 by quietone, joachim: empty migrate source does not populate fields with constants 2021-02-20 13:28:37 +00:00
Alex Pott 203ad064e4
Issue #2723621 by jofitz, mfernea, alexpott, abhisekmazumdar, neclimdul, snehi, Suresh Prabhu Parkala, ankithashetty, anmolgoyal74, anoopjohn, longwave, hgunicamp, empesan, kostyashupenko, Mile23, dawehner, idebr, daffie, catch: Fix Drupal.Commenting.FunctionComment.IncorrectTypeHint and Drupal.Commenting.FunctionComment.InvalidTypeHint 2021-02-20 13:24:51 +00:00
Alex Pott 9c5da7cb4a
Issue #3005969 by tstoeckler, quietone, longwave, ayushmishra206, Ante890, gbirch, zaporylie: Add support for migrate d7 telephone field 2021-02-15 14:34:05 +00:00
Alex Pott 9d96600683
Issue #2954982 by Matroskeen, abramm, Rob230: Incorrect bundle/bundle key handling in EntityContentBase::processStubRow() 2021-02-10 09:31:10 +00:00
Alex Pott c4d6699d96
Issue #3161983 by catch, longwave, Pooja Ganjage, sanjayk, daffie, Kristen Pol, dww, Gábor Hojtsy: [Symfony 6] Update EventDispatcherInterface type hints in constructors 2021-02-10 09:24:10 +00:00
Alex Pott 2c460e73c9
Issue #3157004 by thedrupalkid, tstoeckler, Matroskeen, ayushmishra206, quietone, alexpott, mikelutz: MachineName migrate process plugin should make allowed characters regular expression configurable 2021-02-05 13:24:51 +00:00
catch a4095b9b33 Issue #2558857 by heddn, andr1yun, grahl, andypost, catch, benjifisher, Berdir, joachim: Migrations invalidate entity caches when trying to reclaim memory, should flush 2021-02-04 15:01:08 +00:00
Lee Rowlands 2a2f2de328
Issue #2814953 by quietone, huzooka, Nathaniel, Nixou, NickDickinsonWilde, benjifisher, cosolom, davidsickmiller, mradcliffe, catch: Migrate Drupal 7 node/user reference fields 2021-02-02 14:20:04 +10:00
catch e6d54eab8a Issue #3192888 by baliram.patil, quietone: Remove reference to load plugin, LoadEntity 2021-01-28 10:23:05 +00:00
catch afd86e7d3c Issue #3193955 by mondrake, daffie, catch: Swap assertEqual arguments in preparation to replace with assertEquals 2021-01-28 09:57:41 +00:00
catch 6c64763741 Issue #2867959 by mondrake, danielnv18, xjm, ZeiP, daffie: Replace usages of deprecated AssertLegacyTrait::assertIdentical 2021-01-21 10:01:43 +00:00
catch d722e9d760 Issue #3192221 by mondrake, daffie, longwave: Swap assertIdentical arguments in preparation to replace with assertSame 2021-01-18 17:35:30 +00:00
catch 8a7ce9daf7 Issue #3077322 by aleevas, quietone, RoSk0, mikelutz, Lendude: Add test for NULL source value to test of static_map process plugin 2021-01-11 22:11:02 +00:00
catch e2289f20d5 Issue #3189064 by Matroskeen, quietone, benjifisher: Migration sql source plugins can not be serialised because of reference to the database connection 2021-01-11 17:59:28 +00:00
catch e92a4080d8 Issue #3162822 by quietone, jungle, Abhijith S, catch, longwave: Fix words with 'reference' 2021-01-08 12:47:14 +00:00
Alex Pott d78e53bb0b
Issue #3189880 by mondrake, raman.b, Pooja Ganjage, daffie, Megha_kundar, dww, S_Bhandari: Use square brackets syntax in sql queries 2021-01-05 15:02:37 +00:00
catch 7e79ca91db Revert "Issue #3161983 by Pooja Ganjage, sanjayk, catch, longwave, daffie, dww, Gábor Hojtsy: [Symfony 6] Update EventDispatcherInterface type hints in constructors"
This reverts commit a9cee683f2.
2020-12-24 14:24:40 +00:00
catch a9cee683f2 Issue #3161983 by Pooja Ganjage, sanjayk, catch, longwave, daffie, dww, Gábor Hojtsy: [Symfony 6] Update EventDispatcherInterface type hints in constructors 2020-12-23 17:36:55 +00:00
Alex Pott d61ce3017a
Issue #3147135 by longwave: Fix 'Drupal.Classes.UseGlobalClass' coding standard 2020-12-21 07:25:58 +00:00
Alex Pott c0904f72e1
Issue #3187386 by quietone, anmolgoyal74, benjifisher, alexpott, catch: Use a custom error message for PluginNotFoundException in the migratelookup service 2020-12-21 05:15:06 +00:00