The room unit's status set as unavailable after bulk availability management. After changing the units availability as not available for three days, the search availbility listys the room.. why???/

Comments

acrollet’s picture

@cleand: I tried to reproduce this and was unable to - can you post more exact instructions?

acrollet’s picture

Version: 7.x-1.0-beta4 » 7.x-1.x-dev
Status: Active » Postponed (maintainer needs more info)

Update: the latest version of the code is now available on drupal.org - please attempt to reproduce with the git checkout version (or dev snapshot once it's created) and let us know how you get on.

nicola85’s picture

Status: Postponed (maintainer needs more info) » Closed (fixed)
applynx’s picture

Category: support » bug
Status: Closed (fixed) » Active

I think I've just encountered this issue - with "Rooms marked as available on request" unchecked, the availability calendar would always list rooms, regardless of whether they had been blocked by the admin.

The issue seems to be around line 144 of rooms_booking/includes/rooms_booking.availability_agent_filter.inc - the $valid_states array contains zero as a valid state.

When I checked the box again, it worked fine. This is the latest dev version as of 4/12/2013.

junkbox’s picture

I ran across this as well, and meant to post my findings but obviously forgot. #4 is spot on for fixing this 0 was in fact a valid booking state. The issue appears to be fixed in most current dev.

ronald_istos’s picture

Status: Active » Closed (fixed)

Just did a test on latest code and the issue is no longer there so marking this as closed since we also have a test from before.