Skip to content

GitLab

  • Menu
Projects Groups Snippets
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • briar briar
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 785
    • Issues 785
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 8
    • Merge requests 8
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • briar
  • briarbriar
  • Merge requests
  • !1142

Merged
Created Jun 18, 2019 by akwizgran@akwizgranOwner

Improve handling of missing attachments in UI

  • Overview 6
  • Commits 3
  • Pipelines 2
  • Changes 13

This branch improves the handling of missing and invalid attachments.

When an attachment is loaded, the MessagingManager checks that it's an attachment (rather than a private message) and that it has the expected content type. When the UI tries to load the attachments of a private message, it handles NoSuchMessageException by waiting for the attachment to arrive, then trying again. The message is shown without attachments in the meantime.

This branch doesn't completely solve the handling of missing attachments - I think we should show placeholders for missing or invalid attachments, but we can solve that separately after merging this branch.

Edited Jun 19, 2019 by akwizgran
Assignee
Assign to
Reviewer
Request review from
Time tracking
Source branch: 1585-check-attachment-content-type