Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Validation Failed #1

Open
sreekanthg opened this issue Jun 22, 2012 · 8 comments
Open

Validation Failed #1

sreekanthg opened this issue Jun 22, 2012 · 8 comments

Comments

@sreekanthg
Copy link

Hi,
I am getting following error in console while creating Issue through Book Meeting Room Plugin.

ActiveRecord::RecordInvalid (Validation failed: Start Time can't be blank, End Time is not included in the list, Meeting Room is not included in the list, Meeting Day is not included in the list, Value is invalid, Value is invalid, Value is invalid):
vendor/plugins/redmine_meeting_room_calendar/app/controllers/meeting_calendars_controller.rb:48:in `create'

I am using following Versions
Ruby 1.8.7
redmine version:1.3
OS :Ubuntu 11.10
Browser:FF

Please help me out.

Thanks

@opensource-qburst
Copy link
Collaborator

Hi
Could you please go through the steps mentioned in install-notes.pdf. I think you missed default attributes for meeting calendar.

@sreekanthg
Copy link
Author

Hi QBurst,

I Have gone through your provided pdf file. I think i went wrong with giving wrong possible values for custom fields.
Please can you suggest me the what are the possible values should i give.

I have given following possible values:

Start Time=>09:00 10:00 11:00 12:00 13:00 14:00 15:00 16:00 17:00 18:00 19:00 20:00 21:00
End Time=>09:00 10:00 11:00 12:00 13:00 14:00 15:00 16:00 17:00 18:00 19:00 20:00 21:00
Meeting Room=>some users
Meeting Day=>Meeting Day

Thanks.

@opensource-qburst
Copy link
Collaborator

Hi

You have given correct values for Start Time, End Time and Meeting Room. Please make sure the format selected for them as "List". For the Meeting Day custom field, you don't have to create any possible values and format should be selected as "Date".
Please make sure you have checked the tracker you have created for the plug-in.

@sreekanthg
Copy link
Author

Hi QBurst,

Thank you very much for your response. My problem is solved and its working fine.

@sreekanthg
Copy link
Author

Hi QBurst,
I have one Issue i.e. when i select particular room i am getting all the rooms details but not selected room details. Is it bug or am i went anything wrong.

@opensource-qburst
Copy link
Collaborator

Hi

Its not a bug. Please check on-change event of room select box.

@sreekanthg
Copy link
Author

Hi,

I am getting selected room value only.

@istupin
Copy link

istupin commented Sep 16, 2012

check this:
$('#meeting_rooms').change(function() {
reloadCalendar();
});
in lines 365-367 redmine_meeting_room_calendar / assets / javascripts / meetingcalendar.js

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants