Bug 272994 - Impossible to enter a date in kexi forms
Summary: Impossible to enter a date in kexi forms
Status: CLOSED FIXED
Alias: None
Product: KEXI
Classification: Applications
Component: Forms (show other bugs)
Version: 2.4 beta1 (Calligra 2.4 beta1)
Platform: Ubuntu Linux
: NOR normal
Target Milestone: ---
Assignee: Jarosław Staniek
URL:
Keywords:
Depends on:
Blocks: 282295
  Show dependency treegraph
 
Reported: 2011-05-11 02:47 UTC by Emmanuel Dubreucq
Modified: 2012-08-11 11:48 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In: 2.4 beta2 (Calligra 2.4 beta2)


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Emmanuel Dubreucq 2011-05-11 02:47:37 UTC
Version:           unspecified
OS:                Linux

After creating a form with a "date" field, I can't enter any date.

Reproducible: Always

Steps to Reproduce:
- First, I create a database. In this base, I put a text field, which is at the "date" format (subtype: Date, I want no time)
- Then, I create a form, and I add a text field, linked to my date field.
- I leave the design mode

Actual Results:  
The text "_______//" is in my date field. I can't type any coherent date in this field.

Expected Results:  
Anything like "__/__/____" in the date field, and more of all the ability to enter a date.

I work on Ubuntu 11.04 (french version)
Kexi 2.3.3 was installed via Synaptic.
Comment 1 Cia Watson 2011-09-16 00:01:50 UTC
I'm using the same version of Kexi on Debian testing / wheezy. I created a date field in a table, entered data for a date only. Since there's no way of knowing what format it would be required to enter the date (and time?), I just used mm/dd/yy -- however when I opened the table to enter more data I see those fields are now blank. The data disappeared. It was only 4 rows, and I've now changed the field to a text format and started over.
Comment 2 Jarosław Staniek 2011-09-16 06:58:09 UTC
Thanks for the extra info. This is not fixed in 2.4 beta 1, so I updated Version field accordingly. Not considering this defect as important to fix before 2.4 release.
Comment 3 Jarosław Staniek 2011-09-18 17:10:23 UTC
Aaah, should be '*Now* considering this defect as important to fix
before 2.4 release'. I was working on it and fix is going to you in minutes!
Comment 4 Jarosław Staniek 2011-09-18 17:15:53 UTC
By the way, the same issue happens in Kexi Table views.
Comment 5 Jarosław Staniek 2011-09-18 19:46:24 UTC
Git commit 952187bf603d8ddc76b3d61fa8953b7ba22977b2 by Jaroslaw Staniek.
Committed on 18/09/2011 at 21:14.
Pushed by staniek into branch 'master'.

Fixed input mask for date, time and date/time data fields in table views
CCBUG:272994
todo: finish this is forms

DIGEST: ^^

M  +5    -0    kexi/doc/dev/CHANGELOG-Kexi-js
M  +6    -30   kexi/widget/tableview/kexicelleditorfactory.cpp
M  +1    -0    kexi/widget/tableview/kexidatetableedit.cpp
M  +1    -0    kexi/widget/tableview/kexidatetimetableedit.cpp
M  +1    -0    kexi/widget/tableview/kexitimetableedit.cpp
M  +8    -8    kexi/widget/utils/kexidatetimeformatter.cpp
M  +1    -1    kexi/widget/utils/kexidatetimeformatter.h

http://commits.kde.org/calligra/952187bf603d8ddc76b3d61fa8953b7ba22977b2
Comment 6 Jarosław Staniek 2011-09-21 22:55:19 UTC
Git commit c295deabd6ebd72079cd374afc1373781989bd04 by Jaroslaw Staniek.
Committed on 22/09/2011 at 00:45.
Pushed by staniek into branch 'master'.

Forms: Fix data entry for time type
BUG:272994

M  +3    -2    kexi/widget/tableview/kexitextformatter.cpp

http://commits.kde.org/calligra/c295deabd6ebd72079cd374afc1373781989bd04
Comment 7 Carlos Cámara 2012-01-24 13:14:21 UTC
Excuse me, I'm quite new to this and I don't quite understand how to fix the issue. I have just installed Krita from kubuntu's 11.10 repositories (version 2.3.3) and the problem persists: whenever I type something in a date field, it seems to be saved but whenever I open the table again the field gets blank.
Comment 8 Jarosław Staniek 2012-01-24 13:22:09 UTC
Let's see what regional settings you have... To look there please open System Settings window of your KDE, go toCountr/Region & Language page, and tell me what is your Time format and long/short date formats.

eg. my is HH:MM:SS, WEEKDAY DD MONTH YYYY, YYYY-MM-DD respectively.
Comment 9 Jarosław Staniek 2012-01-24 13:25:40 UTC
Just noticed - you use Kexi 2.3.3. As you see in the "Version Fixed In" field, it's fixed in Kexi 2.4 beta2 (Calligra 2.4 beta2) and newer versions.

So please wait of try to find pre-release (beta) version if you cannot wait.

I'll consider backporting such fixes to 2.3.3 but not very soon.
Comment 10 Jarosław Staniek 2012-01-24 13:26:15 UTC
of -> or