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:35 UTC

[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

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