Can't add a task with apostrophe

Bug #1422080 reported by costales
20
This bug affects 3 people
Affects Status Importance Assigned to Milestone
task-app
Confirmed
Undecided
Unassigned

Bug Description

Hi!

In BQ Ubuntu Edition I can't add a task with an apostrophe in its text.

Steps:
1. Open Tasks application
2. Click in field "Add new task"
3. Enter A'A
4. Click Enter in the keyboard > Bug: Nothing happen
5. Remove the apostrophe, the text is now: AA
4. Click Enter in the keyboard > The task is added.

Thanks in advance!!

Revision history for this message
Thomas R. (bhomas) wrote :

hello,
I have the same problem with Task App (v1.3) and Ubuntu Touch 14.10 (r21) on my BQ Aquaris E4.5 Ubuntu Edition

Changed in task-app:
status: New → Confirmed
Thomas R. (bhomas)
Changed in task-app:
assignee: nobody → Ubuntu App Cats (ubuntu-touch-coreapps)
Changed in task-app:
assignee: Ubuntu App Cats (ubuntu-touch-coreapps) → nobody
Revision history for this message
Henning Sprang (henning) wrote : Re: [Bug 1422080] Re: Can't add a task with apostrophe

Why are you assigning me this issue? I have nothing to do with that app...

Please undo, i dont need these bug update mails.
Am 01.05.2015 15:30 schrieb "Alan Pope " <email address hidden>:

> ** Changed in: task-app
> Assignee: Ubuntu App Cats (ubuntu-touch-coreapps) => (unassigned)
>
> --
> You received this bug notification because you are a member of Ubuntu
> App Cats, which is a bug assignee.
> https://bugs.launchpad.net/bugs/1422080
>
> Title:
> Can't add a task with apostrophe
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/task-app/+bug/1422080/+subscriptions
>

Revision history for this message
eric (gotadvantage) wrote :

I think we all got emails for this... I was assigned in an email but loking here I don't see that. I'll look to see what I can see - but I've not looked at this part nor been involved in the project at all - just following it... Should not be difficult to resolve I hope - need to locate the original dev... Feel free to email me ideas on where to start.

Revision history for this message
omac777 (uticdmarceau2007) wrote : Re: [Bug 1422080] [NEW] Can't add a task with apostrophe

I repeated the test case. Confirmed the user currently can't add an
apostrophe character as part of the task name.

Two current strategies:
-constrain the user by adding a character filter which will simply not
accept an apostrophe character in the input field.
-if we find apostrophe character's in the input field, we need to prefix
them with escape characters in the stored string.

Which one does everyone prefer?

On 05/01/2015 08:23 AM, Launchpad Bug Tracker wrote:
> Thomas R. (bhomas) has assigned this bug to you for task-app:
>
> Hi!
>
> In BQ Ubuntu Edition I can't add a task with an apostrophe in its text.
>
> Steps:
> 1. Open Tasks application
> 2. Click in field "Add new task"
> 3. Enter A'A
> 4. Click Enter in the keyboard > Bug: Nothing happen
> 5. Remove the apostrophe, the text is now: AA
> 4. Click Enter in the keyboard > The task is added.
>
> Thanks in advance!!
>
> ** Affects: task-app
> Importance: Undecided
> Assignee: Ubuntu App Cats (ubuntu-touch-coreapps)
> Status: Confirmed
>

Revision history for this message
eric (gotadvantage) wrote :

Add the additional string input test to check for non alphanumeric and then set the various methods to escape and normalize. The seccond way is how I'd do it - where is this in the code? I'm new to this thread - I have several examples of how to normalize data input or simply insert the escape characters where needed - but I'm not sure where the processing is taking place so don't want to slow things down...

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.