[squeak-dev] swiki links broken in rc3
tim at rowledge.org
Sun Mar 1 19:07:18 UTC 2020
> On 2020-03-01, at 2:23 AM, K K Subbu <kksubbu.ml at gmail.com> wrote:
> In RC3, Help->Squeak Swiki brings up a window with a selected number of swiki pages, but the hyperlinked text do not work.
> If I select "How to contribute to Squeak" and select "Monticello", I get an error:
> There is no Web browser installed but the URL was copied to the clipboard /squeak/1287
> Do you want to view the Web page's source/response any way?
> If I now select yes, I get an "Error: Unsupported scheme:/squeak/1287" window. The URL is missing the server part. Anyone else see this error?
Yes; same error.
And it is very surprising to see a whole load of downloading happening when you first click on 'Help->Squeak Swiki'. And even more surprising what you actually get as a result; a '500 Internal Server Error' seems to be a frequent thing.
This type of help page seems to be parsing and (at least partially successfully) rendering the swiki page text, which is nice but a way to cancel the downloading if it is taking too long would be nice. The list view of pages is working (mostly, bar the 500's) to provide the linkage from page to page but the text view isn't - since the text has plain (but incorrect) TextURLs in the runs array we get not so helpful behaviour.
The TextURLs seem to be incorrectly built during the download/parse and instead of a plausible schema we get a URL such as '/squeak/2915'. That is what causes the immediate issue Subbu is reporting. Of course, we probably really need to fix the parse to create sometihng more like SwikiHelpLink objects that will work with the help page model to do more appropriate things.
tim Rowledge; tim at rowledge.org; http://www.rowledge.org/tim
Strange OpCodes: PS: Pirate Software
More information about the Squeak-dev