+ Post New Thread
Page 1 of 2 12 LastLast
Results 1 to 15 of 19
Home Access Plus+ Thread, Booking system - no response to clicks in Projects:; Just setting up the Booking System, and have encountered an issue: when I click on the pencil in the corner ...
  1. #1
    FishCustard's Avatar
    Join Date
    Feb 2013
    Location
    Croydon
    Posts
    425
    Thank Post
    74
    Thanked 42 Times in 38 Posts
    Rep Power
    19

    Booking system - no response to clicks

    Just setting up the Booking System, and have encountered an issue: when I click on the pencil in the corner of a timetable field, absolutely nothing happens. No JS errors are logged in Firebug, just nothing.

    I have the same lack of response to clicking on different days in the 'Overview Calendar'.

    Any ideas appreciated!

  2. #2
    nickbro's Avatar
    Join Date
    Jul 2010
    Location
    Gilwern, Wales
    Posts
    3,566
    Thank Post
    38
    Thanked 510 Times in 440 Posts
    Rep Power
    115
    You don't need to click in the corner as that is just a label telling you what you can do.

    Hmm very odd. Does the URL of the page change when you click on Days in the overview Calendar? It should add #dd-mm-yy

  3. #3
    FishCustard's Avatar
    Join Date
    Feb 2013
    Location
    Croydon
    Posts
    425
    Thank Post
    74
    Thanked 42 Times in 38 Posts
    Rep Power
    19
    The 'Overview Calendar' thing has been resolved by clearing the browser cache, however the issue with clicking on bookings remains. When I click on a booking, the URL does not change at all. However, if I try to navigate to the link target URL (as in '
    https://server/HAP/bookingsystem/#A1-period2') I get: The string was not recognized as a valid DateTime. There is an unknown word starting at index 0.

    Any idea which string is it referring to? I get a feeling this is something borked in the booking system setup files, but we need to know which string is invalid...

    Thanks for your help so far

  4. #4
    nickbro's Avatar
    Join Date
    Jul 2010
    Location
    Gilwern, Wales
    Posts
    3,566
    Thank Post
    38
    Thanked 510 Times in 440 Posts
    Rep Power
    115
    Looks like an error is happening. The hashtag (#) in the address should only contain a date, if it doesn't then something is going wrong. You will need to do some HAP+ JSON Debugging to find out why the URL is getting like that

  5. #5
    FishCustard's Avatar
    Join Date
    Feb 2013
    Location
    Croydon
    Posts
    425
    Thank Post
    74
    Thanked 42 Times in 38 Posts
    Rep Power
    19
    Wait, so the target URL when I click on a booking field to book a room should contain a date?

  6. #6
    nickbro's Avatar
    Join Date
    Jul 2010
    Location
    Gilwern, Wales
    Posts
    3,566
    Thank Post
    38
    Thanked 510 Times in 440 Posts
    Rep Power
    115
    It uses javascript to open the booking form, which should be instant, if it's reloading the page, or opening a new tab then something is going wrong. The URL at the top of the page shouldn't change, as HAP+ uses that to know which date to get.

  7. Thanks to nickbro from:

    FishCustard (31st August 2013)

  8. #7
    FishCustard's Avatar
    Join Date
    Feb 2013
    Location
    Croydon
    Posts
    425
    Thank Post
    74
    Thanked 42 Times in 38 Posts
    Rep Power
    19
    Riiiiight, got it.

    It's simply doing nothing - no reloads, no popups, just sitting there.

  9. #8
    nickbro's Avatar
    Join Date
    Jul 2010
    Location
    Gilwern, Wales
    Posts
    3,566
    Thank Post
    38
    Thanked 510 Times in 440 Posts
    Rep Power
    115
    Ok can you look at the developer tools in the browser and see if anything is getting logged into the console.

  10. #9
    FishCustard's Avatar
    Join Date
    Feb 2013
    Location
    Croydon
    Posts
    425
    Thank Post
    74
    Thanked 42 Times in 38 Posts
    Rep Power
    19
    Nothing whatsoever logged to the console, all the 'Free' fields have the following CSS class=" booked" (i.e. a class list of null/a space, and then 'booked') - that doesn't look right. When I manually replace it with 'free', I get the CSS animation, but still no event.

    Adding things to the StaticBookings.xml file (which previously contained nothing) also has no effect on this issue. The static bookings show up, but no other change.
    Last edited by FishCustard; 1st September 2013 at 11:44 PM.

  11. #10
    FishCustard's Avatar
    Join Date
    Feb 2013
    Location
    Croydon
    Posts
    425
    Thank Post
    74
    Thanked 42 Times in 38 Posts
    Rep Power
    19
    I think I might have it - I believe all the rooms are being treated as read-only to all users. I put the name of an Active Directory group ('Staff Users') in the readwriteto= field in hap_config.xml for each room, is that correct?

    Code:
    <resource name="A2" type="Room" admins="Inherit" enabled="True" emailadmins="True" enablecharging="False" showto="Staff Users" hidefrom="" years="Inherit" quantities="" readonlyto="" readwriteto="Staff Users" disclaimer="" canshare="True" enablenotes="false" />

  12. #11
    nickbro's Avatar
    Join Date
    Jul 2010
    Location
    Gilwern, Wales
    Posts
    3,566
    Thank Post
    38
    Thanked 510 Times in 440 Posts
    Rep Power
    115
    readwriteto="All" will do it as well

  13. Thanks to nickbro from:

    FishCustard (2nd September 2013)

  14. #12
    FishCustard's Avatar
    Join Date
    Feb 2013
    Location
    Croydon
    Posts
    425
    Thank Post
    74
    Thanked 42 Times in 38 Posts
    Rep Power
    19
    Thanks, Nick, I'd just tried removing the Staff Users group (so there's nothing in there at all) and it now works perfectly. Mark this ticket 'closed - PEBKAC'....

    Now to get SIMS to give me all the room data, not just two lessons for one room... -__-

    EDIT: Just fixed that too. You might want to mention in the Codeplex documentation that the SIMS RptDef file needs to be edited to reflect your school's IT rooms. E3 for instance here is something completely different! :P For some reason I thought it'd just give me everything.
    Last edited by FishCustard; 2nd September 2013 at 12:19 AM.

  15. #13
    nickbro's Avatar
    Join Date
    Jul 2010
    Location
    Gilwern, Wales
    Posts
    3,566
    Thank Post
    38
    Thanked 510 Times in 440 Posts
    Rep Power
    115
    Editing the room is in documentation PDF file. It's been a while since I coded that. I manually put the stuff in, so hard to remember sometimes. Good to hear it's all working now :-)

  16. #14
    FishCustard's Avatar
    Join Date
    Feb 2013
    Location
    Croydon
    Posts
    425
    Thank Post
    74
    Thanked 42 Times in 38 Posts
    Rep Power
    19
    Ahh, right okay. I need to remember to RTFM!!

    Sorry, would you mind clearing something else up, when I try to run the import, I get
    User cannot be found from <teacher's_name>
    Parameter name: MainTeacher


    Is this a problem with my AD connectivity (i.e. it can't connect to AD), or something else. I've tried various name formats, including the username, but get the same error.

  17. #15
    nickbro's Avatar
    Join Date
    Jul 2010
    Location
    Gilwern, Wales
    Posts
    3,566
    Thank Post
    38
    Thanked 510 Times in 440 Posts
    Rep Power
    115
    The Notes field is what HAP+ uses to get Mr. N Brown from, for example. Put the staff names, as they match SIMS, into the AD notes fields and it should import correctly.

SHARE:
+ Post New Thread
Page 1 of 2 12 LastLast

Similar Threads

  1. Replies: 2
    Last Post: 9th June 2010, 05:14 PM
  2. Replies: 0
    Last Post: 29th March 2010, 09:23 AM
  3. SIMS to Booking System - URGENT
    By 01hanstu in forum MIS Systems
    Replies: 9
    Last Post: 5th March 2010, 09:33 PM
  4. No response to Ctrl alt del
    By Face-Man in forum Windows
    Replies: 12
    Last Post: 27th November 2008, 11:48 AM
  5. Devizes Booking System - Limit to x bookings
    By kerlj001 in forum Web Development
    Replies: 2
    Last Post: 22nd August 2008, 08:39 AM

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
  •