Link Labels in Pier3

While working through a large Pier migration, I found several problems:

  • When starting the old Pharo version 6 image on a Pharo 7 VM (what I on-hand), it started fine but gave an error for missing the version 6 sources file. When it got to the part of exporting the kernel users, it had a failure based on compiling code (more than 64 temporary variables, my wiki has around 130 users) in PRKernelCreatorForPier>>addUsersToKernel:. After copying the version 6 sources to that directory, restarting the export was successful for the users.
  • Found that several of the old pages had links like:

    Text *label with star {{{html: *}} in it>http://www.google.com*

    This fails in PRPillarParser>>linkAlias with each start being nil:

    	each start: each start + anArray first start - 1.

    Creating the same text in a new 3.2 wiki produces the same failure. The wiki text needs to be replaced with:

    Text *label with star \* in it>http://www.google.com*

  • Once logged in, one of the possible views is Text which displays the page as plain text. This doesn't seem very useful, and currently it fails with the error:

    MessageNotUnderstood: GRPharoUtf8CodecStream>><<

    Its possible to add this, or to have another work-around, but there is a Wiki option which displays the page in wiki syntax, which makes this feature seem to be duplicate, so removing the PRPlainView class to remove the option.

Posted by John Borden at 12 November 2019, 3:53 am with tags Pier link