You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@dolphinscheduler.apache.org by GitBox <gi...@apache.org> on 2021/05/15 16:01:10 UTC

[GitHub] [dolphinscheduler] gk0916 opened a new issue #5477: [Bug][Api] Every time you view the local parameter of processinstance that references ${system.datatime}, there are different values

gk0916 opened a new issue #5477:
URL: https://github.com/apache/dolphinscheduler/issues/5477


   
   **Describe the bug**
   When processinstance is not scheduled to be executed, but manually executed, each time it has a different value, when viewing the local parameters of the processinstance referencing ${system.datatime}
   
   **To Reproduce**
   1. Add a local parameter for a task, such as BATCH_TIME=${system.datetime} 
   2. Manually execute the process, that will generate a new processinstance
   3. Multiple viewing of local parameters will have different values
   
   **Screenshots**
   ![image](https://user-images.githubusercontent.com/29849547/118370251-71ff0080-b5d9-11eb-8c67-4634e77b3188.png)
   
   ![image](https://user-images.githubusercontent.com/29849547/118370282-96f37380-b5d9-11eb-98fc-868b7293cf0a.png)
   
   
   **Which version of Dolphin Scheduler:**
    -[1.3.6-release]


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [dolphinscheduler] gk0916 closed issue #5477: [Bug][Api] Every time you view the local parameter of process instance that references ${system.datetime}, there are different values

Posted by GitBox <gi...@apache.org>.
gk0916 closed issue #5477:
URL: https://github.com/apache/dolphinscheduler/issues/5477


   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [dolphinscheduler] github-actions[bot] commented on issue #5477: [Bug][Api] Every time you view the local parameter of process instance that references ${system.datetime}, there are different values

Posted by GitBox <gi...@apache.org>.
github-actions[bot] commented on issue #5477:
URL: https://github.com/apache/dolphinscheduler/issues/5477#issuecomment-841684433


   Hi:
   * Thank you for your feedback, we have received your issue, Please wait patiently for a reply.
   * In order for us to understand your request as soon as possible, please provide detailed information、version or pictures.
   * If you haven't received a reply for a long time, you can subscribe to the developer's email,Mail subscription steps reference https://dolphinscheduler.apache.org/zh-cn/community/development/subscribe.html ,Then write the issue URL in the email content and send question to dev@dolphinscheduler.apache.org.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [dolphinscheduler] gk0916 commented on issue #5477: [Bug][Api] Every time you view the local parameter of process instance that references ${system.datetime}, there are different values

Posted by GitBox <gi...@apache.org>.
gk0916 commented on issue #5477:
URL: https://github.com/apache/dolphinscheduler/issues/5477#issuecomment-841745701


   When the process is executed manually, the scheduling time is empty, BusinessTimeUtils
                    .getBusinessTime will always be calculated according to the current time. I will fix it.
   
   https://github.com/apache/dolphinscheduler/blob/d04f4b60535cd86905e56b0a732f2ec038680eb7/dolphinscheduler-api/src/main/java/org/apache/dolphinscheduler/api/service/impl/ProcessInstanceServiceImpl.java#L624-L626
   
   https://github.com/apache/dolphinscheduler/blob/d04f4b60535cd86905e56b0a732f2ec038680eb7/dolphinscheduler-common/src/main/java/org/apache/dolphinscheduler/common/utils/placeholder/BusinessTimeUtils.java#L59-L66


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [dolphinscheduler] gk0916 commented on issue #5477: [Bug][Api] Every time you view the local parameter of process instance that references ${system.datetime}, there are different values

Posted by GitBox <gi...@apache.org>.
gk0916 commented on issue #5477:
URL: https://github.com/apache/dolphinscheduler/issues/5477#issuecomment-841745701


   When the process is executed manually, the scheduling time is empty, BusinessTimeUtils
                    .getBusinessTime will always be calculated according to the current time. I will fix it.
   
   https://github.com/apache/dolphinscheduler/blob/d04f4b60535cd86905e56b0a732f2ec038680eb7/dolphinscheduler-api/src/main/java/org/apache/dolphinscheduler/api/service/impl/ProcessInstanceServiceImpl.java#L624-L626
   
   https://github.com/apache/dolphinscheduler/blob/d04f4b60535cd86905e56b0a732f2ec038680eb7/dolphinscheduler-common/src/main/java/org/apache/dolphinscheduler/common/utils/placeholder/BusinessTimeUtils.java#L59-L66


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org