Bitweaver Bugs

Created by: Lester Caine, Last modification: 24 Feb 2025 (09:57 GMT)

Quick crib sheet on errors identified in bitweaver ... these should be coordinated with github, but I'm not quite there yet as I'm still running a forked port of the code base.

blogs

  1. When adding a new post to a blog the save function does not return the id of the new post. The post is saved and is listed but a 'blog not found' page is displayed due to post_id value being missing from the return URL.
    Fixed this one, just needed to pass the generated id back to the data array.
  2. Adding image attachments to a post are not being handled properly. This still needs to be triaged fully. The images are being upload to fisheye (see below), just not then displaying in the post.
  3. Switch the default start and stop dates for display of a post to the actual initial post date. Actually I would prefer to drop the stop date altogether as is the practice on other blog sites.
  4. A feature request item following on from that is a side bar module to display the calendar of posts which again is more normal on blog only sites. This module would also be useful for the articles package to summarise a linked set of articles tracing the chronology of an event.
  5. The search engine processes complain about there being different paths to the same content. I need to ensure that links generated by the site follow the 'prettyUrl' flag, for which the format should be /blogs/post/ and /blogs/blog/ rather than using the longer format with the .php file name.
  6. Search bar on the blog listing does not seem to be working. Not sure if it should be just post titles, or also content. The main search bar provides posts as well as all other content, and that can be filtered to just blogs, so tthis should probably be just the title lines as happens in the case of wiki lists.

fisheye

  1. When saving images PHP deprecated warnings mess up the reporting that the images have been saved.
  2. Not actually a fisheye bug (liberty problem), but in addition to the correct subdirectory being created in the storage directory and extra empty directory is created in the root directory.
  3. Create thumbnails for pdf's. Again not specifically fisheye but that uses the core services.
    This was down simply to not having enabled the function in liberty.

themes

  1. bootstrap 3 is a bit of a mess as I over-rid the monochrome icon moves that others insisted on. I can accept that using .svg makes scaling a bit easier, but that does not prevent full colour icons from being available.
  2. Moving to bootstrap 5 should be a target I think especially as I need a higher resolution mode to support the 4K monitor I am currently working on, while still allowing content to be displayed on my mobile phone.

wiki

  1. Better control of the use of the page history function. This is another thing that crawlers make a meal off and complain when I block it via the robots.txt file, but it should only be switched on for registered users.

Bitweaver will only run with an older version of PHP. A lot of work is needed to move it to PHP8.x but initially all of the deprecated errors need to be cleared on PHP7.3. Simply hiding them is not the correct 'fix', but in addition to updating bitweaver code, all of he libraries used also need updating to newer version where they exist.