-
Notifications
You must be signed in to change notification settings - Fork 26
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Images that aren't published aren't showing on shared draft #132
Comments
@mxmclaudel how are you including the images (that don't show in the preview) in the page? Are they referenced via shortcodes in WYSIWYG editors or structured data via e.g. a has_one relation sort of thing? Reproduction steps or a bit more description might help narrow down what the problem might be. |
@michalkleiner oh yes, apologies.
Also note that publishing the page automatically publishes the related images. |
Another issue
|
Hi team, any movement on this one? I see that the two PRs appear to appear to be approved and updated? |
Sharedraftcontent PR needs approval/merge by someone with merge access. Ideally they'd also merge the already approved assets PR at the same time so I don't have to self merge it. |
Assets PR merged, sharedraftcontent ready for an update in terms of the travis config there and merge once tests pass. |
Linked PRs have been merged @andrewandante let me know if you have any further issues with this |
When a page is saved (unpublished) and it contains images that also haven't yet been published (new content or updated version), previewing the page shows all the images correctly. However when using the Share draft generated link, the updated text shows but images don't. The src link is using the draft one (e.g. /assets/6d1c8a031e/test-image__ResizedImageWzYwMCw5MDZd.jpg).
Only images that are published will show, which reduces the usefulness of sharing a draft.
This is SilverStripe 4.7
ACs
PRs
The text was updated successfully, but these errors were encountered: