modxbot / migrate

A testground for migrating issues and other such fun
0 stars 0 forks source link

Template Varable Media Source Assignment #10332

Open webandflow opened 11 years ago

webandflow commented 11 years ago

webandflow created Redmine issue ID 10332

I've got a site with over 50 contexts, each with an associated media source, and several shared image/file template variables. When I set up the template variables, I have to select which media source to pull from based on the context. When I try to do this, the list of media sources messes up after the first 20 so that the media source names are replaced by their ID numbers.

If I try to change the media source for any of the contexts that are showing an media source ID, the list flips - so all of the contexts that WERE listing the names correctly, now list the ID, and vice versa.

I've attached images to demonstrate this.

!https://www.evernote.com/shard/s3/sh/93c9234f-c98a-48ec-a459-90e16043746b/f75306934bc20fde0e34faa092984d00/deep/0/Template-Variable--mainFeatureImage---The-Salvation-Army-of-the-Carolinas.png!

!https://www.evernote.com/shard/s3/sh/6ffd6484-5b8c-4f4f-aacf-15dafac096c8/1732ca7e9e5ac7891a642efb3255da9b/deep/0/Template-Variable--mainFeatureImage---The-Salvation-Army-of-the-Carolinas.png!

I don't know enough about what's happening behind the scenes to figure out exactly what's happening, but inspecting the ajax requests doesn't turn up anything out of the ordinary. Each request seems to return all 56 of the media sources. I'm guessing something is messing up with the client side js?

My work around, thus far, has been to set this manually in the database.