Skip to content

Conversation

@arnav-makkar
Copy link
Contributor

Brief summary of changes

Updated the error message displayed when attempting to create a duplicate timepoint to be more explicit and user-friendly.

Before:

This visit label is not unique.

After:

A timepoint with these conditions (PSCID, Project, Cohort, Visit) already exists.

The new message now includes:

  • Participant PSCID
  • Project name
  • Cohort title
  • Visit label

Changes made:

  • Modified TimePoint::isValidVisitLabel() to construct a detailed error message
  • Updated translation files (.pot, .po) for English, Spanish, French, and Japanese

Link(s) to related issue(s)

@github-actions github-actions bot added Language: PHP PR or issue that update PHP code Module: create_timepoint PR or issue related to create_timepoint module Multilingual Any tasks related to making LORIS multilingual labels Jan 10, 2026
@CamilleBeau CamilleBeau requested a review from racostas January 19, 2026 20:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Language: PHP PR or issue that update PHP code Module: create_timepoint PR or issue related to create_timepoint module Multilingual Any tasks related to making LORIS multilingual

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[create_timepoint] more explicit messages

2 participants