Skip to content

Conversation

@sh-andriy
Copy link
Contributor

@sh-andriy sh-andriy commented Nov 12, 2025

fix WikiMapper to handle missing user embeds in WikiVersion response

  • Ticket: []
  • Feature flag: n/a

Purpose

Summary of Changes

Screenshot(s)

Side Effects

QA Notes

@coveralls
Copy link
Collaborator

Coverage Status

coverage: 54.331%. remained the same
when pulling c0e5be4 on sh-andriy:fix/ENG-9647_some-wiki-pages-never-load
into b2bdce5 on CenterForOpenScience:develop.

@nsemets
Copy link
Collaborator

nsemets commented Nov 12, 2025

@sh-andriy Change base branch to feature/pbs-25.04. Also, merge all latest change from feature/pbs-25.04 into yours.

@sh-andriy sh-andriy changed the base branch from develop to feature/pbs-25.04 November 12, 2025 12:58
id: response.id,
createdAt: response.attributes.date_created,
createdBy: response.embeds.user.data.attributes.full_name,
createdBy: UserMapper.getUserInfo(response.embeds.user)?.fullName || 'Unknown author',
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should this be a translation string? We should have one already for this kind of situation.

Copy link
Contributor

@brianjgeiger brianjgeiger left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Needs translation string.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants