Skip to content

Allow workflow-exempt types to have outgoing joins pointing to workflow-based types #303

Description

@RyamBaCo

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:

addFields: [
...
{
      name: "sponsors",
      label: "Sponsors",
      type: "array",
      titleField: "title",
      schema: [
        {
          name: "title",
          type: "string",
          label: "Title"
        },
        {
          name: "url",
          type: "url",
          label: "Url"
        },
        {
          name: "image",
          type: "singleton",
          label: "Bild",
          widgetType: "apostrophe-images",
          required: true
        },
        {
          name: "approved",
          label: "Freigegeben",
          type: "boolean"
        },
        {
          name: "header",
          label: "Im Header anzeigen",
          type: "boolean"
        }
      ]
    }
...
]

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions