Skip to content

Fix build errors if no content field in config - #841

Merged
ajolipa merged 1 commit into
developfrom
rb/fix-mising-content-error
Oct 29, 2026
Merged

ajolipa merged 1 commit into
developfrom
rb/fix-mising-content-error

Conversation

@ajolipa

@ajolipa ajolipa commented Oct 29, 2026

Copy link
Copy Markdown
Contributor

In this PR

Fixes a couple of places in src/backend/tina/i18n.ts that check for the value of config.content.localize_pages without checking if config.content exists in the first place, leading to builds failing in the case that the config file has no content field configured.

@netlify

netlify Bot commented Oct 29, 2026 •

Copy link
Copy Markdown

✅ Deploy Preview for opi-staging ready!

Name Link
🔨 Latest commit c75a8dc
🔍 Latest deploy log https://app.netlify.com/projects/opi-staging/deploys/6ae3533bb5ca2519bf0786c5
😎 Deploy Preview https://deploy-preview-841--opi-staging.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@netlify

netlify Bot commented Oct 29, 2026 •

Copy link
Copy Markdown

✅ Deploy Preview for relnet-staging ready!

Name Link
🔨 Latest commit c75a8dc
🔍 Latest deploy log https://app.netlify.com/projects/relnet-staging/deploys/6ae3533b20a66289b0b5f2a2
😎 Deploy Preview https://deploy-preview-841--relnet-staging.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@netlify

netlify Bot commented Oct 29, 2026 •

Copy link
Copy Markdown

✅ Deploy Preview for pss-scavenger-hunt ready!

Name Link
🔨 Latest commit c75a8dc
🔍 Latest deploy log https://app.netlify.com/projects/pss-scavenger-hunt/deploys/6ae3533a49a18110a6e7e62e
😎 Deploy Preview https://deploy-preview-841--pss-scavenger-hunt.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@netlify

netlify Bot commented Oct 29, 2026 •

Copy link
Copy Markdown

✅ Deploy Preview for marronage-staging ready!

Name Link
🔨 Latest commit c75a8dc
🔍 Latest deploy log https://app.netlify.com/projects/marronage-staging/deploys/6ae3533b3aa48a962da5357e
😎 Deploy Preview https://deploy-preview-841--marronage-staging.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@netlify

netlify Bot commented Oct 29, 2026 •

Copy link
Copy Markdown

✅ Deploy Preview for padp-staging ready!

Name Link
🔨 Latest commit c75a8dc
🔍 Latest deploy log https://app.netlify.com/projects/padp-staging/deploys/6ae3533bb5ca2519bf0786bf
😎 Deploy Preview https://deploy-preview-841--padp-staging.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@ajolipa
ajolipa requested a review from blms October 29, 2026 14:08

@blms blms left a comment

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.

Good catch!

@ajolipa
ajolipa merged commit d68fbd8 into develop Oct 29, 2026
24 checks passed
@ajolipa ajolipa added the next release Issues in the next release label Oct 29, 2026
@ajolipa
ajolipa deleted the rb/fix-mising-content-error branch October 29, 2026 17:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

next release Issues in the next release

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants