-
-
Notifications
You must be signed in to change notification settings - Fork 3.6k
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
Subproject is not updated on save/build #3396
Comments
I was able to replicate this, none symlink on |
Also when removing the subproject the symlink is not erased. Again, rebuilding the project A fix this. |
Great, I'm glad this is reproduceable. So, we should either trigger a save of the superproject in these cases, or explicitly call a task to resymlink the superproject. The second option definitely works, but perhaps a full save of the project makes more sense technically. I'll update the description with more info |
I followed the steps to reproduce it mentioned here and I was able to reproduce it. Then, the solution proposed (call a
I'm trying to write a test case to make this fail first, but I don't know how to manage symlinks from the tests and check the documentation URLs yet. |
I'm reopening this one to talk a little more. I did a manual QA after the today's deploy and I'm not sure if the original issue is fixed or not. I think I'm confused. Following the steps described in the description, I finally end with:
I just found that the test that I wrote at https://github.com/rtfd/readthedocs.org/pull/3649/files#diff-31a1317fe6aaf4de559c18d25fd89323R961 doesn't test what we need: it starts with 2 We need the superproject to be |
|
@ericholscher this is more a fix for the .com site, but as the code that handles privacy level is done in the .org site the issue/PR is reported here. I did test this on my .com locally and it works, but what I think it's incorrect it's the description about how to reproduce it since it's not related to the "Project's privacy level" but the "Version's privacy level". I mean, if I change the "Project's privacy level to
I just did the same test in the .org that I did in .com and it didn't work by changing the "Version's or the Project's privacy level" I think this is working --if we don't want to support privacy levels in .org. @agjohnson I would like you to test it a little more in the .com, but from my point of view this does the trick. |
This sounds like it can be reclosed then. |
When changing a subproject of a superproject, for instance updating the privacy level of the project, symlinks for the superproject are not updated. This might be a regression.
To reproduce
Expected Result
Resolving
We should either trigger a save of the project's superproject, or explicitly call a task for re-symlinking the project in the following cases:
The text was updated successfully, but these errors were encountered: