This task is for a new student in MD Systems, don't do it if it was not assigned to you.

Problem/Motivation

Steps to reproduce:
1. Create a job with config entity
2. Remove a config entity
3. Go to job overview - there should be an error message like on the screenshot below:

Proposed resolution

Very quickly we can have a list of missing labels. We added drupal_set_message() in #2543294: Fatal error when entity deleted.
In /sources/tmgmt_config/src/Plugin/tmgmt/Source/ConfigSource::getLabel(), remove drupal_set_message().

Remaining tasks

User interface changes

API changes

Data model changes

Comments

mbovan created an issue. See original summary.

tduong’s picture

Issue summary: View changes
m13165972293@163.com’s picture

StatusFileSize
new818 bytes
new109.01 KB
new80.92 KB
tduong’s picture

Status: Active » Needs review

Please remember to set the issue status to "Needs review" to run the testbot

tduong’s picture

Status: Needs review » Needs work

You have to delete these lines, not only commenting them :)

Also remember to provide also an interdiff: https://www.drupal.org/documentation/git/interdiff

And assign this issue to yourself.

m13165972293@163.com’s picture

Status: Needs work » Needs review
StatusFileSize
new698 bytes
m13165972293@163.com’s picture

StatusFileSize
new818 bytes
new698 bytes
m13165972293@163.com’s picture

Assigned: Unassigned » m13165972293@163.com
Issue tags: +Remove the error message for missing entities
StatusFileSize
new698 bytes
new3.04 KB
new698 bytes

Status: Needs review » Needs work

The last submitted patch, 8: test_for_tmgmt_demo-2690095-2.patch, failed testing.

m13165972293@163.com’s picture

Status: Needs work » Needs review
StatusFileSize
new700 bytes
new0 bytes
harivenuv’s picture

StatusFileSize
new427 bytes

hi m13165972293@163.com,

There is a white space in your patch. I have removed the white space and added a interdiff patch.

miro_dietiker’s picture

@harivenu_zyxware You just uploaded the interdiff and not the patch?

harivenuv’s picture

StatusFileSize
new694 bytes

hi miro_dietiker,

Oh sorry, I missed that.

miro_dietiker’s picture

Status: Needs review » Fixed
Issue tags: -Remove the error message for missing entities

Committing, plus adding a comment.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.