updated core from 8.4 to 8.5 : bug with login_destination

This commit is contained in:
Bachir Soussi Chiadmi
2018-03-13 14:01:21 +01:00
parent 0d78da249b
commit e668535a4e
3486 changed files with 89604 additions and 33283 deletions
@@ -103,13 +103,13 @@
data: { 'node_ids[]': nodeIDs },
dataType: 'json',
success(results) {
for (const nodeID in results) {
if (results.hasOwnProperty(nodeID) && placeholdersToUpdate.hasOwnProperty(nodeID)) {
Object.keys(results || {}).forEach((nodeID) => {
if (placeholdersToUpdate.hasOwnProperty(nodeID)) {
const url = results[nodeID].first_new_comment_link;
const text = Drupal.formatPlural(results[nodeID].new_comment_count, '1 new', '@count new');
$(placeholdersToUpdate[nodeID]).append(`<br /><a href="${url}">${text}</a>`);
}
}
});
},
});
}
+3 -3
View File
@@ -87,13 +87,13 @@
data: { 'node_ids[]': nodeIDs },
dataType: 'json',
success: function success(results) {
for (var nodeID in results) {
if (results.hasOwnProperty(nodeID) && placeholdersToUpdate.hasOwnProperty(nodeID)) {
Object.keys(results || {}).forEach(function (nodeID) {
if (placeholdersToUpdate.hasOwnProperty(nodeID)) {
var url = results[nodeID].first_new_comment_link;
var text = Drupal.formatPlural(results[nodeID].new_comment_count, '1 new', '@count new');
$(placeholdersToUpdate[nodeID]).append('<br /><a href="' + url + '">' + text + '</a>');
}
}
});
}
});
}
@@ -2,6 +2,7 @@ id: d7_tracker_node
label: Tracker node
migration_tags:
- Drupal 7
- Content
source:
plugin: d7_tracker_node
process:
@@ -2,6 +2,7 @@ id: d7_tracker_settings
label: Tracker settings
migration_tags:
- Drupal 7
- Configuration
source:
plugin: variable
variables:
@@ -2,6 +2,7 @@ id: d7_tracker_user
label: Tracker user
migration_tags:
- Drupal 7
- Content
source:
plugin: d7_tracker_user
process:
@@ -41,8 +41,8 @@ abstract class TrackerTestBase extends ViewTestBase {
*/
protected $comment;
protected function setUp() {
parent::setUp();
protected function setUp($import_test_views = TRUE) {
parent::setUp($import_test_views);
ViewTestData::createTestViews(get_class($this), ['tracker_test_views']);
@@ -8,8 +8,8 @@ dependencies:
- tracker
- views
# Information added by Drupal.org packaging script on 2018-01-03
version: '8.4.4'
# Information added by Drupal.org packaging script on 2018-03-07
version: '8.5.0'
core: '8.x'
project: 'drupal'
datestamp: 1515021228
datestamp: 1520457825
+3 -3
View File
@@ -8,8 +8,8 @@ package: Core
# version: VERSION
# core: 8.x
# Information added by Drupal.org packaging script on 2018-01-03
version: '8.4.4'
# Information added by Drupal.org packaging script on 2018-03-07
version: '8.5.0'
core: '8.x'
project: 'drupal'
datestamp: 1515021228
datestamp: 1520457825