Comments (7)
This is definitely a caching issue. I can reproduce locally now with caching on, and then the problem goes away with caching off. Will keep poking at it.
from source.
Which cache setting did you change? The middleware one? The memcache one? Something else?
from source.
As far as I know, no cache settings have changed in a while. It's possible that this is a bug that's only now coming to light because we haven't needed to edit these m2m lists in the admin.
I'm testing different combinations of cache settings locally to see what needs to happen, but it feels like the problem is related to django-cache-machine's queryset caching.
from source.
This is a little worse than I realized. Turns out if I make a new person, I can't add him or her to anything.
For example, we can't publish a new article by Dan Schultz, because he didn't already have a profile, and now that he does, I can't attach him to a code entry or to the article he wrote for us.
from source.
Oy.
On Tue, Oct 16, 2012 at 2:27 PM, kissane [email protected] wrote:
This is a little worse than I realized. Turns out if I make a new person,
I can't add him or her to anything.For example, we can't publish a new article by Dan Schultz, because he
didn't already have a profile, and now that he does, I can't attach him to
a code entry or to the article he wrote for us.—
Reply to this email directly or view it on GitHubhttps://github.com//issues/87#issuecomment-9503246.
from source.
Workaround from Ryan:
Add new people before doing anything else, then make new articles/entries that include them. (Don't open the "add an article" page and enter a new person into the system halfway through. Even if you save the person before saving the new article for the first time, it won't work.)
That should do the trick for new posts. Later, we'll get to existing posts.
from source.
So the problem is with using django-cache-machine's CachingManager as a standard way to handle a model's objects. I have a fix for this, with an open pull request against the dev site. Would be smart to try this there first.
I can automatically merge this pull request, but I would love it if someone can look this over first. It's very straightforward, but extra eyes and all that.
from source.
Related Issues (20)
- Code block display bug at top of article HOT 2
- RSS feeds splitting item catgeories into individual letters
- Low-priority typography question HOT 4
- fetch initial GitHub data when new Code index entry is added HOT 4
- CSS bug HOT 1
- CSS bug HOT 11
- Working on performance issues on source.mofostaging.net HOT 1
- Add this app to New Relic HOT 1
- Search trouble HOT 9
- Typography: Leading in blockquotes is wonky HOT 4
- Typography: Need CSS tweak for h4 subhead (edited to expand) HOT 2
- Dragging the page on desktop reveals mobile sidebar nav. HOT 1
- "Today" still troubled for job listings HOT 1
- "View on site" broken HOT 1
- Jobs update ideas
- Problem loading the test_data fixture HOT 1
- Problem accessing the admin interface
- PageUp/PageDown not working HOT 3
- Wiki changes
- CODE_OF_CONDUCT.md file missing
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from source.