Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
D
drupal
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Custom Issue Tracker
Custom Issue Tracker
Labels
Merge Requests
301
Merge Requests
301
Requirements
Requirements
List
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Analytics
Analytics
Code Review
Insights
Issue
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Commits
Open sidebar
project
drupal
Commits
b388670b
Commit
b388670b
authored
Dec 22, 2014
by
alexpott
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Issue
#2391403
by Gábor Hojtsy: Statistics block not properly migrated, schema incorrect
parent
8de33dbf
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
0 additions
and
31 deletions
+0
-31
core/modules/migrate_drupal/config/install/migrate.migration.d6_statistics_settings.yml
...nfig/install/migrate.migration.d6_statistics_settings.yml
+0
-6
core/modules/migrate_drupal/src/Tests/d6/MigrateStatisticsConfigsTest.php
...rate_drupal/src/Tests/d6/MigrateStatisticsConfigsTest.php
+0
-3
core/modules/statistics/config/install/statistics.settings.yml
...modules/statistics/config/install/statistics.settings.yml
+0
-5
core/modules/statistics/config/schema/statistics.schema.yml
core/modules/statistics/config/schema/statistics.schema.yml
+0
-17
No files found.
core/modules/migrate_drupal/config/install/migrate.migration.d6_statistics_settings.yml
View file @
b388670b
...
...
@@ -8,16 +8,10 @@ source:
-
statistics_enable_access_log
-
statistics_flush_accesslog_timer
-
statistics_count_content_views
-
statistics_block_top_day_num
-
statistics_block_top_all_num
-
statistics_block_top_last_num
process
:
'
access_log/enabled'
:
statistics_enable_access_log
'
access_log/max_lifetime'
:
statistics_flush_accesslog_timer
'
count_content_views'
:
statistics_count_content_views
'
block/popular/top_day_limit'
:
statistics_block_top_day_num
'
block/popular/top_all_limit'
:
statistics_block_top_all_num
'
block/popular/top_recent_limit'
:
statistics_block_top_last_num
destination
:
plugin
:
config
config_name
:
statistics.settings
core/modules/migrate_drupal/src/Tests/d6/MigrateStatisticsConfigsTest.php
View file @
b388670b
...
...
@@ -50,9 +50,6 @@ public function testStatisticsSettings() {
$this
->
assertIdentical
(
$config
->
get
(
'access_log.enabled'
),
FALSE
);
$this
->
assertIdentical
(
$config
->
get
(
'access_log.max_lifetime'
),
259200
);
$this
->
assertIdentical
(
$config
->
get
(
'count_content_views'
),
0
);
$this
->
assertIdentical
(
$config
->
get
(
'block.popular.top_day_limit'
),
0
);
$this
->
assertIdentical
(
$config
->
get
(
'block.popular.top_all_limit'
),
0
);
$this
->
assertIdentical
(
$config
->
get
(
'block.popular.top_recent_limit'
),
0
);
$this
->
assertConfigSchema
(
\
Drupal
::
service
(
'config.typed'
),
'statistics.settings'
,
$config
->
get
());
}
...
...
core/modules/statistics/config/install/statistics.settings.yml
View file @
b388670b
...
...
@@ -2,8 +2,3 @@ access_log:
enabled
:
false
max_lifetime
:
259200
count_content_views
:
0
block
:
popular
:
top_day_limit
:
0
top_all_limit
:
0
top_recent_limit
:
0
core/modules/statistics/config/schema/statistics.schema.yml
View file @
b388670b
...
...
@@ -17,23 +17,6 @@ statistics.settings:
count_content_views
:
type
:
integer
label
:
'
Count
content
views'
block
:
type
:
mapping
label
:
'
Block
settings'
mapping
:
popular
:
type
:
mapping
label
:
'
Popular
content
block'
mapping
:
top_day_limit
:
type
:
integer
label
:
'
Number
of
day'
'
s
top
views
to
display'
top_all_limit
:
type
:
integer
label
:
'
Number
of
all
time
views
to
display'
top_recent_limit
:
type
:
integer
label
:
'
Number
of
most
recent
views
to
display'
block.settings.statistics_popular_block
:
type
:
block_settings
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment