Latest update breaks callback endpoint

Created on 4 June 2025, 5 days ago

Problem/Motivation

The recent update changed remote_identifier_1 from "tmgmt_memsource" to "$this->getPluginId()", which returns "memsource".

https://git.drupalcode.org/project/tmgmt_memsource/-/commit/8d6d3e5847e2...

https://git.drupalcode.org/project/tmgmt_memsource/-/blob/8d6d3e5847e2b9...

The callback controller that receives updates from Phrase still references "tmgmt_memsource" when locating projects:

https://git.drupalcode.org/project/tmgmt_memsource/-/blob/8.x-1.x/src/Co...

This means that Phrase can no longer update projects using the callback endpoint. Instead you get this message: "Project
not found."

Steps to reproduce

Submit a job. See that Phrase is unable to post updates back.

Proposed resolution

Update the "loadByRemoteIdentifier()" call to use "memsource" and then "tmgmt_memsource" as a fallback to maintain job created before the update.

Remaining tasks

Create, review, and merge pull request.

πŸ› Bug report
Status

Active

Version

1.24

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States charginghawk

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Merge Requests

Comments & Activities

Production build 0.71.5 2024