On 2010/09/08 00:15, Ken Causey wrote:
On Tue, 2010-09-07 at 23:07 +0200, Hans-Martin Mosner wrote:
Hello, one of the changes which brought my image from #10474 to 10500 seems to have introduced a bug in the project switching code, however, I don't know where the actual problem is. The symptom is that the error message in the subject is raised in GenericUrl>>privateInitializeFromText: which is called via several steps from MorphicProject>>startResourceLoading. Did anyone else notice this? The bug is only triggered if your project has resources, of course.
Cheers, Hans-Martin
This is exactly what C. A. Oliver's recent Inbox submission is meant to address
http://lists.squeakfoundation.org/pipermail/squeak-dev/2010-September/153450...
He brought up the issue on #squeak. I'm sure he would appreciate any feedback regarding his solution.
There's a quicker test: Do It with: Url absoluteFromText: 'foo'
Up until my submission (which is causing this trouble), "no scheme" meant "use an HttpUrl".
I can see two ways forward: (a) fix the calling sites like C. A. Oliver's submission, or (b) add "at: nil put: HttpUrl" in the SchemeRegistry.
I prefer (a) myself: 'foo' isn't any kind of valid _absolute_ URI.
The Inbox contains Network-fbs.90, which contains (b)'s fix.
frank