-
Notifications
You must be signed in to change notification settings - Fork 169
fix: manage access modal on duplicated xblock #1866
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
fix: manage access modal on duplicated xblock #1866
Conversation
|
Thanks for the pull request, @ihor-romaniuk! This repository is currently maintained by Once you've gone through the following steps feel free to tag them in a comment and let them know that your changes are ready for engineering review. 🔘 Get product approvalIf you haven't already, check this list to see if your contribution needs to go through the product review process.
🔘 Provide contextTo help your reviewers and other members of the community understand the purpose and larger context of your changes, feel free to add as much of the following information to the PR description as you can:
🔘 Get a green buildIf one or more checks are failing, continue working on your changes until this is no longer the case and your build turns green. Where can I find more information?If you'd like to get more details on all aspects of the review process for open source pull requests (OSPRs), check out the following resources: When can I expect my changes to be merged?Our goal is to get community contributions seen and reviewed as efficiently as possible. However, the amount of time that it takes to review and merge a PR can vary significantly based on factors such as:
💡 As a result it may take up to several weeks or months to complete a review and merge your PR. |
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## master #1866 +/- ##
==========================================
+ Coverage 93.77% 93.79% +0.02%
==========================================
Files 1146 1146
Lines 23905 23900 -5
Branches 5043 5144 +101
==========================================
+ Hits 22416 22417 +1
+ Misses 1421 1406 -15
- Partials 68 77 +9 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
|
Sandbox deployment failed 💥 |
|
Sandbox deployment successful 🚀 |
|
Sandbox deployment successful 🚀 |
|
I cannot reproduce the issue with the provided instructions. I tried it in teak.demo.edly.io (which is running teak.master), and tried it in a local dev deployment of master. In both cases I'm able to duplicate an HTML block on a new course, and immediately after saving the duplicate, if I click on the Manage Access button, the modal seems to show correctly (albeit empty). I did, however, notice something weird. I edited the body text in the duplicate HTML block before clicking Save. After saving, the content I edited shows in the block with a title of "Text", and the block with a title "Duplicate of 'Text'" contains the original, unaltered text. Anyway... Any idea what else I can try to reproduce the reported issue? |
I was able to reproduce the issue with opening a Manage Access modal window on https://apps.master.openedx.io and sandbox of the recent new PR Screen.Recording.2025-05-02.at.08.53.22.mov |
arbrandes
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ok, it seems behavior with the HTML block is a bit wonky independently of this bug. I was able to reproduce the titular issue with the drag-and-drop block, and to confirm that the fix works. I'm going to open a separate issue for the weird HTML block behavior I'm observing.
Description
The xBlock Manage Access modal doesn't open on duplicated xBlock without page reload.
Step to reproduce:
Backports:
Other information
Settings