- Issue created by @lauriii
- First commit to issue fork.
- ๐ฎ๐ณIndia omkar-pd
In AutoSaveManager.php there is a @todo
Update label from incoming entity data once it exists
for label.
https://git.drupalcode.org/project/experience_builder/-/blob/0.x/src/Aut...Is it the right change?
- ๐ง๐ชBelgium wim leers Ghent ๐ง๐ช๐ช๐บ
I believe this is indeed the correct place/approach, but it should not hardcode
title[0][value]
.See the MR for โจ The status badge should indicate if there are changes to the page Active at https://git.drupalcode.org/project/experience_builder/-/merge_requests/6... for the correct generalized approach, which looks like this:
$label_field_input_name = sprintf("%s[0][value]", $content_entity_type->getKey('label')); $is_new = $this->contentEntityIsConsideredNew($entity_form_fields[$label_field_input_name], $content_entity_type);
- ๐ง๐ชBelgium wim leers Ghent ๐ง๐ช๐ช๐บ
What do you mean? ๐ค
- ๐ฎ๐ณIndia omkar-pd
I've implemented the changes as mentioned in #5. Keeping this in "Needs Review" since tests are still required, allowing someone else to pick it up and continue
- ๐ฎ๐ณIndia Akhil Babu Chengannur
akhil babu โ made their first commit to this issueโs fork.
- ๐ฎ๐ณIndia Akhil Babu Chengannur
This warning was appearing in logs while running the tests. So I have updated the AutoSaveManager::save() method to check if $data["entity_form_fields"] exists or not.
/var/www/html/web/modules/contrib/experience_builder/src/AutoSave/AutoSaveManager.php:34 Undefined array key "entity_form_fields"
Please review
- ๐ซ๐ฎFinland lauriii Finland
Looks like there's test coverage already. The MR needs a rebase still though.
- First commit to issue fork.
- ๐บ๐ธUnited States tedbow Ithaca, NY, USA
If tests pass, I think this is good
-
tedbow โ
committed 23ef7fc6 on 0.x authored by
omkar-pd โ
Issue #3506267: Changing page title doesn't update in the review changes...
-
tedbow โ
committed 23ef7fc6 on 0.x authored by
omkar-pd โ
Automatically closed - issue fixed for 2 weeks with no activity.