- Issue created by @floown
- 🇺🇸United States damienmckenna NH, USAOh dear. The code assumes that entities with the Metatag field would have revisions, which is clearly not the case for the User entity type. Bumping the priority. This needs a fix. 
- 🇺🇸United States damienmckenna NH, USAI added this to the list of known issues for the 8.x-1.24 release. 
- 🇺🇸United States damienmckenna NH, USAWill need to expand the test coverage to make sure the data is correct. 
- 🇻🇪Venezuela jvizcarrondoSame problem with commerce_store module 
 Error: Drupal\Core\Database\DatabaseExceptionWrapper: SQLSTATE[42S02]: Base table or view not found: 1146 Table 'mydatabase.commerce_store_revision__field_meta_tags' doesn't exist: SELECT "commerce_store_revision__field_meta_tags"."entity_id" AS "entity_id", "commerce_store_revision__field_meta_tags"."revision_id" AS "revision_id", "commerce_store_revision__field_meta_tags"."langcode" AS "langcode", "commerce_store_revision__field_meta_tags"."field_meta_tags_value" AS "field_meta_tags_value" FROM "commerce_store_revision__field_meta_tags" "commerce_store_revision__field_meta_tags" WHERE ("bundle" = :db_condition_placeholder_0) AND (("field_meta_tags_value" LIKE :db_condition_placeholder_1 ESCAPE '\\') OR ("field_meta_tags_value" LIKE :db_condition_placeholder_2 ESCAPE '\\')); Array ( [:db_condition_placeholder_0] => blog [:db_condition_placeholder_1] => %noodp% [:db_condition_placeholder_2] => %noydir% )
 in metatag_post_update_remove_robots_noydir_noodp() (linea 253 de /var/xxxx/web/modules/contrib/metatag/metatag.post_update.php).
- Status changed to Needs reviewover 2 years ago 10:23am 29 May 2023
- last updateover 2 years ago 372 pass
- 🇺🇸United States damienmckenna NH, USASome minor changes to the update script. 
- last updateover 2 years ago 372 pass
- 🇺🇸United States damienmckenna NH, USAJust the changes to metatag_post_update_remove_robots_noydir_noodp(). 
- Status changed to RTBCover 2 years ago 11:46am 29 May 2023
- 🇫🇷France floownThank you Damien. I have done in the metatag folder a: $ wget https://www.drupal.org/files/issues/2023-05-29/metatag-n3363189-9.patch $ patch -p1 < metatag-n3363189-9.patch patching file metatag.post_update.php $ drush updb --------- ---------------- ------------- --------------------------------- Module Update ID Type Description --------- ---------------- ------------- --------------------------------- metatag remove_robots_ post-update Remove 'noydir', 'noodp' ROBOTS noydir_noodp options from meta tag entity fields. --------- ---------------- ------------- --------------------------------- Do you wish to run the specified pending updates? (yes/no) [yes]: > > [notice] Update started: metatag_post_update_remove_robots_noydir_noodp > [notice] 1 sur 115 enregistrements Metatags suplantés traités. > [notice] 2 sur 115 enregistrements Metatags suplantés traités. > [notice] 8 sur 115 enregistrements Metatags suplantés traités. > [notice] 18 sur 115 enregistrements Metatags suplantés traités. > [notice] 28 sur 115 enregistrements Metatags suplantés traités. > [notice] 38 sur 115 enregistrements Metatags suplantés traités. > [notice] 48 sur 115 enregistrements Metatags suplantés traités. > [notice] 58 sur 115 enregistrements Metatags suplantés traités. > [notice] 68 sur 115 enregistrements Metatags suplantés traités. > [notice] 78 sur 115 enregistrements Metatags suplantés traités. > [notice] 88 sur 115 enregistrements Metatags suplantés traités. > [notice] 98 sur 115 enregistrements Metatags suplantés traités. > [notice] 108 sur 115 enregistrements Metatags suplantés traités. > [notice] 115 sur 115 enregistrements Metatags suplantés traités. > [notice] Update completed: metatag_post_update_remove_robots_noydir_noodp [success] Finished performing updates.It's for noobs, like me ^^ Regards 
- 🇺🇸United States damienmckenna NH, USAThank you all for the reviews, this change will be committed in a few days and released in 8.x-1.25. 
- 
            
              DamienMcKenna →
             committed 02f96a47 on 8.x-1.x
Issue #3363189 by DamienMcKenna, floown, jvizcarrondo, uditrawat:... 
 
- 
            
              DamienMcKenna →
             committed 02f96a47 on 8.x-1.x
- 
            
              DamienMcKenna →
             committed 0cf7e86e on 2.0.x
Issue #3363189 by DamienMcKenna, floown, jvizcarrondo, uditrawat:... 
 
- 
            
              DamienMcKenna →
             committed 0cf7e86e on 2.0.x
- Status changed to Fixedover 2 years ago 1:18pm 30 May 2023
- 🇺🇸United States damienmckenna NH, USAI'll do a separate task to add a Metatag field to the User entity type so that we can add test coverage for this scenario. In the meantime this is good to go, thank you for the reviews. This fix will be in 8.x-1.25 which I intend to release in a few days. 
- 🇮🇳India jabastin arul ChennaiThis is not yet resolved and I getting the issue still on my website. 
- 🇺🇸United States damienmckenna NH, USAJabastin: Did you update to 8.x-1.25? 
- 🇮🇳India jabastin arul ChennaiYes. I have updated the 8.x-1.25. But still issue exist. 
- 🇮🇳India jabastin arul Chennaimetatag remov post-update Remove 'noydir', 'noodp' ROBOTS 
 e_rob options from meta tag entity fields.
 ots_n
 oydir
 _noodThis update is getting failed again and again. 
- 🇺🇸United States damienmckenna NH, USAJabastin: How many Metatag fields do you have on your entities? How many would you say have values set for the "robots" tag? 
- 🇮🇳India jabastin arul ChennaiDamienMcKenna: I have only one Metatag fields in one content type. Where I have to see "robots" tag? Please confirm 
- 🇮🇳India jabastin arul ChennaiI am getting the issue in page content type and I have enabled the default setting only. 
- 🇺🇸United States damienmckenna NH, USA@Jabastin: Please open a new issue and we can dig into this further. Thank you. 
- 🇮🇳India jabastin arul ChennaiAdd a new issue. https://www.drupal.org/project/metatag/issues/3366933 🐛 Errors in field configuration can lead metatag_post_update_remove_robots_noydir_noodp() to fail Fixed I need a quick fix for that. Please help me. 
- Automatically closed - issue fixed for 2 weeks with no activity.