Opened 11 years ago
Closed 11 years ago
#33200 closed defect (bug) (duplicate)
Changing BLOG_ID_CURRENT_SITE breaks media
| Reported by: | gilbitron | Owned by: | |
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | Media | Version: | 4.2.3 |
| Severity: | normal | Keywords: | |
| Cc: | Focuses: | multisite |
Description
Say you upload media to the default site and a subsite while BLOG_ID_CURRENT_SITE is 1. The media locations are as follows:
- Default site:
uploads - Subsite:
uploads/sites/2
When you change BLOG_ID_CURRENT_SITE to 2 the location of the media files changes so that it is now:
- Default site:
uploads/sites/1 - Subsite:
uploads
However no files are moved which results in broken media.
Change History (4)
#2
@
11 years ago
I'm not sure when someone would want to change their default site but I suppose it might happen. Regardless if you're going to allow the setting to be changed then it shouldn't break things.
Note:
See TracTickets
for help on using tickets.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
Related/Duplicate: #28365
What's the use case for changing
BLOG_ID_CURRENT_SITEat a later date?