Closed johndwells closed 3 months ago
I've just tried running embeddedassets/refresh/all
but it said, "0 embedded asset to be refreshed." Yet we have 27 embedded asset uploads.
If possible, could you please send one of the affected asset files to plugins@spicyweb.com.au and we'll have a look.
Thanks for sending that @johndwells. I can confirm that the embedded asset is working as expected for me, including being detected by embeddedassets/refresh/all
. Does it work for you if you import it into a different Craft install?
Odd. I've tried this a few times on this project and the results are the same. We'll see if we can test this out on another install.
On Wed, Mar 27, 2024 at 6:08 PM Thomas Templeton @.***> wrote:
Thanks for sending that @johndwells https://github.com/johndwells. I can confirm that the embedded asset is working as expected for me, including being detected by embeddedassets/refresh/all. Does it work for you if you import it into a different Craft install?
— Reply to this email directly, view it on GitHub https://github.com/spicywebau/craft-embedded-assets/issues/254#issuecomment-2024129460, or unsubscribe https://github.com/notifications/unsubscribe-auth/AABAXXTJSIVZNCJZPMCNNODY2NGOLAVCNFSM6AAAAABFLNIY26VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDAMRUGEZDSNBWGA . You are receiving this because you were mentioned.Message ID: @.***>
-- ▂ ONE DARNLEY ROAD
John D Wells Technical Director
Unit 12, 39 Gransden Avenue London, E8 3QA +44 (0) 208 5259 292
onedarnleyroad.com instagram https://www.instagram.com/onedarnleyroad/ linkedin https://uk.linkedin.com/company/one-darnley-road twitter http://twitter.com/onedarnleyroad
I think we had some other issue going on that was causing this error. I'm closing, sorry to bother you!
Bug Description
We've just tested upgrading to V4.0, but now when we call
craft.embeddedAssets.get()
on a previously uploaded embed, the result isnull
. If we upload the same embed fresh, the call correctly returns anEmbeddedAsset
model.Steps to reproduce
Expected behaviour
I would expect embeds uploaded prior to upgrading to 4.0 remain compatible with 4.0 codebase. If this can be resolved by running the
embeddedassets/refresh/all
CLI command, then this should be specified in some sort of 4.0 upgrade guide.Embedded Assets version
4.0.0
Craft CMS version
4.8.6