Skip to content

fix the bug of uploading files in the debug info disabled environment. #500

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Apr 7, 2022

Conversation

tao-xinxiu
Copy link

The file uploading feature is recently broken because now the debug info is disabled (https://github.com/ow2-proactive/automation-dashboard/blob/master/app/templates_versions/common/app.js#L44), so the input #selected-upload-file can no longer access the scope with the current way.
ref: angular/angular.js#9515

This PR aims to fix this problem by creating a custom directive input-file-change to pass the scope without debug info.

@tao-xinxiu tao-xinxiu requested a review from amouhoub April 6, 2022 15:34
@tao-xinxiu tao-xinxiu changed the title fix the bug of uploading files in the debug mode disabled environment. fix the bug of uploading files in the debug info disabled environment. Apr 6, 2022
@tao-xinxiu tao-xinxiu merged commit d9f72eb into ow2-proactive:master Apr 7, 2022
@tao-xinxiu tao-xinxiu deleted the fix-upload branch April 7, 2022 21:35
medou-boushab pushed a commit to medou-boushab/automation-dashboard that referenced this pull request Jun 6, 2023
medou-boushab pushed a commit to medou-boushab/automation-dashboard that referenced this pull request Jul 10, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants