Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: application crashing when clicking on files button #28878

Merged
merged 1 commit into from
Apr 12, 2023

Conversation

jayesh-jain252
Copy link
Contributor

@jayesh-jain252 jayesh-jain252 commented Apr 12, 2023

Proposed changes (including videos or screenshots)

The application crashed when a user clicked on the files option when there were multiple files in the room.

After:
image

Issue(s)

Closes #28864

Steps to test or reproduce

Further comments

This problem was occurring because "_updatedAt" (which we are using for sorting the files) is a string and we were calling "getTime()" on a string.

@jayesh-jain252 jayesh-jain252 requested a review from a team as a code owner April 12, 2023 09:28
@codecov
Copy link

codecov bot commented Apr 12, 2023

Codecov Report

Merging #28878 (7ba9b4b) into develop (1a3ef4f) will increase coverage by 0.02%.
The diff coverage is 0.00%.

Impacted file tree graph

@@             Coverage Diff             @@
##           develop   #28878      +/-   ##
===========================================
+ Coverage    45.18%   45.21%   +0.02%     
===========================================
  Files          727      727              
  Lines        14156    14158       +2     
  Branches      2187     2189       +2     
===========================================
+ Hits          6397     6402       +5     
+ Misses        7454     7449       -5     
- Partials       305      307       +2     
Flag Coverage Δ
e2e 45.17% <0.00%> (+0.02%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

@tassoevan tassoevan added this to the 6.2.0 milestone Apr 12, 2023
@tassoevan tassoevan merged commit 352b749 into RocketChat:develop Apr 12, 2023
gabriellsh added a commit that referenced this pull request Apr 12, 2023
…hideSysMes

* 'develop' of github.com:RocketChat/Rocket.Chat: (50 commits)
  fix: application crashing when clicking on "Files" button (#28878)
  revert: rate limiter bindEnvironment
  refactor: Changed settings registry's callbacks to work with async functions (#28784)
  revert: removal of `Meteor.bindEnvironment` on `DDPRateLimiter.addRule` (#28874)
  chore: Limit 10 usernames on reactions tooltip (#28141)
  fix: quote line break (#28798)
  fix: Add function to get installation source (#28806)
  regression: `fetch` call in `getWorkspaceAccessTokenWithScope` (#28866)
  fix(docs,readme): use raw image url (#28861)
  refactor: Make onLicense support async callbacks (#28791)
  refactor: remove some Meteor.bindEnvironment (#28822)
  refactor: Move callbacks to ts - 2 (#28771)
  chore: Update issue_template.md (#28753)
  fix: Fixed business hours route redirect (#28344)
  feat: add GA4 support (#28830)
  chore(deps): Prettier version (#28857)
  remove meteor.call from server (#28774)
  refactor: Remove fibers from `linkedin-oauth` (#28779)
  fix: Invalid JSON in Custom Translations setting crashes the UI (#28600)
  regression(e2e): Missing private key blocks sending message in encrypted rooms (#28831)
  ...
@jayesh-jain252 jayesh-jain252 deleted the issue#28864 branch April 13, 2023 13:36
@sampaiodiego sampaiodiego mentioned this pull request May 16, 2023
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.

The Application GUI just Crashed
2 participants