Skip to content
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

Pages with snippets included in them cause an error at the sync stage #40

Open
Tracked by #14225
stevejalim opened this issue Nov 22, 2024 · 3 comments
Open
Tracked by #14225
Assignees
Labels
bug Something isn't working

Comments

@stevejalim
Copy link
Collaborator

(I'll add more context as I unearth it, but writing this down immediately)

When a Page has a Snippet associated with it, that Snippet does seem to get sent to Smartling, but as far as Wagtail is concerned it remains in unsynced, while the Page is synced

Page

Screenshot 2024-11-22 at 13 48 58

Snippet that features in the page

Screenshot 2024-11-22 at 13 48 53

Looking at the logs for the the sync, it appears that wagtail-localize-smartling doesn't remember that it's already sent the Snippet for translation, so tries to perform an initial sync, not an update sync

Screenshot 2024-11-22 at 13 57 26

@stevejalim
Copy link
Collaborator Author

Thinking about this, it's entirely possible that this is because w-l-s tried to send a visual context for the Snippet, which is not currently possible - and then that caused a failure at Job creation time...

@stevejalim
Copy link
Collaborator Author

Yeah i think that's what's up here

Screenshot 2024-11-22 at 15 01 12

@stevejalim stevejalim self-assigned this Nov 22, 2024
@stevejalim
Copy link
Collaborator Author

On it

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant