- Issue created by @ashetkar
- 🇮🇳India shubham_jain
Hi @ashetkar, can you explain me what needs to be done here.
- 🇮🇳India ashetkar
I have already explained in description. I am not able to understand why this hook is adding weight 10. Because this change config is getting changed.
- 🇮🇳India shubham_jain
Hi @ashetkar, this hook adds the weight 10 to the field because the maintainer might have thought that there won't be no more field with weight 10 or that the no. of the fields will be less than the 10.
Whatever the case be, if you want I can set it so that it will appear at the bottom of the display.
- Assigned to walkingdexter
- 🇩🇪Germany gbyte Berlin
@ashetkar This is far from major.
@WalkingDester Can you take a look whenever you find time?
- 🇮🇳India ashetkar
Okay. We have 15 sites in production environment which are affecting due to this change.
- 🇮🇳India ashetkar
I am attaching patch here. I have removed simple_sitemap_entity_extra_field_info from module file. As this hook creates simple sitemap field with fixed weight which creating drupal cim issue for sites.
- Status changed to RTBC
about 1 year ago 10:03pm 30 September 2023 - 🇮🇳India shubham_jain
Hi @ashetkar, I think what you did is the best option to solve this issue. So, moving it to the RTBC.
- Status changed to Postponed: needs info
about 1 year ago 9:30am 2 October 2023 - 🇷🇺Russia walkingdexter
I can't reproduce the problem on a fresh install. FYI, the weight specified in the
simple_sitemap_entity_extra_field_info()
is the default weight. When you save the form display the weights are updated. Removing the function is definitely not a solution to the problem. This function was added for a reason #3176344: Add sitemap settings to entity forms using hook_entity_extra_field_info → . Please provide steps to reproduce the problem on a fresh install. - Status changed to Closed: cannot reproduce
2 months ago 4:39pm 13 September 2024