drupal-tome / drupal-tome.github.io

The homepage for the Tome project
29 stars 7 forks source link

Updating Home Page Content #18

Closed kburakozdemir closed 2 years ago

kburakozdemir commented 2 years ago

hi, @mortenson I tried once more with a clean beginning. I'd like to let you know the situation when I update the home page step by step. What is your suggestion about the solution? thanks.

Steps:

  1. Fork the repo
  2. Clone the fork to local
  3. Create new branch from dev
  4. Checkout new branch
  5. Run composer install
  6. Run drush tome:install -y
  7. Run drush cr
  8. Run drush runserver
  9. Navigate to home page
  10. Run drush uli --ud 1
  11. Navigate to password reset page
  12. Navigate to http://127.0.0.1:8888/node/24/edit?destination=/admin/content
  13. Update Paragraphs Hero Text from "A static site generator for Drupal 8" to "A static site generator for Drupal 9"

Workspace was clean until this moment. Screenshot:

image

  1. Press save
  2. After saving home page, I see "The website encountered an unexpected error. Please try again later." and uncomitted changes appear (13 modified files).

image

image

  1. To get read of the "The website encountered an unexpected error. Please try again later." error, I run drush cr
  2. I refresh the page and see the message "Landing page [Home] has been updated.

image

  1. Navigate to home page again
  2. The content has changed and there are still 13 modified files:

image

mortenson commented 2 years ago

Thanks @kburakozdemir - let me try to replicate "from scratch" and figure this out...

mortenson commented 2 years ago

@kburakozdemir Looks like the homepage just hasn't been edited in a super long time, I get the same result as you. Thanks for opening an issue! If you re-create the PR (I see you've deleted it) I can merge it, but I can also re-do your changes if you want. Just want to give you credit if possible. :-)

kburakozdemir commented 2 years ago

Thanks. Please wait for my brand new PR!