Describe the bug
A clear and concise description of what the bug is.
Steps to reproduce the bug:
- (The node has a valid configuration)
- Select on the left side
Time by direction of the sun, see the screenshot below.
- Enter some number (or a pre-defined direction name from the configuration) into the field as azimuth value.
(whether or not it is deployed, it is the same)
If you now hover the mouse over the number, the error message appears as a tool tip, see the screenshot below:
undefinedError: Cannot read properties of undefined (reading 'latitude')
After deployment, if the node get started, then the error message comes, see the screenshot below:
internal error time-inject:Cannot read properties of undefined (reading 'latitude')
Screenshots
If applicable, add screenshots to help explain your problem.
Expected behavior
A clear and concise description of what you expected to happen.
The calculation shall be done with the given azimuth value and the resulting date-time shall be given out where it is defined.
System information (please complete the following information):
Additional context
Add any other context about the problem here.
Other functionalities of inject-enhanced are working fine.
The bug can be reproduced also with the sun-position node.
Describe the bug
A clear and concise description of what the bug is.
Steps to reproduce the bug:
Time by direction of the sun, see the screenshot below.(whether or not it is deployed, it is the same)
If you now hover the mouse over the number, the error message appears as a tool tip, see the screenshot below:
undefinedError: Cannot read properties of undefined (reading 'latitude')
After deployment, if the node get started, then the error message comes, see the screenshot below:
internal error time-inject:Cannot read properties of undefined (reading 'latitude')
Screenshots
If applicable, add screenshots to help explain your problem.
Expected behavior
A clear and concise description of what you expected to happen.
The calculation shall be done with the given azimuth value and the resulting date-time shall be given out where it is defined.
System information (please complete the following information):
Node Version [e.g. 0.4.7]
3.0.0-alpha2
Node-Red Version
v4.0.9
Additional context
Add any other context about the problem here.
Other functionalities of
inject-enhancedare working fine.The bug can be reproduced also with the
sun-positionnode.