Skip to content

Fix errors for expandable table shortcode - #12186

Merged
Karuna-Mendix merged 6 commits into
developmentfrom
kv-docs-stack
Nov 5, 2026
Merged

Karuna-Mendix merged 6 commits into
developmentfrom
kv-docs-stack

Conversation

@Karuna-Mendix

@Karuna-Mendix Karuna-Mendix commented Nov 4, 2026 •

Copy link
Copy Markdown
Collaborator

@Karuna-Mendix Karuna-Mendix self-assigned this Nov 4, 2026
| <a id="commendixcoreSessionIdCookieName" href="#commendixcoreSessionIdCookieName">com.<wbr>mendix.<wbr>core.<wbr>SessionIdCookieName</a> | Defines the name of the cookie value which represents the session ID. Can be useful to change when running in a container which assumes a certain name for the session cookie. | XASSESSIONID |
| <a id="commendixcoreStorageService" href="#commendixcoreStorageService">com.<wbr>mendix.<wbr>core.<wbr>StorageService</a> | Defines which storage service module will be used. The storage service module takes care of storing the actual files associated with `System.FileDocument` objects, such as uploaded files. Possible values are `com.mendix.storage. localfilesystem`, `com.mendix.storage.s3`, and `com.mendix.storage.azure`. | com.<wbr>mendix.<wbr>storage.<wbr>localfilesystem |
| <a id="commendixcoreUseMimeDecoderForBase64" href="#commendixcoreUseMimeDecoderForBase64">com.<wbr>mendix.<wbr>core.<wbr>UseMimeDecoderForBase64</a> | The setting defines whether to use the Basic decoder ([RFC 4648](https://datatracker.ietf.org/doc/html/rfc4648)) or MIME decoder ([RFC 2045](https://datatracker.ietf.org/doc/html/rfc2045)) when decoding base64 binary data. The Basic decoder is recommended due to its strictness in not accepting any character outside the Base64 specification, see [Security Considerations](https://datatracker.ietf.org/doc/html/rfc4648#section-12). This setting exists for reasons of backward compatibility. <br/>{{% alert color="warning" %}}Using the MIME decoder is deprecated and the option will be removed in future versions.{{% /alert %}} | false |
| <a id="commendixcoreUseMimeDecoderForBase64" href="#commendixcoreUseMimeDecoderForBase64">com.<wbr>mendix.<wbr>core.<wbr>UseMimeDecoderForBase64</a> | The setting defines whether to use the Basic decoder ([RFC 4648](https://datatracker.ietf.org/doc/html/rfc4648)) or MIME decoder ([RFC 2045](https://datatracker.ietf.org/doc/html/rfc2045)) when decoding base64 binary data. The Basic decoder is recommended due to its strictness in not accepting any character outside the Base64 specification, see [Security Considerations](https://datatracker.ietf.org/doc/html/rfc4648#section-12). This setting exists for reasons of backward compatibility. <br/><div class="alert alert-warning">Using the MIME decoder is deprecated and the option will be removed in future versions.</div> | false |

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚫 [vale] reported by reviewdog 🐶
[Mendix.Capitalization] Use ''Mendix'' (capitalized)

| <a id="commendixstorages3ResourceNamePrefix" href="#commendixstorages3ResourceNamePrefix">com.<wbr>mendix.<wbr>storage.<wbr>s3.<wbr>ResourceNamePrefix</a> | Prefix for the keys under which objects are stored. Separators are not added automatically to keys. For keys like `prefix/key1`, `com.mendix.storage.s3.ResourceNamePrefix` should have value `prefix/`. | |
| <a id="commendixstorages3ResourceNameSuffix" href="#commendixstorages3ResourceNameSuffix">com.<wbr>mendix.<wbr>storage.<wbr>s3.<wbr>ResourceNameSuffix</a> | Suffix for the keys under which objects are stored. This can be used when S3 buckets are divided into different segments for different users with different credentials (for example, store objects as `[key].customer1` for customer1 and as `[key].customer2` for customer2). Separators are not added automatically to keys. For keys like `key1.customer1`, `com.mendix.storage.s3.ResourceNameSuffix` should have value `.customer1`. | |
| <a id="commendixstorages3Region" href="#commendixstorages3Region">com.<wbr>mendix.<wbr>storage.<wbr>s3.<wbr>Region</a> | Sets the region in which the S3 bucket is located. This will be used to determine the service endpoint, unless overridden in **com.<wbr>mendix.<wbr>storage.<wbr>s3.<wbr>EndPoint**. This setting will also be used as the signing region for requests.<br/><br/>In Mendix version 11.6.0 and above, this setting is mandatory. The runtime will not start if this setting is not configured. {{% alert color="warning" %}}Using an incorrect region can lead to the following errors:<br/><br/>`Unable to load region from any of the providers in the chain.`<br/><br/>`The bucket you are attempting to access must be addressed using the specified endpoint.`<br/><br/>`The authorization header is malformed; the region 'us-east-1' is wrong.`{{% /alert %}} | |
| <a id="commendixstorages3Region" href="#commendixstorages3Region">com.<wbr>mendix.<wbr>storage.<wbr>s3.<wbr>Region</a> | Sets the region in which the S3 bucket is located. This will be used to determine the service endpoint, unless overridden in **com.<wbr>mendix.<wbr>storage.<wbr>s3.<wbr>EndPoint**. This setting will also be used as the signing region for requests.<br/><br/>In Mendix version 11.6.0 and above, this setting is mandatory. The runtime will not start if this setting is not configured. <div class="alert alert-warning">Using an incorrect region can lead to the following errors:<br/><br/>`Unable to load region from any of the providers in the chain.`<br/><br/>`The bucket you are attempting to access must be addressed using the specified endpoint.`<br/><br/>`The authorization header is malformed; the region 'us-east-1' is wrong.`</div> | |

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚫 [vale] reported by reviewdog 🐶
[Mendix.Capitalization] Use ''Mendix'' (capitalized)

@Karuna-Mendix

Copy link
Copy Markdown
Collaborator Author

expandable-table shortcode: support multi-line shortcode output in table cells

Problem: Shortcodes such as alert and figure expand to multi-line HTML before expandable-table renders its content. A pipe-table row must be on one line, so the table ended at the first alert or figure, and the remaining rows showed as plain text.
Change: In layouts/shortcodes/expandable-table.html, the shortcode now joins every line that doesn't start with | onto the previous line before it runs markdownify.
Result: You can use {{% alert %}} and {{< figure >}} inside cells of an expandable table, and the alert keeps its icon and styling.
Limits:
Fenced code blocks still can't go in a table cell. Use inline code instead.
Any non-table content inside the shortcode that doesn't start with | is also joined to the previous line.

@MarkvanMents MarkvanMents left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi Karuna,
Thanks for the quick fix. I didn't think you would do it this quickly!
Looks great.

@Karuna-Mendix
Karuna-Mendix merged commit 61f0b98 into development Nov 5, 2026
4 checks passed
@Karuna-Mendix
Karuna-Mendix deleted the kv-docs-stack branch November 5, 2026 12:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants