[Bug 25572] Handle bad file paths more elegantly.
https://bugzilla.wikimedia.org/show_bug.cgi?id=25572 --- Comment #5 from Krinkle krinklem...@gmail.com 2011-06-06 09:42:23 UTC --- *bump* Should this be fixed before the release of 1.17.0 / Completion of ResourceLoader 1.0 ? -- Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are on the CC list for the bug. ___ Wikibugs-l mailing list Wikibugs-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikibugs-l
[Bug 25572] Handle bad file paths more elegantly.
https://bugzilla.wikimedia.org/show_bug.cgi?id=25572 --- Comment #6 from Roan Kattouw roan.katt...@gmail.com 2011-06-06 09:46:39 UTC --- (In reply to comment #5) *bump* Should this be fixed before the release of 1.17.0 / Completion of ResourceLoader 1.0 ? Meh, it's a nice-to-have IMO. -- Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are on the CC list for the bug. ___ Wikibugs-l mailing list Wikibugs-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikibugs-l
[Bug 25572] Handle bad file paths more elegantly.
https://bugzilla.wikimedia.org/show_bug.cgi?id=25572 Krinkle krinklem...@gmail.com changed: What|Removed |Added Version|1.17|unspecified Blocks|24415 | -- Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are on the CC list for the bug. ___ Wikibugs-l mailing list Wikibugs-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikibugs-l
[Bug 25572] Handle bad file paths more elegantly.
https://bugzilla.wikimedia.org/show_bug.cgi?id=25572 --- Comment #2 from Roan Kattouw roan.katt...@gmail.com 2010-10-19 16:21:09 UTC --- (In reply to comment #1) And lets not solve this by adding 1 stat call per file... :) Did you know PHP (supposedly) has a stat cache causing it to not stat the same file twice during one request? -- Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are on the CC list for the bug. ___ Wikibugs-l mailing list Wikibugs-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikibugs-l
[Bug 25572] Handle bad file paths more elegantly.
https://bugzilla.wikimedia.org/show_bug.cgi?id=25572 --- Comment #3 from Trevor Parscal tpars...@wikimedia.org 2010-10-19 16:57:23 UTC --- Then by all means, lets solve this by adding 1 stat call (file_exists) per file :) -- Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are on the CC list for the bug. ___ Wikibugs-l mailing list Wikibugs-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikibugs-l
[Bug 25572] Handle bad file paths more elegantly.
https://bugzilla.wikimedia.org/show_bug.cgi?id=25572 --- Comment #4 from Michael Dale d...@ucsc.edu 2010-10-19 17:24:18 UTC --- Right but you probably don't want to stat all resources in every request. Just run the stat call once responding to a resource loader request for the requested resources ( ie right before you read the file, where it will subsequently run stat anyway ) You should add some basic way to have resource loader response to pass down errors or exceptions to javascript. ( ie when outputting a script response and you have an error or exception you should represent that. I previously wrapped errors and used a console.log call, rather than the php html errors that break the javascript processing ) This way if one file is missing the error hits the console but the rest of the javascript does not break. Furthermore you should treat error responses as if debug was on. So that the response is not cached. -- Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are on the CC list for the bug. ___ Wikibugs-l mailing list Wikibugs-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikibugs-l
[Bug 25572] Handle bad file paths more elegantly.
https://bugzilla.wikimedia.org/show_bug.cgi?id=25572 --- Comment #1 from Trevor Parscal tpars...@wikimedia.org 2010-10-19 00:15:43 UTC --- And lets not solve this by adding 1 stat call per file... :) -- Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are on the CC list for the bug. ___ Wikibugs-l mailing list Wikibugs-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikibugs-l
[Bug 25572] Handle bad file paths more elegantly.
https://bugzilla.wikimedia.org/show_bug.cgi?id=25572 MZMcBride b...@mzmcbride.com changed: What|Removed |Added CC||b...@mzmcbride.com Blocks||24415 Depends on|24415 | -- Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are on the CC list for the bug. ___ Wikibugs-l mailing list Wikibugs-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikibugs-l