Closed (cannot reproduce)
Project:
Drupal core
Version:
8.0.x-dev
Component:
migration system
Priority:
Normal
Category:
Bug report
Assigned:
Reporter:
Created:
4 Feb 2014 at 11:42 UTC
Updated:
9 Oct 2014 at 16:17 UTC
Jump to comment: Most recent
Comments
Comment #1
ultimikeIs this still an issue? Would you mind re-testing?
Thanks,
-mike
Comment #2
ultimikeAlso - need to confirm that we have automated tests for these variables.
-mike
Comment #3
densolis commentedI will work on this issue.
Figure out where the following fields are exposed on D6.
- taxonomy_override_selector
- taxonomy_terms_per_page_admin
I need to change the value for these fields in D6 somehow, run the migration and then see if the following fields on D8 were changed:
override_selector: taxonomy_override_selector
terms_per_page_admin: taxonomy_terms_per_page_admin
D8 Configuration - Configuration Management -> Single Import Export -> config_name: taxonomy.settings
Comment #4
densolis commentedAll,
I search the D6 database and the D6 code for the above two terms. Neither of the above above variable names were in the database.
I did find the variable name "taxonomy_terms_per_page_admin" in taxonomy.admin.inc:
I found the code where the variable taxonomy_terms_per_page_admin is referenced:
But I can not find where it is set.
Here is the code for variable_get()
The next option is to dowload and search some of these D6 taxonomy modules (courtesy of lscook):
enabled), Taxonomy Notifications (enabled), Smartqueue taxonomy (disabled), Taxonomy breadcrumb (disabled), Taxonomy Manager (enabled), Taxonomy Role (enabled), Taxonomy Service (enabled), Taxonomy User (enabled), Vote Up/Down Terms (disabled), XML sitemap taxonomy (enabled), Advanced Forum (enabled), Calais Geo (disabled), Calais Tag Modifier (enabled),
Comment #5
densolis commentedOn my D6 site, I used the following commands to set the variables:
drush variable-set taxonomy_override_selector True
drush variable-set taxonomy_terms_per_page_admin 75
I then checked the "variable" table in the D6 database to make sure there were set.
On my D8 site, I have no taxonomy.
Comment #6
densolis commentedoops, I did not enable migrate_drupal. I did that and ran the command:
drush migrate-manifest --legacy-db-url=mysql://drupaluser@127.0.0.1:33067/drupal6 D6Manifest-Taxonomy.yml
Running d6_taxonomy_settings [ok]
Running d6_taxonomy_vocabulary [ok]
Running d6_taxonomy_term [ok]
Please note that I had to put :33067 (mysql port number) in the command in order to have drush connect to the database.
On my D6 database, I set the:
- taxonomy_override_selector = True
- taxonomy_terms_per_page_admin = 75
I then ran the migration and exported the configuration via:
Configuration -> Development -> Configuration Management -> Single Export: Simple configuration and taxonomy.settings
The results are:
maintain_index_table: true
override_selector: true
terms_per_page_admin: 75
so the test worked.