-
Notifications
You must be signed in to change notification settings - Fork 8.3k
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
Scripted date fields have undefined labels in charts #8632
Comments
thomasneirynck
added
bug
Fixes for quality problems that affect the customer experience
P3
v5.0.0
labels
Oct 11, 2016
tested this on latest 5 release. |
@epixa should we try to slip this fix into 5.0? |
thomasneirynck
changed the title
Scripted fields have undefined labels in charts
Scripted date fields have undefined labels in charts
Oct 11, 2016
@Bargs Blegh, gross. I think it would depend on the extent of the changes, but we should fix it one way or another anyway. Care to take a swing? |
I'll take a look tomorrow morning |
Bargs
added a commit
to Bargs/kibana
that referenced
this issue
Oct 12, 2016
Now that we support Painless scripted fields users can create scripted date fields, and thus scripted date histograms. The label making method for the date histogram agg was getting the field name in a way that was incompatible with scripted fields, so I've added some fallback code for that scenario. I looked through the rest of the makeLabel methods on all the other aggs and they all correctly access the field displayName already so this should only need fixed for date histograms. Fixes elastic#8632
From what I can tell, this only affects date histograms. PR pending |
elastic-jasper
added a commit
that referenced
this issue
Oct 12, 2016
--------- **Commit 1:** Fix label on scripted field date histograms Now that we support Painless scripted fields users can create scripted date fields, and thus scripted date histograms. The label making method for the date histogram agg was getting the field name in a way that was incompatible with scripted fields, so I've added some fallback code for that scenario. I looked through the rest of the makeLabel methods on all the other aggs and they all correctly access the field displayName already so this should only need fixed for date histograms. Fixes #8632 * Original sha: 7359b45 * Authored by Matthew Bargar <[email protected]> on 2016-10-12T15:10:15Z
Bargs
referenced
this issue
in Bargs/kibana
Oct 12, 2016
Now that we support Painless scripted fields users can create scripted date fields, and thus scripted date histograms. The label making method for the date histogram agg was getting the field name in a way that was incompatible with scripted fields, so I've added some fallback code for that scenario. I looked through the rest of the makeLabel methods on all the other aggs and they all correctly access the field displayName already so this should only need fixed for date histograms. Now with more lodash for safer access Fixes elastic#8632
elastic-jasper
referenced
this issue
Oct 13, 2016
--------- **Commit 1:** Fix label on scripted field date histograms Now that we support Painless scripted fields users can create scripted date fields, and thus scripted date histograms. The label making method for the date histogram agg was getting the field name in a way that was incompatible with scripted fields, so I've added some fallback code for that scenario. I looked through the rest of the makeLabel methods on all the other aggs and they all correctly access the field displayName already so this should only need fixed for date histograms. Now with more lodash for safer access Fixes elastic#8632 * Original sha: fc635bc * Authored by Matthew Bargar <[email protected]> on 2016-10-12T22:30:15Z
elastic-jasper
referenced
this issue
Oct 13, 2016
--------- **Commit 1:** Fix label on scripted field date histograms Now that we support Painless scripted fields users can create scripted date fields, and thus scripted date histograms. The label making method for the date histogram agg was getting the field name in a way that was incompatible with scripted fields, so I've added some fallback code for that scenario. I looked through the rest of the makeLabel methods on all the other aggs and they all correctly access the field displayName already so this should only need fixed for date histograms. Now with more lodash for safer access Fixes elastic#8632 * Original sha: fc635bc * Authored by Matthew Bargar <[email protected]> on 2016-10-12T22:30:15Z
This was referenced Oct 13, 2016
Bargs
referenced
this issue
Oct 13, 2016
--------- **Commit 1:** Fix label on scripted field date histograms Now that we support Painless scripted fields users can create scripted date fields, and thus scripted date histograms. The label making method for the date histogram agg was getting the field name in a way that was incompatible with scripted fields, so I've added some fallback code for that scenario. I looked through the rest of the makeLabel methods on all the other aggs and they all correctly access the field displayName already so this should only need fixed for date histograms. Now with more lodash for safer access Fixes elastic#8632 * Original sha: fc635bc * Authored by Matthew Bargar <[email protected]> on 2016-10-12T22:30:15Z
airow
pushed a commit
to airow/kibana
that referenced
this issue
Feb 16, 2017
--------- **Commit 1:** Fix label on scripted field date histograms Now that we support Painless scripted fields users can create scripted date fields, and thus scripted date histograms. The label making method for the date histogram agg was getting the field name in a way that was incompatible with scripted fields, so I've added some fallback code for that scenario. I looked through the rest of the makeLabel methods on all the other aggs and they all correctly access the field displayName already so this should only need fixed for date histograms. Fixes elastic#8632 * Original sha: 9bed93b73c0f3cc90dc1fa2889aa6b18acab402b [formerly 7359b45] * Authored by Matthew Bargar <[email protected]> on 2016-10-12T15:10:15Z Former-commit-id: de68ed0
airow
referenced
this issue
in airow/kibana
Feb 16, 2017
--------- **Commit 1:** Fix label on scripted field date histograms Now that we support Painless scripted fields users can create scripted date fields, and thus scripted date histograms. The label making method for the date histogram agg was getting the field name in a way that was incompatible with scripted fields, so I've added some fallback code for that scenario. I looked through the rest of the makeLabel methods on all the other aggs and they all correctly access the field displayName already so this should only need fixed for date histograms. Now with more lodash for safer access Fixes elastic#8632 * Original sha: 613905da363b03c570a016db662bea28d26b6dad [formerly fc635bc] * Authored by Matthew Bargar <[email protected]> on 2016-10-12T22:30:15Z Former-commit-id: da8f2c3
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
A scripted field (date type) has no label on the X-axis of the chart.
This seems only occur for X-axis labels in Date histograms, and not for the Y-axis.
The text was updated successfully, but these errors were encountered: