- Status changed to Needs work
almost 2 years ago 10:36am 27 January 2023 - 🇺🇸United States DamienMcKenna NH, USA
The following tests are currently failing with this change:
- Drupal\Tests\gatsby\Kernel\GatsbyEntityLoggerTest
- Drupal\Tests\gatsby\Functional\AdminFormTest
- Drupal\Tests\gatsby\Functional\NodeTest
This needs a bit more work.
- Status changed to Needs review
almost 2 years ago 4:49pm 30 January 2023 -
apmsooner →
committed 867ffc5f on 2.0.x
Issue #3328181: Deprecate "Only log entities for published content"...
-
apmsooner →
committed 867ffc5f on 2.0.x
- Status changed to Fixed
almost 2 years ago 6:33pm 15 February 2023 - Status changed to Active
over 1 year ago 7:03am 27 February 2023 - 🇮🇳India Jaykumar95 Ahmedabad
As per previous code for
gatsby_entity_insert
hook we add preview log first and then build log but in #10 patch it's reversed.
which will cause test case failure in\tests\src\Kernel\GatsbyEntityLoggerTest.php
as the conditions are changed. - Status changed to Needs review
over 1 year ago 7:10am 27 February 2023 - Status changed to RTBC
over 1 year ago 1:07am 3 March 2023 - 🇦🇺Australia fenstrat Australia
Confirming that #14 fixes the test failures in GatsbyEntityLoggerTest. This is when running the tests locally.
Odd that the CI test runs seem to be coming back with
Build Successful
, but then not actually sending the results back.Also, concerning that the commit in #11 happened without tests passing?
-
larowlan →
committed d5c96ff0 on 2.0.x authored by
Jaykumar95 →
Issue #3328181 by apmsooner, DamienMcKenna, Jaykumar95: Deprecate "Only...
-
larowlan →
committed d5c96ff0 on 2.0.x authored by
Jaykumar95 →
- Status changed to Fixed
over 1 year ago 6:23am 8 March 2023 - 🇺🇸United States lisagodare@gmail.com
I've added these patches to my project, and after doing so, the "preview" is no longer triggered for incremental builds on inserting content, if the content is created as a draft/unpublished. I can see in `gatsby_entity_insert` that was removed in this refactor.
I've got a small patch here that adds it back in. Preview does correctly get triggered on updates, and receives draft content on updates, so it should also be triggered on insert of draft content.
Automatically closed - issue fixed for 2 weeks with no activity.