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/06/29 02:22:12 UTC

[GitHub] [dolphinscheduler] juanfu1997 opened a new issue, #10661: [Bug] [资源中心] 本地缓存导致多标签页面创建文件时,获取的值异常

juanfu1997 opened a new issue, #10661:
URL: https://github.com/apache/dolphinscheduler/issues/10661

   ### 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
   
   环境:window10
   容器:chrome 103.0.5060.53
   由于dss缓存信息时是使用localstorage实现,导致多个标签页面同时进行一些涉及获取缓存信息新建文件时,会导致关联的信息与实际信息不符合。
   
   ### What you expected to happen
   
   由于当前获取文件信息都是从缓存中获取,多tab页面切换时,获取的值不一定与当前标签页的路径一致,希望能解决这个问题
   
   ### How to reproduce
   
   eg:
   dolphinScheduler模块的【资源中心】根目录下存在A与B子目录,
   当用tabA页面打开A目录时,点击创建文件按钮,填写a-1文件信息,暂不保存。
   切换tabB页面打开B目录,点击创建文件按钮,填写b-1文件信息,点击保存,此时b-1文件信息正常。
   再返回tabA页面,点击保存,此时a-1文件的fullName保存的是B目录的路径,导致后续在【项目管理】-工作流里的资源出现异常。
   
   ### Anything else
   
   _No response_
   
   ### Version
   
   1.3.8
   
   ### 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] juanfu1997 commented on issue #10661: [Bug] [Resource Center] When the local cache causes a multi-tab page to create a file, the obtained value is abnormal

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

   > 你可以试试2.0.5版。
   
   
   Thank you for your suggestion, but I have seen that the version 2.05+ generation still uses the localstorage cache information as the parameter for creating new files. This problem still exists


-- 
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] juanfu1997 commented on issue #10661: [Bug] [Resource Center] When the local cache causes a multi-tab page to create a file, the obtained value is abnormal

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

   > May be you can try version 2.0.5.
   
   
   Thank you for your suggestion, but I have seen that the version 2.05+ generation still uses the localstorage cache information as the parameter for creating new files. This problem still exists


-- 
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 #10661: [Bug] [Resource Center] When the local cache causes a multi-tab page to create a file, the obtained value is abnormal

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

   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] Amy0104 commented on issue #10661: [Bug] [Resource Center] When the local cache causes a multi-tab page to create a file, the obtained value is abnormal

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

   May be you can try version 2.0.5.


-- 
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 #10661: [Bug] [Resource Center] When the local cache causes a multi-tab page to create a file, the obtained value is abnormal

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

   ### 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
   
   Environment: window10
   Container: chrome 103.0.5060.53
   Since the dss cache information is implemented using localstorage, when multiple tab pages simultaneously create files that involve acquiring cache information, the associated information will not match the actual information.
   
   ### What you expected to happen
   
   Since the current file information is obtained from the cache, when the multi-tab page is switched, the obtained value is not necessarily the same as the path of the current tab page. I hope this problem can be solved.
   
   ### How to reproduce
   
   eg:
   There are A and B subdirectories under the [Resource Center] root directory of the dolphinScheduler module.
   When using the tabA page to open the A directory, click the Create File button, fill in the a-1 file information, and do not save it for now.
   Switch the tabB page to open the B directory, click the Create File button, fill in the b-1 file information, and click Save. At this time, the b-1 file information is normal.
   Go back to the tabA page and click Save. At this time, the fullName of the a-1 file saves the path of the B directory, which causes the subsequent resources in [Project Management] - Workflow to be abnormal.
   
   ### Anything else
   
   _No response_
   
   ### Version
   
   1.3.8
   
   ### 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

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


[GitHub] [dolphinscheduler] juanfu1997 closed issue #10661: [Bug] [Resource Center] When the local cache causes a multi-tab page to create a file, the obtained value is abnormal

Posted by GitBox <gi...@apache.org>.
juanfu1997 closed issue #10661: [Bug] [Resource Center] When the local cache causes a multi-tab page to create a file, the obtained value is abnormal
URL: https://github.com/apache/dolphinscheduler/issues/10661


-- 
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