Proposed solution
rafmagsou β created an issue.
Patch update to avoid losing title.
Update logic came from patch #15, to prevent error regarding missing "wizard_tree" field
more details in the interdiff
Generate a patch with the solution proposed on the merge request Compatible with D10 php 8.1
Patch #9 updated to Drupal 10 context, apply the same guarantee to #1 parameter.
murilohp β credited rafmagsou β .
As far as I understand the method on getype located on the Entity sitemap:
Function get type need a proper validation if the type information exists before try load the entity simple_sitemap_type.
Something like:
https://git.drupalcode.org/project/simple_sitemap/-/blob/4.x/src/Entity/...
src/EntitySimpleSitemap.php :: getType
public function getType():? SimpleSitemapTypeInterface {
if ($this->isNew()) {
return NULL;
}
.
.
.
In the context of bug I've checked with 2 types already filled.
As far a checked here is, some modules that use form alter try get the entity type.
rafmagsou β created an issue.
rafmagsou β created an issue.
rafmagsou β created an issue.
Sorry, I'll sooner, first I need to reach a fully version of patch 100% funcional and tested
rafmagsou β created an issue.
Fix, error when entity generation tries to get file entity
Resolve extra issues with most recent 4.x version
rafmagsou β made their first commit to this issueβs fork.
rafmagsou β made their first commit to this issueβs fork.
Hi danharper a new version of module will generate with
compatibility to version 4.
rafmagsou β created an issue.
rafmagsou β created an issue.