-
Notifications
You must be signed in to change notification settings - Fork 20
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
Allow workflow-exempt types to have outgoing joins pointing to workflow-based types #303
Comments
Outgoing joins from a piece excluded from workflow may not point to types that are included in workflow. Basically because there is nowhere to store the multiple image ids for the different locales. This is a frustrating limitation but it is unlikely to change in Apostrophe 2.x due to the fact that when 2.x was first designed, it was not on our radar to include locale information directly in the _id property. In 3.x we intend to fix that. You could possibly work around it by storing the workflowGuid properties of the images in a property via a But if you can I would make the piece type in question subject to workflow. If a type depends on something subject to workflow, it should probably be subject to workflow as well. |
Tagged as a 3.0 issue. One of the reasons why we must overhaul _id in 3.0, even if it makes migration a bit of a pain. |
In 3.0 _id could look like:
|
Thank you for your feedback! I managed to make it work by the workaround of using an attachment type instead of apostrophe-image, but good to know that it's taken in consideration for 3.0. |
Oh that's an excellent workaround, I should have thought to suggest it. 💯
…On Sat, Feb 22, 2020, 11:05 AM Ryam BaCo ***@***.***> wrote:
Thank you for your feedback! I managed to make it work by the workaround
of using an attachment type instead of apostrophe-image, but good to know
that it's taken in consideration for 3.0.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#303>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAAH27J6ZEW25QWOVGVSEJDREFEMJANCNFSM4KX4YTIQ>
.
|
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
Hey there,
I'm experiencing issues regarding storing images within an array of a piece. The special use case is that the piece itself is excluded from translations, but I guess that the apostrophe-image inside of the array is not. When switching the locales the attachment url is missing, which should not happen.
My piece looks like:
The text was updated successfully, but these errors were encountered: