Commit Graph

2215 Commits (297344233565ce431e25dabcea9dabe7ad851d0c)

Author SHA1 Message Date
Alex Pott b043354621
Issue #2991001 by pasan.gamage, jibran: Fix TemporaryTableMapping deprecation message 2018-08-09 11:06:36 +01:00
Alex Pott 9b6643deaf
Revert "Issue #2893029 by phenaproxima, Sam152, tim.plunkett, dawehner, a.dmitriiev, Berdir: StringTranslationTrait consumers cannot be reliably serialized without DependencySerializationTrait"
This reverts commit f4e81e0506.
2018-08-08 09:57:20 +01:00
Alex Pott a4208fd3c8
Issue #2961285 by pavlosdan, hchonov, borisson_: Entity query condition count is faulty 2018-08-07 15:48:44 +01:00
Alex Pott f4e81e0506
Issue #2893029 by phenaproxima, Sam152, tim.plunkett, dawehner, a.dmitriiev, Berdir: StringTranslationTrait consumers cannot be reliably serialized without DependencySerializationTrait 2018-08-07 14:49:42 +01:00
Francesco Placella bacd6578d3 Issue #2987124 by alexpott, mondrake: Functional tests don't use SIMPLETEST_DB environmental variable as expected 2018-08-07 12:09:45 +02:00
Alex Pott 27bc1f74cb
Issue #2848817 by voleger, andypost, hgunicamp, JacobSanford, techtud, alexpott, vidhatanand, Sharique, JayKandari, kiamlaluno, cilefen, borisson_: Replace all calls to db_table_exists, which is deprecated 2018-08-06 10:41:05 +01:00
Nathaniel Catchpole b2891b8e8f Issue #2983603 by alexpott: Move menu_ui_menu_* entity hook implementations to the Menu entity 2018-07-31 20:19:53 +09:00
Nathaniel Catchpole 82eb7eeaa0 Issue #2966523 by alexpott, blakemorgan, almaudoh, gapple, Mixologic, amateescu, bojanz: MySQL 8 Support 2018-07-31 13:17:30 +09:00
Nathaniel Catchpole 68eee65ffc Issue #2976335 by alexpott, Erik Frèrejean, HenrikBak, andypost: Use Zend-Feed's standalone extension managers to prevent sites breaking 2018-07-30 20:50:51 +09:00
Alex Pott d1eee651be
Issue #2942314 by Lendude: Move JavascriptGetDrupalSettingsTest, BrowserWithJavascriptTest out of simpletest module 2018-07-30 12:01:13 +01:00
Alex Pott 7e55e67b01
Issue #2809521 by martin107, Lendude, vaplas: Convert AJAX part of \Drupal\system\Tests\Ajax\AjaxInGroupTest to WebDriverTestBase 2018-07-30 11:36:40 +01:00
Alex Pott f58b7ce3da
Issue #2987856 by voleger, mondrake, alexpott: Followup: Update Schema test 2018-07-30 11:20:50 +01:00
Francesco Placella 76fdebab79 Issue #2960136 by amateescu, tstoeckler, vijaycs85: Add the ability to use a prefix for all the tables in a table mapping 2018-07-27 11:42:37 +02:00
Nathaniel Catchpole d2f461ffab Issue #2826021 by hchonov, Berdir, mkalkbrenner, plach, james.williams, tstoeckler: FieldItemList::equals is sufficient from the storage perspective but not for code checking for changes 2018-07-26 14:45:21 +09:00
Nathaniel Catchpole 3b3eda5054 Issue #2987009 by alexpott: Remove unnecessary space in queries generated by Select::__toString() 2018-07-25 15:42:16 +09:00
Nathaniel Catchpole 7c0ce17aad Issue #2969053 by alexpott, tim.plunkett, Pere Orga, cashwilliams, Jasu_M, David_Rothstein, Heine, drumm, larowlan, pwolanin, xjm, dsnopek, dawehner, mlhess, quicksketch: Add unit tests for SA002 and SA004 2018-07-25 14:00:18 +09:00
Alex Pott 90bf3dc227
Issue #2863262 by Lendude, vaplas, Jo Fitzgerald, dawehner, alexpott: Bootstrap: Convert system functional tests to phpunit 2018-07-25 05:02:32 +01:00
Alex Pott ead36d31b8
Issue #2848479 by voleger, yogeshmpawar, marvin_B8, gaurav.kapoor, hgunicamp, mondrake, daffie, alexpott, xjm, cilefen: Replace all calls to db_drop_table, which is deprecated 2018-07-24 14:57:22 +01:00
Alex Pott 2f08f6de5e
Issue #2809517 by martin107, Lendude: Convert AJAX part of \Drupal\system\Tests\Ajax\AjaxFormCacheTest to WebDriverTestBase 2018-07-22 13:51:10 +01:00
Alex Pott 0083ba97d7
Issue #2973879 by jibran, lauriii, drpal, samuel.mortenson, dawehner, Wim Leers: Add login/logout Nightwatch commands (and a Drupal "login" command to allow for that) 2018-07-21 14:47:25 +01:00
Nathaniel Catchpole 16efa3bea6 Issue #2986901 by gabesullice, alexpott: Followup for #2666392: ConfigEntityTypeInterface::getPropertiesToExport no longer returns NULL, throws exception instead 2018-07-20 19:39:13 +01:00
Alex Pott 7353b6f170
Issue #2952634 by Sut3kh, alexpott, Rob C, jibran: LegacyMessenger::deleteByType does not delete anything 2018-07-16 10:08:24 +01:00
Gábor Hojtsy 1e8a4de636 Issue #2975754 by Berdir, plach, alexpott, hchonov, mkalkbrenner, tstoeckler, webchick: Add hooks to act on a new revision being created 2018-07-16 10:20:58 +02:00
Lee Rowlands 96c4a7e24f
Issue #2976244 by Sam152, amateescu, Berdir: The BaseFieldOverride entity fails to normalize default values into the "array keyed by delta" format in the same way BaseFieldDefinition does when a callback is specified 2018-07-14 08:15:53 +10:00
Nathaniel Catchpole b55ed6bd46 Issue #2666392 by alexpott, webflo, xaqrox, Boobaa, dawehner, Berdir: Unable to revert third party settings via config import 2018-07-13 14:11:18 +01:00
Nathaniel Catchpole 099f4146a5 Issue #2932462 by phenaproxima, japerry, tim.plunkett: Add EntityContextDefinition for the 80% use case 2018-07-13 13:26:50 +01:00
Nathaniel Catchpole 163144a923 Issue #2973791 by alexpott, martin107, mairi, volkerk: Fix deprecation messages related to deprecated comment Action plugins 2018-07-12 13:01:47 +01:00
Alex Pott 5a7dc82fe6
Issue #2616724 follow-up by alexpott: Warn when trying to create a database table with a NOT NULL => FALSE primary key 2018-07-11 15:11:41 +01:00
Alex Pott ca1574e36e
Issue #2980670 by follow-up alexpott: Install a site from config if the config directory is set in settings.php 2018-07-11 14:06:11 +01:00
Nathaniel Catchpole 72cd973590 Issue #2616724 by amateescu, daffie: Warn when trying to create a database table with a NOT NULL => FALSE primary key 2018-07-11 13:34:17 +01:00
Gábor Hojtsy 8fbece069c Issue #2980670 by alexpott, bircher, marcvangend, webchick, jibran, Gábor Hojtsy, benjifisher, smaz: Install a site from config if the config directory is set in settings.php 2018-07-11 11:15:42 +02:00
Alex Pott 61cbaba042
Issue #2605284 by mondrake, david_garcia, GoZ, Jo Fitzgerald, alexpott, Pradnya Pingat, daffie, dawehner, amateescu, David Strauss, larowlan: Testing framework does not work with contributed database drivers 2018-07-10 15:13:08 +01:00
Alex Pott ff393932ac
Issue #2983504 by ApacheEx, Lendude, Tessa Bakker: Add a way to easily set the cookies in a request done using the Guzzle client 2018-07-08 21:44:03 +01:00
Alex Pott ca5abe8c6f
Issue #2983382 by ApacheEx, drpal: JS codestyle: spaced-comment 2018-07-06 15:26:31 +01:00
Alex Pott 9409fb9d00
Issue #2973227 by jibran, benjy, alexpott, Mile23, Sam152, vaplas, larowlan: Move UI helper functions from BTB into the traits 2018-07-06 15:10:47 +01:00
Alex Pott c7afa35f60
Issue #2503263 by jhedstrom, fgm, cilefen: Config import validation needs to provide error messages 2018-07-06 13:22:33 +01:00
Nathaniel Catchpole 03b2200991 Issue #2958228 by tstoeckler, alexpott: HTML output recording does not work for InstallerTestBase tests 2018-07-06 09:19:26 +01:00
Alex Pott f35ef741e2
Issue #2982983 by svetoslav.dragoev, John Cook: Batch Builder tests in the wrong location 2018-07-05 20:29:27 +01:00
Lauri Eskola 5f0f49d741 Issue #736066 by droplet, drpal, vaplas, dmsmidt, effulgentsia, nod_, tic2000, tim.plunkett, lauriii, casey, morsok, idebr, alexpott, yched, tedbow, GuyPaddock, drintios, edurenye, dtamajon, adinac, VinayLondhe, ajalan065, hrmoller, ericduran, piyuesh23, andreyks, roborew, Wim Leers, lokapujya, samuel.mortenson, Dries, DuaelFr, OnkelTem, manu manu, khiminrm, Greg Boggs, SKAUGHT, itsekhmistro, fubhy, SpadXIII, s.messaris, zviryatko: ajax.js insert command sometimes wraps content in a div, potentially producing invalid HTML and other bugs 2018-07-04 19:59:57 +01:00
Alex Pott 27740c26de
Issue #2942900 by Mixologic, vaplas, jibran, dawehner, Lendude, martin107, alexpott, tedbow, tacituseu, tstoeckler, heddn: Convert JavascriptTestBase Tests to use DrupalSelenium2Driver 2018-07-04 15:36:57 +01:00
Nathaniel Catchpole cb67958df8 Issue #2557299 by alexpott, Manuel Garcia, borisson_, phenaproxima, swentel, Berdir, larowlan, mbovan, martin107, LKS90, segi, tim.plunkett, giancarlosotelo: Any AJAX call disregards machine name verification when AJAX is used and leads to a fatal error 2018-07-04 12:48:07 +01:00
Alex Pott ff99cb2133
Revert "Issue #2942900 by Mixologic, vaplas, jibran, Lendude, martin107, alexpott, dawehner, tedbow, tacituseu, tstoeckler, heddn: Convert JavascriptTestBase Tests to use DrupalSelenium2Driver"
This reverts commit f55d974612.
2018-07-04 08:20:33 +01:00
Alex Pott f55d974612
Issue #2942900 by Mixologic, vaplas, jibran, Lendude, martin107, alexpott, dawehner, tedbow, tacituseu, tstoeckler, heddn: Convert JavascriptTestBase Tests to use DrupalSelenium2Driver 2018-07-04 08:16:25 +01:00
Francesco Placella cf458f2e04 Issue #2981220 by amateescu, jibran, tstoeckler: SqlContentEntityStorage should use the table names provided by its table mapping 2018-07-03 23:57:14 +02:00
Francesco Placella 7963071675 Issue #2960046 by amateescu, tstoeckler: Allow the table mapping to be instantiated with a custom entity type definition 2018-07-03 23:54:05 +02:00
Nathaniel Catchpole 5e908886e9 Issue #2976103 by amateescu, catch, tstoeckler, alexpott: Make it possible to retrieve all the last installed entity type definitions at once from the update manager 2018-06-29 15:13:38 +01:00
Nathaniel Catchpole 7410ab4ab0 Revert "Issue #2976103 by amateescu, tstoeckler, alexpott: Make it possible to retrieve all the last installed entity type definitions at once from the update manager"
This reverts commit 246e95d4f5.
2018-06-29 12:50:13 +01:00
Nathaniel Catchpole 246e95d4f5 Issue #2976103 by amateescu, tstoeckler, alexpott: Make it possible to retrieve all the last installed entity type definitions at once from the update manager 2018-06-28 23:02:16 +01:00
Nathaniel Catchpole 944203f44e Issue #2976356 by phenaproxima, amateescu, Sam152: Add a validation constraint to check if an entity has a field 2018-06-28 22:55:38 +01:00
Alex Pott bb5c5a3593
Issue #2835989 by gwagroves, Jo Fitzgerald, alexpott: DatabaseQueue::numberOfItems should return an integer 2018-06-26 10:26:25 +01:00
Nathaniel Catchpole 1672637596 Issue #2975328 by alexpott, Gábor Hojtsy, borisson_: Install profile in settings.php and mismatch check makes re-installs of Drupal hard 2018-06-25 20:12:22 +01:00
Alex Pott 646584b3f7
Issue #2946419 by vaplas, Lendude, Mile23: Entity: Convert system functional tests to phpunit 2018-06-25 13:51:30 +01:00
Alex Pott 9e9ee75ba4
Issue #2581557 by dawehner, mxh, xjm, sorabh.v6, JeroenT: Add ltrim($path, '/') in drupalGet method 2018-06-25 12:01:36 +01:00
Lee Rowlands 1b66e5369f
Issue #2961822 by phenaproxima, tim.plunkett: Support object-based plugin definitions in ContextHandler 2018-06-25 13:37:08 +10:00
Nathaniel Catchpole 44986fefc2 Issue #2973509 by claudiu.cristea, tahirmus, alexpott: Image media source uses FileSystem class instead of FileSystemInterface for type hinting 2018-06-21 23:24:05 +01:00
Nathaniel Catchpole bb6ea924e8 Issue #2875679 by mondrake, daffie: BasicSyntaxTest::testConcatFields fails with contrib driver 2018-06-21 22:59:09 +01:00
Nathaniel Catchpole aae672cc28 Issue #2940203 by almaudoh, dawehner: Use dedicated Exception classes for extension system 2018-06-21 22:51:20 +01:00
Nathaniel Catchpole de724027fe Issue #2788777 by alexpott, bircher, jribeiro, Eli-T, mpotter, douggreen, GoZ, DamienMcKenna, Dane Powell, jibran, szeidler, Alumei, andypost, dawehner, johndevman: Allow a site-specific profile to be installed from existing config 2018-06-20 19:03:54 +01:00
Nathaniel Catchpole 49a45db6f8 Issue #2979944 by alexpott: Remove t() usage in Drupal\Core\Validation 2018-06-19 11:37:56 +01:00
Alex Pott 396936c456
Issue #2887411 by vaplas, naveenvalecha, larowlan, dawehner, Lendude, borisson_: Add $form_html_id to drupalPostForm in BrowserTestBase and convert SearchAdvancedSearchFormTest from WTB to BTB 2018-06-17 14:51:28 +01:00
webchick bae2ff8761 Issue #2407859 by vaplas, lauriii, vprocessor, drpal, jwilson3, sidharthap, aprogs, finnsky: Allow theming throbber element 2018-06-15 09:11:46 -07:00
Alex Pott 7896891da5
Issue #2978848 by claudiu.cristea, amateescu: EntityReferenceFieldItemList::referencedEntities() doesn't work for computed fields 2018-06-13 09:10:02 +01:00
Gábor Hojtsy 0daa2b5227 Issue #1818574 by tim.plunkett, alexpott, tedbow, dawehner, EclipseGc, fago, Wim Leers, andypost, Berdir, xjm, yched, catch, jibran, effulgentsia: Support config entities in typed data EntityAdapter 2018-06-08 14:18:59 +02:00
Nathaniel Catchpole 81a13c6436 Issue #2521956 by Berdir, Fabianx, effulgentsia, andypost, lauriii, seanB, Wim Leers, Upchuk: Missing contexts prevent caching of block access 2018-06-08 12:30:33 +01:00
Alex Pott c4923ea2a2
Issue #2976493 by tstoeckler, daffie: Creating a table with an explicitly empty primary key is broken on PostgreSQL 2018-06-08 11:15:08 +01:00
Nathaniel Catchpole c00b97b2a5 Issue #2928710 by borisson_, dawehner, idebr: Eliminate usages of \Drupal::root() in tests 2018-06-07 21:55:18 +01:00
Alex Pott 8faf0fa481
Issue #2974722 by tstoeckler, daffie, amateescu, alexpott, mondrake: Fix dropping of columns in a composite primary key on MariaDB >=10.2.8 and make it consistent across database drivers 2018-06-06 15:40:42 +01:00
Alex Pott 3edde1fcaf
Issue #2881522 by mondrake, tstoeckler, daffie, alexpott, amateescu, catch: Add a Schema::findPrimaryKeyColumns method to remove database specific logic from test 2018-06-05 19:33:53 +01:00
Alex Pott c7b8d93878
Issue #2911498 by Mile23, mfernea, alexpott, dawehner, catch: Make TestServiceProvider more readable (cleanup) 2018-06-04 12:44:47 +01:00
Alex Pott 7c1de1efa1
Issue #2405241 by philipnorton42, jibran, dawehner, andrewmacpherson: Add helpful exception message in CustomAccessCheck 2018-06-03 08:33:32 +02:00
Alex Pott 8ce2a3ec3a
Issue #2955383 by Wim Leers, borisson_, dawehner: List available representations in 406 responses 2018-06-02 17:40:15 +02:00
Alex Pott f54efcf21d
Issue #2911915 by vaplas, Mile23, Wim Leers, dawehner, Lendude, nlisgo, mpdonadio: Add getHttpClient() to BrowserTestBase 2018-06-02 16:54:14 +02:00
Alex Pott 84b902eb6c
Issue #2966969 by tim.plunkett, msankhala, alexpott: Trigger a warning whenever the "Broken" block plugin is instantiated 2018-06-02 15:44:14 +02:00
Alex Pott 8aef9a84d4
Issue #2976593 by drpal, justafish, dawehner: Prefix Nightwatch commands with a "drupal" namespace 2018-06-01 09:27:51 +02:00
Alex Pott d8029d7ee0
Issue #1596472 by catch, amateescu, claudiu.cristea, Berdir, Mile23, Sam152, pounard, fago, alexpott, fubhy, hchonov: Replace hard coded static cache of entities with cache backends 2018-05-31 12:07:30 +02:00
Gábor Hojtsy f16ee05a6e Issue #2916781 by timmillwood, tedbow, drpal, lauriii, Adita, andrewmacpherson, yoroy, amateescu, borisson_, ckrina: Allow off-canvas dialog to be rendered at the top of the page 2018-05-29 18:12:49 +02:00
Alex Pott 2e753970f7
Issue #2974553 by Mixologic, justafish, drpal, dawehner: Nightwatch testing fails to save console logs for some tests 2018-05-24 23:00:33 +01:00
Alex Pott beae7599dc
Issue #2969902 by mihai11, Jo Fitzgerald, amateescu, alexpott: Fix "MigrateCckFieldInterface is deprecated in Drupal 8.3.x and will be removed before Drupal 9.0.x. Use \Drupal\migrate_drupal\Annotation\MigrateField instead." deprecation message 2018-05-22 09:45:28 +01:00
Nathaniel Catchpole ba12307b96 Issue #2841651 by Berdir: Config save resets overridden configuration too late 2018-05-21 12:35:06 +01:00
Alex Pott a7fdfb6469
Issue #2955685 by Wim Leers, dawehner, mpdonadio, alexpott, borisson_: Unrouted URLs cannot have have overridden query or fragments 2018-05-18 11:13:12 +01:00
Alex Pott d9a566139a
Issue #2858184 by tstoeckler, alexpott, amateescu: Adding NOT NULL to base fields with multiple columns is broken 2018-05-18 09:25:02 +01:00
Alex Pott d6f7a9cd68
Issue #2973347 by Wim Leers: EntityCreateAccessCheck should provide a useful error message when no bundle is specified 2018-05-18 09:22:53 +01:00
Francesco Placella e551206954 Issue #2580265 by FeyP, jcisio, s_leu, Berdir, tstoeckler: entity query nested conditions must use LEFT joins when any of the parent condition groups is using OR 2018-05-17 17:12:38 +02:00
Alex Pott 593ded04f3
Issue #2973299 by tstoeckler: Add the label of the entity type to the error message when there are outstanding entity changes in UpdatePathTestBase 2018-05-17 13:24:40 +01:00
Nathaniel Catchpole 6f8f239d8e Issue #2968519 by alexpott, amateescu, martin107: The entity.query service is essentially deprecated because it relies on \Drupal\Core\Entity\Query\QueryFactory which is 2018-05-17 13:18:31 +01:00
Nathaniel Catchpole e3da33c00a Issue #2972992 by alexpott: Handle Mink deprecations 2018-05-17 13:14:29 +01:00
Nathaniel Catchpole 36fe1245a6 Issue #2971375 by cspitzlay: Fix "does not exists" in comments and test error messages 2018-05-17 11:41:17 +01:00
Alex Pott bb301ba0dd
Issue #2969806 by mihai11, Jo Fitzgerald: Fix "CckFile is deprecated in Drupal 8.3.x and will be be removed before Drupal 9.0.x. Use \Drupal\file\Plugin\migrate\process\d6\FieldFile instead." deprecation message 2018-05-17 11:24:12 +01:00
Lee Rowlands 585e6338b5
Issue #2938035 by Wim Leers, alexpott: When PATCHing a field is disallowed, no reason is given for *why* this happens 2018-05-16 11:30:32 +10:00
Alex Pott 92be45b46f
Issue #2910883 by vaplas, ShawnB, Wim Leers: Move all entity type REST tests to the providing modules 2018-05-15 12:37:57 +01:00
Lee Rowlands 0d6d22af0b
Issue #2926120 by idebr, zaporylie, borisson_: @var tag must not end with a full stop 2018-05-15 06:49:38 +10:00
Alex Pott 260476c47b
Issue #2822470 by Kazanir, Yogesh Pawar, markcarver, joelpittet, dawehner, xjm, larowlan: Unified cache key & template class handling for Twig templates 2018-05-14 12:20:27 +01:00
Alex Pott 018bd7c5e2
Issue #2765609 by c31ck, gnuget, hgoto, Yogesh Pawar, weboide, alexpott: #plain_text doesn't render empty-like values (e.g. 0 and "0") 2018-05-14 09:47:42 +01:00
Lee Rowlands add2370188
Issue #2972003 by alexpott: Verify that the file name matches the ID when installing configuration 2018-05-14 09:28:54 +10:00
Lee Rowlands 41dfad388c
Issue #2854543 by Wim Leers, polynya, dawehner, mpdonadio, gabesullice, larowlan, klausi: NegotiationMiddleware calls $request->setRequestFormat('html') when there is no _format request parameter, but shouldn't 2018-05-12 08:20:15 +10:00
Nathaniel Catchpole c2585a1888 Issue #2961691 by alexpott, Berdir, timmillwood, idebr: Change SYMFONY_DEPRECATIONS_HELPER back to strict 2018-05-11 15:20:00 +01:00
Lauri Eskola 018baee42a Issue #1507896 by b0unty, tuutti, Jeff Burnz, LewisNyman, tameeshb, realityloop, cbanman, umarzaffer, manumilou, mgifford, mducharme, oakulm, lauriii, alexpott, joelpittet, MaskyS, markcarver, xjm: Allow theme developers to add the default logo filename to the theme's .info.yml 2018-05-11 12:54:22 +03:00
Alex Pott b187a126de
Issue #2937888 by dhruveshdtripathi, idebr, RoSk0, mohit1604, mfernea, borisson_: Fix 'Drupal.Commenting.DocComment.LongNotCapital' coding standard 2018-05-11 10:46:46 +01:00
Alex Pott be6d515cad
Issue #2572613 by Malevi4, idebr, pfrenssen, Mile23, RajeevK: Fix 'Drupal.Array.Array.CommaLastItem' coding standard 2018-05-11 10:40:33 +01:00
Alex Pott b8f93d5b61
Issue #2901730 by mfernea, ankitjain28may, idebr: Fix 'Squiz.WhiteSpace.FunctionSpacing' coding standard 2018-05-11 10:26:36 +01:00