+ Post New Thread
Results 1 to 2 of 2
Home Access Plus+ Thread, Version 10 Preview Booking system bug in Projects:; I've set this up side by side with V9 and most parts are working without hitch but the booking system ...
  1. #1
    cromertech's Avatar
    Join Date
    Dec 2007
    Location
    Cromer by the coast
    Posts
    731
    Thank Post
    177
    Thanked 109 Times in 97 Posts
    Rep Power
    55

    Version 10 Preview Booking system bug

    I've set this up side by side with V9 and most parts are working without hitch but the booking system will not load the bookings into the grid.
    The weekview and day view work fine just the main page where the actual bookings can be made.

    Chrome developer tools gives me 2 errors on this page although the line references will change depending on the number of defined resources (This is with a single room as a test):

    • Line 291 Uncaught SyntaxError: Unexpected identifier
    • Line 294 Uncaught ReferenceError: resource is not defined (anonymous function)


    I think I have traced the second error to an unassigned value in the resource variables named 'rooms'. I have put below the code that it applies to.

    Line 291 contains this

    Code:
    function resource(name, type, years, quantities, readonly, multiroom, maxlessons, rooms, disclaimer, canshare, notes, allowance)
    Line 294 has this with the empty brackets in red that I think may be causing the problem.

    Code:
    new resource("Test", "Room", [ "Year 7", "Year 8", "Year 9" ], [ "20" ], false, true, "0", [  ], "", false, false, null)
    There doesn't appear to be a place in the config for this.

  2. #2

    Join Date
    Apr 2012
    Posts
    50
    Thank Post
    0
    Thanked 6 Times in 5 Posts
    Rep Power
    7
    Ok - I think this is already fixed, and problem is due to a missing ; on a line before we do some basic compression of the javascript in hap.

    I think Home Access Plus+ - Source Code is the change that will get rid of those 2 errors.



SHARE:
+ Post New Thread

Similar Threads

  1. Booking System - Bug & Query
    By J_Worth in forum Home Access Plus+
    Replies: 7
    Last Post: 12th March 2014, 04:51 PM
  2. Booking system calender not displaying in version 7.10
    By jamesgriffiths in forum Home Access Plus+
    Replies: 21
    Last Post: 27th May 2012, 04:26 PM
  3. Small data-refresh bug in Booking System (</= v7.9) (IE-Only)
    By mattgrimley in forum Home Access Plus+
    Replies: 17
    Last Post: 9th February 2012, 12:26 PM
  4. Online Resource Booking System
    By SimpleSi in forum Web Development
    Replies: 14
    Last Post: 29th October 2008, 09:34 PM
  5. Online Booking System
    By imullings in forum Educational Software
    Replies: 2
    Last Post: 5th September 2006, 09:10 PM

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •