Installer and Upgrade specific Exceptions caught for translated messages.

Created on 20 September 2015, over 9 years ago
Updated 29 May 2025, 2 days ago

Follow-up to #2568775: Replace remaining !placeholder for Non-URL HTML outputs only for $e->getMessage()

Problem/Motivation

@alexpott

Create a specific exception for each message and catch in the batch process and have the translations done their. This exception communication pattern is not nice.

#2568775-12: Replace remaining !placeholder for Non-URL HTML outputs only for $e->getMessage()

Proposed resolution

@lauriii Proposed solution
#2568775-21: Replace remaining !placeholder for Non-URL HTML outputs only for $e->getMessage()

@dawehner's feedback #2568775-21: Replace remaining !placeholder for Non-URL HTML outputs only for $e->getMessage()

Well, the reason for the try {} catch {} in \Drupal\Core\Updater\Updater::update is because the transfer mechanism might throw an exception,
and we simply can't and shouldn't know which one exist.

Remaining tasks

User interface changes

API changes

Data model changes

📌 Task
Status

Postponed: needs info

Version

11.0 🔥

Component

base system

Created by

🇨🇦Canada joelpittet Vancouver

Live updates comments and jobs are added and updated live.
  • stale-issue-cleanup

    To track issues in the developing policy for closing stale issues, [Policy, no patch] closing older issues

Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

  • 🇺🇸United States smustgrave

    Thank you for creating this issue to improve Drupal.

    We are working to decide if this task is still relevant to a currently supported version of Drupal. There hasn't been any discussion here for over 8 years which suggests that this has either been implemented or is no longer relevant. Your thoughts on this will allow a decision to be made.

    Since we need more information to move forward with this issue, the status is now Postponed (maintainer needs more info). If we don't receive additional information to help with the issue, it may be closed after three months.

    Thanks!

  • 🇨🇦Canada joelpittet Vancouver

    Thanks for cleaning this up, passing to Alex as he might understand it and it appears I made it for him. I am sure if it’s important it will come back. Closing to help out the process a bit further

Production build 0.71.5 2024