I am getting weird validation message when editing access

Bug #633632 reported by Charlie Amoah
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Mahara
In Progress
Low
Melissa Draper

Bug Description

Hello there, I have a view that am trying to edit the access so I selected

1. "Public" "Logged In Users" and "Friends"

2. I then entered 2010/09/09 in the "From" field the time was 11:06, I then entered 2010/09/10 11:06 in the "To" field for all the selected viewers ie: "Public" "Logged In User" and "Friends"

3. I then clicked on the "Save" button all the other block of dates disappeared leaving only "Logged In Users" and this message :"The stop date cannot be in the past" but the date is a present date and the "To" date had not expired either. Here is the URL:http://master.dev.mahara.org/view/access.php?id=774&new= please find attached the screen shot.

Version 1.3

Linux

FF3

Tags: bite-sized
Revision history for this message
Charlie Amoah (charlie-catalyst) wrote :
Revision history for this message
Eugene (eugenev) wrote :

Charlie, I tried to replicate your issue with the invalid dates, but it seems to be working as expected for me.

I have however changed the 'weird' validation messages for the dates to be more dynamic and thus be more descriptive ;).

I have attached a patch herewith.

Cheers!

Changed in mahara:
status: New → In Progress
importance: Undecided → Low
assignee: nobody → Eugene (eugene-catalyst)
milestone: none → 1.4.0
Changed in mahara:
importance: Low → Medium
Changed in mahara:
assignee: Eugene (eugene-catalyst) → nobody
status: In Progress → Confirmed
Revision history for this message
François Marier (fmarier) wrote :

That patch shouldn't be committed directly. The langstring keys need to be changed to reflect the fact that a new argument was added. Otherwise it will fail in translations which haven't been updated.

Changed in mahara:
importance: Medium → Low
tags: added: bite-sized
Melissa Draper (melissa)
Changed in mahara:
status: Confirmed → In Progress
assignee: nobody → Melissa Draper (melissa)
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.