Closed (fixed)
Project:
Agreservations
Version:
6.x-4.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
19 Nov 2010 at 08:34 UTC
Updated:
22 Jan 2011 at 19:40 UTC
Jump to comment: Most recent file
Comments
Comment #1
agill commentedHello,
i think the problem is the following:
in the function agreservations_menu() {
$admin = array('administer Agreservations');
.
.
.
it should be: $admin = array('configure agreservations');
instead. (refresh cache after changing) and is already in the newest version.
i will take more time testing with different users/roles/permissions in future,
as the project becomes more complex. More testing time is needed, and more testers...
To make the initial setup easier i already created a little installationprofile packed together
with all necessary modules inside the package. They will get activated according to the installprofile.
However it takes a while and the best is to deactivate any executiontime limitations prior to installing.
it can be downloaded here.
Comment #2
davidam commentedHello!
I've tested it and the problem persist. I'm testing the module with the superadmin user.
Thanks for your answer!
Comment #3
agill commentedYou mean you are getting an
"Access denied" error while logged in as user with uid == 1?
which of the onlineform modules for agreservations do you have activated,
agres_onlineform or agres_onlineformj? I am sorry but i don´t fully understand,
maybe attaching a screenshot + a list of enabled modules can help me to understand the problem.
Is switching to version 6.x-4.x-dev an option?
Comment #4
davidam commentedNo, I can access to agreservations settings, but it's empty. I'm attaching a screenshot and the list of modules installed in html.
Comment #5
davidam commentedI've upgraded to 6.x-4.x-dev and the problem is the same, but now I've lost my old configuration.
Comment #6
agill commentedi guess i found the bug its there since the 6.x-3.0-beta3 release.
i made another commit to the 6.x-4.x-dev version, meaning the next
dev snapshot which will be created automatically should not contain
this error anymore.
Comment #7
davidam commentedI continue with the problem ...
Comment #8
agill commentedWith only the agreservations core module enabled, the only
configuration setting that can be made is the on and off of the autocreation of
nodes of type agreservation_unit_info for each created reservation. This normally makes sense only together
in conjunction with a setup like on the hoteldemo site i made.
If you only need the agreservation core module to make reservations and a display of the reservations to see which resource/unit is reserved/occupied at a certain time without
any payment solution and thus without the ubercartmodules + agres_bookings and agres_onlineform or agres_categories like in your case,(according to the modulelist you suplied), you can´t make any additional configurations under admin/settings/agreservations.
The project now has reached a point of complexity where i simply have to take myself the time to make things more clear and understandable by providing descriptions to the different modules of the project and how they are intended to be used. Especially since there are about 3 more sub-modules that will make their way into agreservtions providing seasonal rates, and timerestrictions (timerestrictions kindly given to me by AmazeeLabs a suiss company)
Comment #9
davidam commentedI'm sorry by my not answer, after to read your reply I did understand better the behaivour of the module and I can say that this issue is fixed.
Comment #10
agill commented