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 2022/10/20 03:10:41 UTC
[GitHub] [dolphinscheduler] arstercz opened a new issue, #12457: [Bug] [Task Definition] cannot change Environment Name when create or edit task
arstercz opened a new issue, #12457:
URL: https://github.com/apache/dolphinscheduler/issues/12457
### Search before asking
- [X] I had searched in the [issues](https://github.com/apache/dolphinscheduler/issues?q=is%3Aissue) and found no similar issues.
### What happened
It's not work when I create or change the task `Environment Name`, and `Environment Name` always use the first Environment of the Worker Group.
### What you expected to happen
`Environment Name` should be changed so that I can use different `Environment Name` from the same `Worker group`.
### How to reproduce
It's simple to reproduce this issue
1. into the `Security -> Environment Manage`, create multiple `Environment Name` that all belongs to one worker group.
2. into the `Project -> Task -> Task Definition`, change the `Environment Name` by create or edit task;
3. save and review the task,and will find it's not work;
### Anything else
### How often does this problem occur?
> every time
### The following instructions may be useful
Our dolphincheduler instance use MySQL database, and found the sql update with wrong contition:
```
# 1
select
id, code...
from t_ds_task_definition
WHERE code = ...
and version = ..
# 2
insert into t_ds_task_definition_log ...
# 3
UPDATE t_ds_task_definition SET code=...
...
WHERE id=?
```
we cann't find the `id value` from the table `t_ds_task_definition`, but found in table `t_ds_task_definition_log`.
### Version
3.1.x
### Are you willing to submit PR?
- [ ] Yes I am willing to submit a PR!
### Code of Conduct
- [X] I agree to follow this project's [Code of Conduct](https://www.apache.org/foundation/policies/conduct)
--
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.
To unsubscribe, e-mail: commits-unsubscribe@dolphinscheduler.apache.org.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [dolphinscheduler] Amy0104 closed issue #12457: [Bug] [Task Definition] cannot change Environment Name when create or edit task
Posted by "Amy0104 (via GitHub)" <gi...@apache.org>.
Amy0104 closed issue #12457: [Bug] [Task Definition] cannot change Environment Name when create or edit task
URL: https://github.com/apache/dolphinscheduler/issues/12457
--
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.
To unsubscribe, e-mail: commits-unsubscribe@dolphinscheduler.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [dolphinscheduler] github-actions[bot] commented on issue #12457: [Bug] [Task Definition] cannot change Environment Name when create or edit task
Posted by GitBox <gi...@apache.org>.
github-actions[bot] commented on issue #12457:
URL: https://github.com/apache/dolphinscheduler/issues/12457#issuecomment-1284862035
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 [join our slack](https://s.apache.org/dolphinscheduler-slack) and send your question to channel `#troubleshooting`
--
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.
To unsubscribe, e-mail: commits-unsubscribe@dolphinscheduler.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [dolphinscheduler] arstercz commented on issue #12457: [Bug] [Task Definition] cannot change Environment Name when create or edit task
Posted by GitBox <gi...@apache.org>.
arstercz commented on issue #12457:
URL: https://github.com/apache/dolphinscheduler/issues/12457#issuecomment-1285269713
>
We use the standalone mode(v3.1.0). and found `t_ds_task_definition ` update correctly, but display in the web always wrong.
--
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.
To unsubscribe, e-mail: commits-unsubscribe@dolphinscheduler.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [dolphinscheduler] hstdream commented on issue #12457: [Bug] [Task Definition] cannot change Environment Name when create or edit task
Posted by GitBox <gi...@apache.org>.
hstdream commented on issue #12457:
URL: https://github.com/apache/dolphinscheduler/issues/12457#issuecomment-1285055384
According to your reproduction steps, this problem is not reproduced.
before:
<img width="225" alt="1666250046178" src="https://user-images.githubusercontent.com/33045461/196881162-4ed42a70-7eb5-4dfe-9f8d-367d9195f5ac.png">
after:
<img width="220" alt="1666250118306" src="https://user-images.githubusercontent.com/33045461/196881346-e19e285d-537d-4aba-b7c1-888630a03b2d.png">
--
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.
To unsubscribe, e-mail: commits-unsubscribe@dolphinscheduler.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [dolphinscheduler] mer2 commented on issue #12457: [Bug] [Task Definition] cannot change Environment Name when create or edit task
Posted by GitBox <gi...@apache.org>.
mer2 commented on issue #12457:
URL: https://github.com/apache/dolphinscheduler/issues/12457#issuecomment-1343753945
这个BUG随手就可以改掉的,为何要一推再推呢?!
--
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.
To unsubscribe, e-mail: commits-unsubscribe@dolphinscheduler.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [dolphinscheduler] hstdream commented on issue #12457: [Bug] [Task Definition] cannot change Environment Name when create or edit task
Posted by GitBox <gi...@apache.org>.
hstdream commented on issue #12457:
URL: https://github.com/apache/dolphinscheduler/issues/12457#issuecomment-1286498880
I use the standalone mode(v3.1.0) too.
--
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.
To unsubscribe, e-mail: commits-unsubscribe@dolphinscheduler.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [dolphinscheduler] mer2 commented on issue #12457: [Bug] [Task Definition] cannot change Environment Name when create or edit task
Posted by GitBox <gi...@apache.org>.
mer2 commented on issue #12457:
URL: https://github.com/apache/dolphinscheduler/issues/12457#issuecomment-1324518430
which milestone will it be fixed? it seems it's a UI bug, when UI dialog show, it should display the corrent env-name last edited. 3q
--
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.
To unsubscribe, e-mail: commits-unsubscribe@dolphinscheduler.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [dolphinscheduler] hdygxsj commented on issue #12457: [Bug] [Task Definition] cannot change Environment Name when create or edit task
Posted by GitBox <gi...@apache.org>.
hdygxsj commented on issue #12457:
URL: https://github.com/apache/dolphinscheduler/issues/12457#issuecomment-1318628720
I can't reproduce too ,@arstercz can you provide more infomation to help reproducing this issue ?
--
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.
To unsubscribe, e-mail: commits-unsubscribe@dolphinscheduler.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org