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

Deprecation warning seen with moment library in console #16209

Open
rashmivkulkarni opened this issue Jan 22, 2018 · 1 comment
Open

Deprecation warning seen with moment library in console #16209

rashmivkulkarni opened this issue Jan 22, 2018 · 1 comment
Labels
Feature:Dashboard Dashboard related features impact:low Addressing this issue will have a low level of impact on the quality/strength of our product. loe:medium Medium Level of Effort Team:Presentation Presentation Team for Dashboard, Input Controls, and Canvas

Comments

@rashmivkulkarni
Copy link
Contributor

Kibana version: 6.2.0 BC1

Elasticsearch version: 6.2.0BC1

Server OS version: Ubuntu 16

Browser version: Chrome

Original install method (e.g. download page, yum, from source, etc.): BC1 builds of 6.2.0

Description of the problem including expected versus actual behavior: Add couple of visualizations to the dashboard on 6.2.0 BC1 and I see the following message int he console . Just logging it here:
Console error:

vendors.bundle.js?v=16537:134 Deprecation warning: moment construction falls back to js Date. This is discouraged and will be removed in upcoming major release. Please refer to https://github.com/moment/moment/issues/1407 for more info.
Arguments: [object Object]
Error
    at Function.createFromInputFallback (https://localhost:5601/bundles/vendors.bundle.js?v=16537:134:2680)
    at oa (https://localhost:5601/bundles/vendors.bundle.js?v=16537:134:10815)
    at Ia (https://localhost:5601/bundles/vendors.bundle.js?v=16537:134:14713)
    at Ha (https://localhost:5601/bundles/vendors.bundle.js?v=16537:134:14574)
    at Ga (https://localhost:5601/bundles/vendors.bundle.js?v=16537:134:14294)
    at Ja (https://localhost:5601/bundles/vendors.bundle.js?v=16537:134:15026)
    at Ka (https://localhost:5601/bundles/vendors.bundle.js?v=16537:134:15060)
    at a (https://localhost:5601/bundles/vendors.bundle.js?v=16537:134:191)
    at DashboardStateManager.value (https://localhost:5601/bundles/commons.bundle.js?v=16537:51:73599)
    at controller (https://localhost:5601/bundles/commons.bundle.js?v=16537:51:41905)
    at Object.invoke (https://localhost:5601/bundles/vendors.bundle.js?v=16537:123:33212)
    at extend.instance (https://localhost:5601/bundles/vendors.bundle.js?v=16537:123:91580)
    at nodeLinkFn (https://localhost:5601/bundles/vendors.bundle.js?v=16537:123:61879)
    at compositeLinkFn (https://localhost:5601/bundles/vendors.bundle.js?v=16537:123:52333)
    at https://localhost:5601/bundles/vendors.bundle.js?v=16537:123:50989
    at Object.link (https://localhost:5601/bundles/vendors.bundle.js?v=16537:139:6986)

cc / @thomasneirynck

@rashmivkulkarni rashmivkulkarni added Feature:Dashboard Dashboard related features Feature:Visualizations Generic visualization features (in case no more specific feature label is available) v6.2.0 labels Jan 22, 2018
@jimgoodwin jimgoodwin added v6.2.3 and removed v6.2.2 labels Feb 20, 2018
@jimgoodwin jimgoodwin added v6.2.4 and removed v6.2.3 labels Mar 20, 2018
@LeeDr LeeDr added v6.2.5 and removed v6.2.4 labels Apr 17, 2018
@timroes timroes added the Team:Visualizations Visualization editors, elastic-charts and infrastructure label Sep 16, 2018
@timroes timroes added Team:Presentation Presentation Team for Dashboard, Input Controls, and Canvas and removed Team:Visualizations Visualization editors, elastic-charts and infrastructure labels Oct 7, 2020
@ThomThomson
Copy link
Contributor

Double checked this, and this warning is still present in the current version of Kibana. Likely we can get around this warning by updating our implementation of areTimesEqual.

@ThomThomson ThomThomson added loe:medium Medium Level of Effort impact:low Addressing this issue will have a low level of impact on the quality/strength of our product. and removed Feature:Visualizations Generic visualization features (in case no more specific feature label is available) v6.2.5 labels Mar 9, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Feature:Dashboard Dashboard related features impact:low Addressing this issue will have a low level of impact on the quality/strength of our product. loe:medium Medium Level of Effort Team:Presentation Presentation Team for Dashboard, Input Controls, and Canvas
Projects
None yet
Development

No branches or pull requests

5 participants