---
# System prepended metadata

title: DCI D8 Migration Log

---

# DCI D8 Migration Log

## Motivation

This list documents the manual, post-auto-migration tasks that need to be completed by the Savas and DCI teams to fully complete the Content Migration. It was originally posted in [Redmine #7841](https://pm.savaslabs.com/issues/7841), and I have duplicated it here so that the DCI Editor Team can view and access in markdown format.

## SAVAS list: 

### Homepage

Landing page for the Homepage is created during migration, although migrated page has no content - URL = /home.
The page needs to be modified and must be set as default front page at `/admin/config/system/site-information`.

Modifications for Homepage post migration:
- [x] Add Video Hero type Paragraph. Video files can be found in GDrive - https://drive.google.com/open?id=1ivVCo_UNIObS7AqjJXivm36LQS4Y-P14
- [x] Add Text Paragraph to Body Section and paste links as seen on current homepage "2016 Annual Report :: 2017 Annual Report :: 2018 Annual Report"

### Slideshows

Donors landing page slideshow paragraph images need titles - /donors. 
- [x] load http://local.dci.org/admin/content/media-table?name=donor&type=All&status=All&langcode=All - this should show you a list of 4 images that are added to the slideshow paragraph.
- [x] click edit for each image and add a title to "Slide Title" field. Reference titles on production `/donors` page.

### Path aliases/Redirects

Redirects are not migrated since we are transferring all aliases as seen on prod.
Two redirects must be created manually since those were the only ones that exist on production.

- [x] visit `/admin/config/search/path/add` to add redirects below:

| from | to |
| ---- | -- |
| research/clinical-trials | clinical-trials|
| research/faculty | members |


#### Calendar

- [x] remove migrated page of type "Landing page" that is created at an alias `/calendar`
- [x] ensure Calendar view is now displayed on alias `/calendar`
- [x] add "Calendar" link back to Secondary navigation matching placement/order from production.

### Webforms

Manually create Landing Pages for the following forms while adding a Form as a paragraph + adding a Sidebar Menu paragraph w/ "Main Menu - Top Level" selection :
- [x] Breakthrough Subscription - /breakthroughs-subscription
- [x] Share Your Story - /share-your-story
- [x] Send Us a Message - /send-us-message

### Blog Landing pages

`/blog` and `/donors/your-gifts-at-work` pages are created during migration
Because these pages are built as Views, migrated landing pages need to be removed.
Once migrated landing pages are removed, corresponding menu item in Main and Secondary Nav will also be removed and need to be created again.
- [x] remove migrated blog and donor blog landing pages
- [x] add those urls back to main and secondary nav
- [x] ensure blog pages are displayed as designed
**NOTE:** blog views are fed by Search API index. Run `drush sapi-i` in order to index blog content.

### Manual corrections for migrated content

#### Body text is displayed w/ HTML tags - 2 instances. Perhaps more that weren't caught.

Re-save manually to get rid of tags. It's an annoying bug w/ text filters.

- [x] http://local.dci.org/award-recipients
- [x] http://local.dci.org/education/training-opportunities

#### Resources list can not be migrated.

Add resources manually as a "Text 3-wide" or "Text" paragraph.

- [x] /patients-and-caregivers
- [x] /healthcare-professionals
- [x] /head-neck-cancer

#### Missing Hero images

- [x] /head-neck-cancer

#### Misaligned or oversized images to fix manually

- [x] /office-health-equity - duplicate body content + image resize
- [x] /breakthroughs-magazine
- [x] /hereditary-clinic

#### Doubled body field

- [x] See #8325. We will identify a list of nodes that require cleanup after receiving the final D7 DB for import.

#### Body field with "empty" markup and whitespace (see https://pm.savaslabs.com/issues/8325#note-3)

- [x] `/developmental-therapeutics`

### Users

- [x] Create user accounts for webmasters (refer to DCI team for emails/usernames). Webmasters will in turn create account for Editors
- [x] Update Admin (user)

### Menus

#### Fix secondary menu blog and calendar links

- [x] Go to `/admin/structure/menu/manage/secondary-menu` and add back the blog and calendar links
- [x] These are created during migration, but they link to nodes rather than the views we created. When we delete the nodes, the links auto-delete, so we need to add these back and link to the respective views. For more context, see https://pm.savaslabs.com/issues/8471#note-7

### Search

- [x] There is a node present at `/search`. This node should be deleted in order for the search blocks to appear correctly.
- [x] Per the proposed resolution in #7747, there is a search result group `Disease Groups (Landing Page CT w/ Disease Group taxonomy term from Category vocab)`. However, there is no `Disease Group` term in the Categories vocabulary, and as such we couldn't add that filter to the `Disease Groups` search display (`/admin/structure/views/view/search/edit/block_3`). I [chatted with Spencer in Slack](https://savaslabs.slack.com/archives/CEEBE4EMT/p1561648756002000) about this. The resolution is that post-migration, we will add the `Disease Group` taxonomy term to the Categories vocabulary, and we will update the categories filter on the `Disease Groups` search display (`/admin/structure/views/view/search/edit/block_3`)

### Clinical Trials

- [x] Create the `/clinical-trials` page (#7757)

### Misc Cleanup

#### Remove obsolete fields:

- [x] Remove field_publish_date_range and its data after the final migration (#8315)
- [x] Remove event obsolete dates field - there is a post-migration script that populates the new field, see #8730 and #8315

---

## DCI list: 

### Blog Pages

Some pages contain Image Galleries within the node body.
Image Galleries are not migrated and need to be added manually via Image Gallery Paragraph.
Pages w/ galleries:
- [ ] You're a superstar - /news/you-are-superstar
- [ ] HackBio Brings Together High-Schoolers And Duke Scientists - /news/hackbio-brings-together-high-schoolers-and-duke-scientists
- [x] other pages need to be identified by DCI

### Sidebar Menus on Landing Pages

Pages that are children of the “For Donors” , “Shared Resources”, “Types of Cancer” and “Research Programs” menu items may contain a sidebar menu that dynamically populates out of children of aforementioned menu items.
Sidebar Menus will not be migrated via scripted migration.
Savas added Paragraph type “Sidebar Menu” (#7840) which allows Editors to add these menus manually to pages of choice.

Landing Pages that are children of the “For Donors” , “Shared Resources”, “Types of Cancer” and “Research Programs” main menu items should have relevant "Sidebar Menu" added after migration.

### Leader Cards

- [ ] Leader Card paragraph will be added manually
- [ ] Person or Member nodes can be references in Leader Card paragraph
- [ ] Person or Member node should exist before creating a Leader Card instance

### Locations

D7 site contains around 8-10 location nodes.
Transfer them manually.
Remember to check "Display in footer" checkbox to fill in Footer location block.

### Twitter integration - **perform this on Pantheon so that SL team can commit final configuration to the repo before final delivery/launch**

- [x] Register developer account on Twitter dev portal - https://developer.twitter.com/content/developer-twitter/en.html
- [x] Create a new App https://developer.twitter.com/en/apps. This requires a submission of an application.
- [x] App keys will be provided once the app is registered.
- [x] Replace keys at `/admin/config/services/twitteroauth/settings`. Save the form.

### Duplicate content

- [ ] Review the following pages for **potential** duplicate content. These are pages with both the body and detail fields populated

| https://dev-dukeci.pantheonsite.io/behavioral-health-and-survey-research-core-bhsrc                         |
| https://dev-dukeci.pantheonsite.io/bioinformatics                                                           |
| https://dev-dukeci.pantheonsite.io/biorepository-and-precision-pathology-center-brpc                        |
| https://dev-dukeci.pantheonsite.io/cancer-center-isolation-facility-ccif                                    |
| https://dev-dukeci.pantheonsite.io/flow-cytometry                                                           |
| https://dev-dukeci.pantheonsite.io/high-throughput-screening                                                |
| https://dev-dukeci.pantheonsite.io/information-systems                                                      |
| https://dev-dukeci.pantheonsite.io/light-microscopy                                                         |
| https://dev-dukeci.pantheonsite.io/high-resolution-nuclear-magnetic-resonance-nmr-spectroscopy              |
| https://dev-dukeci.pantheonsite.io/optical-molecular-imaging-and-analysis                                   |
| https://dev-dukeci.pantheonsite.io/pharmacokinetics-investigational-chemotherapy                            |
| https://dev-dukeci.pantheonsite.io/preclinical-translational-research-unit-developing-shared-resource       |
| https://dev-dukeci.pantheonsite.io/primary-tumor-cell-culture-ptcc                                          |
| https://dev-dukeci.pantheonsite.io/proteomics-and-metabolomics                                              |
| https://dev-dukeci.pantheonsite.io/sequencing-genomic-technologies                                          |
| https://dev-dukeci.pantheonsite.io/thoracic-cancer                                                          |
| https://dev-dukeci.pantheonsite.io/developmental-therapeutics                                               |
| https://dev-dukeci.pantheonsite.io/search                                                                   |
| https://dev-dukeci.pantheonsite.io/news/senter-named-administrative-director-genitourinary-oncology-program |
| https://dev-dukeci.pantheonsite.io/news/september-newsmakers-3                                              |

## Remaining tasks

- [x] Run final migration w/ post migration scripts
- [x] Run `drush sapi-i` to index content
- [ ] Address items from the list above
- [x] Run Member Import
- [x] Run CTrials Import `drush cti`
- [x] Run Cron to catch any Members that may not have been connected to Ctrial nodes during the first CTrials import - `drush cron`
- [x] upload DB and files to Pantheon Dev environment