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

bug: fix momentjs dependency #7727

Merged
merged 1 commit into from
May 4, 2020
Merged

bug: fix momentjs dependency #7727

merged 1 commit into from
May 4, 2020

Conversation

vince-fugnitto
Copy link
Member

What it does

Fixes: #7726

The following pull-request fixes the version range of momentjs which has been recently published causing an error which ultimately results in the main-menu not being rendered successfully. The issue has affecter our docker images, electron-builder example, and the 'composing applications' section of the website.

How to test

  1. in this repo verify that the application works correctly and the main-menu is rendered
  2. verify that it works for other applications without yarn.lock (this can be done by removing the yarn.lock and rebuilding the application). Else, you can reference dependencies by local paths: https://docs.npmjs.com/files/package.json#local-paths

Review checklist

Reminder for reviewers

Signed-off-by: vince-fugnitto vincent.fugnitto@ericsson.com

fixes an issue with the version range of momentjs which
caused the main menu to fail to render properly.

Signed-off-by: vince-fugnitto <vincent.fugnitto@ericsson.com>
@vince-fugnitto vince-fugnitto added bug bugs found in the application critical critical bugs / problems labels May 2, 2020
@akosyakov
Copy link
Member

A short wrap-up why new momentjs breaks a command will help. I could not find a proper explanation in comments on the issue and here.

@akosyakov akosyakov requested a review from kittaakos May 4, 2020 07:05
@vince-fugnitto
Copy link
Member Author

A short wrap-up why new momentjs breaks a command will help. I could not find a proper explanation in comments on the issue and here.

I updated the issue, somehow my updates to the issue Saturday were never saved (where I narrowed down the bug to momentjs). I also found a relevant issue describing breaking changes on their part.

@akosyakov akosyakov requested a review from paul-marechal May 4, 2020 12:42
@akosyakov akosyakov added the dependencies pull requests that update a dependency file label May 4, 2020
@kittaakos
Copy link
Contributor

I could reproduce the issue, I could work around the issue by adding moment to the resolutions but there is no way to verify the fix before merging it. I propose merging it as it won't get any worse compared to the current state.

Copy link
Contributor

@kittaakos kittaakos left a comment

Choose a reason for hiding this comment

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

Thanks for the fix 👍

@vince-fugnitto
Copy link
Member Author

Thanks for the fix 👍

Thank you very much for the review @kittaakos!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug bugs found in the application critical critical bugs / problems dependencies pull requests that update a dependency file
Projects
None yet
Development

Successfully merging this pull request may close these issues.

bug: menu fails to render
3 participants