Testing calendar app requires Exchange server

Bug #987197 reported by Tixy (Jon Medhurst) on 2012-04-23
12
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Linaro Android
Won't Fix
Undecided
Unassigned
linaro-landing-team-arm
Won't Fix
Undecided
Unassigned

Bug Description

The QA test step for the Callendar app requires a new event to be added. When I try this it says I need to create a calendar first and this requires settings for an Exchange server.

I don't have access to an Exchange Server and can't see a way in the UI to create a different kind of calendar.

summary: - Testing calendar app requires exchange server
+ Testing calendar app requires Exchange server
tags: added: calendar-app
Paul Larson (pwlars) wrote :

I thought I posted this comment earlier, but I don't see it now. I think if you link a gmail account, it should work as well. Abhishek, I'm sure you've used this before. Can you confirm how you get it to work? It seems maybe a bit more detail in the test case may be in order also.

On Panda board for build: https://android-build.linaro.org/builds/~linaro-android/panda-ics-gcc47-tilt-tracking-blob-12.04-release/#build=4, it works fine when I added one of gmail account.

Steps followed:
1. Open calendar , add new event ->notification received for adding a account
2. Select - Add account
3. Email address: Enter email address(used gmail account)
4. Password: Enter password
5. Select Next
6. Account info retrieved
7. On next page:
    DOmain\Username: \<gmail_account_name> (eg: \testacount)
    password: <correct_password>
    Server: m.google.com (This is important change as the default one does not work)
    Selected checkbox "Accept all SSL connection"
    Select "Next" option and Next again for remaining pages till account is setup.
8. Now open calendar app and right hand side email account which was added can be seen, highlight this using mouse click once. Now calendar entries can be done.

On Wed, 2012-04-25 at 06:47 +0000, Abhishek Paliwal wrote:
> On Panda board for build: https://android-build.linaro.org/builds
> /~linaro-android/panda-ics-gcc47-tilt-tracking-
> blob-12.04-release/#build=4, it works fine when I added one of gmail
> account.
>
> Steps followed:
> 1. Open calendar , add new event ->notification received for adding a account
> 2. Select - Add account
> 3. Email address: Enter email address(used gmail account)
> 4. Password: Enter password
> 5. Select Next
> 6. Account info retrieved
> 7. On next page:
> DOmain\Username: \<gmail_account_name> (eg: \testacount)
> password: <correct_password>
> Server: m.google.com (This is important change as the default one does not work)
> Selected checkbox "Accept all SSL connection"
> Select "Next" option and Next again for remaining pages till account is setup.
> 8. Now open calendar app and right hand side email account which was added can be seen, highlight this using mouse click once. Now calendar entries can be done.
>

I got confused because I though 'exchange' was a Microsoft thing. :-)

I've managed to add my Linaro Google account but I still have no
calendar. Settings shows sync is on, but the Calendar app settings says
the account has no calendars.

As I'm sure nobody with a Versatile Express board cares if their Google
calendar works on Android I'm not going to spend any more time trying to
get this working.

Tixy (Jon Medhurst) (tixy) wrote :

Bug is probably a problem with the user (me) . As nobody with a Versatile Express board is going to care if their Google calendar works on Android, and this is almost certainly not a Versatile Express enablement issue I'm going to mark this won't fix.

Changed in linaro-landing-team-arm:
status: New → Won't Fix

Unable to see the account which I added for calendar events creation.
So no event entry is possible.
https://android-build.linaro.org/builds/~linaro-android/vexpress-rtsm-ics-gcc47-armlt-stable-open-12.05-release/#build=5

Botao (botao-sun) wrote :

This is not duplicated bug with 987255. On vexpress board with image:

https://android-build.linaro.org/builds/~linaro-android/vexpress-ics-gcc47-armlt-tracking-open/#build=78

Email works well with a Google account, but Calendar failed during the same account adding.

SOGo 2.0 (http://sogo.nu/) can emulate an Exchange server, if it needs to be tested.

Botao (botao-sun) wrote :

But Calendar should work with a Google account. This is an Android device...

Paul Larson (pwlars) wrote :

Not without the google apps support. The believe the missing pieces for connecting to gmail, google calendar, etc are separately licensed pieces that are not part of the default release.

Botao (botao-sun) wrote :

This is not a duplicate bug. After change the server address to "m.google.com", I can configured the exchange account successfully, of course, with a Google account. This is how Google supports the iOS devices too:

http://support.google.com/mobile/bin/answer.py?hl=en&answer=138740

However, even I added the exchange account successfully, when I click the add button to add an event, the Calendar app still tells me that I need an account, weird.

The People app works well with the same method to add an exchange account.

Botao (botao-sun) wrote :

On Samsung Origen board, it can't connect to server even changed the server address to "m.google.com". Observed on:

https://android-build.linaro.org/builds/~linaro-android/origen-ics-gcc47-samsunglt-stable-blob/#build=82

Botao (botao-sun) wrote :

For comment #10, I think the reason is about the Google account and sync. Google sync doesn't work except email. I tried to create a calendar and a contact in Calendar app and People app, both didn't work.

Since the calendar in an existing account can't be synced to device, then after click add, the app then requires a new account.

Amit Khare (amit-khare) wrote :

observation on panda 4430 build
https://android-build.linaro.org/builds/~linaro-android/panda-ics-gcc47-tilt-tracking-blob-12.07-release/#build=3

When adding a calendar entry the email setup wizard works fine. After setting up email a/c when i try to add a calendar entry it again asks to setup account.

Amit Khare (amit-khare) wrote :
Download full text (5.1 KiB)

OBSERVED ON ORIGEN BUILD
https://android-build.linaro.org/builds/~linaro-android/origen-ics-gcc47-samsunglt-stable-blob-12.07-release/#build=1

steps followed:
Steps followed:
1. Open calendar , add new event ->notification received for adding a account
2. Select - Add account
3. Email address: Enter email address(used gmail account)
4. Password: Enter password
5. Select Next
6. Account info retrieved
7. On next page:
    DOmain\Username: \<gmail_account_name> (eg: \testacount)
    password: <correct_password>
    Server: m.google.com (This is important change as the default one does not work)
    Selected checkbox "Accept all SSL connection"
    Select "Next" option and Next again for remaining pages till account is setup.
8. Pressing next option hangs the system .

Minicom Log:

[ 105.700000] binder: 2442:2852 transaction failed 29189, size 56-0
[ 166.180000] binder: 2992:3001 refcount change on invalid ref 9
[ 166.190000] binder: 2992:3001 refcount change on invalid ref 13
[ 223.705000] BUG: scheduling while atomic: AudioOut_1/2424/0x00000002
[ 223.705000] Modules linked in: ath6kl gator
[ 223.705000] [<c0016664>] (unwind_backtrace+0x0/0x104) from [<c0512280>] (dump_stack+0x20/0x24)
[ 223.705000] [<c0512280>] (dump_stack+0x20/0x24) from [<c0512bfc>] (__schedule_bug+0x54/0x60)
[ 223.705000] [<c0512bfc>] (__schedule_bug+0x54/0x60) from [<c051a118>] (__schedule+0x500/0x620)
[ 223.705000] [<c051a118>] (__schedule+0x500/0x620) from [<c051a2d4>] (schedule+0x40/0x80)
[ 223.705000] [<c051a2d4>] (schedule+0x40/0x80) from [<c00581d8>] (sys_sched_yield+0x70/0x78)
[ 223.705000] [<c00581d8>] (sys_sched_yield+0x70/0x78) from [<c051a6dc>] (yield+0x34/0x38)
[ 223.705000] [<c051a6dc>] (yield+0x34/0x38) from [<c002eafc>] (tasklet_kill+0x44/0xa0)
[ 223.705000] [<c002eafc>] (tasklet_kill+0x44/0xa0) from [<c023f0b8>] (pl330_free_chan_resources+0x38/0xb0)
[ 223.705000] [<c023f0b8>] (pl330_free_chan_resources+0x38/0xb0) from [<c023d4b8>] (dma_chan_put+0x5c/0x60)
[ 223.705000] [<c023d4b8>] (dma_chan_put+0x5c/0x60) from [<c023d4f0>] (dma_release_channel+0x34/0xa4)
[ 223.705000] [<c023d4f0>] (dma_release_channel+0x34/0xa4) from [<c0023dc0>] (samsung_dmadev_release+0x18/0x20)
[ 223.705000] [<c0023dc0>] (samsung_dmadev_release+0x18/0x20) from [<c03e4c10>] (dma_hw_free+0x64/0x70)
[ 223.705000] [<c03e4c10>] (dma_hw_free+0x64/0x70) from [<c03e3c1c>] (soc_pcm_hw_free+0x8c/0xec)
[ 223.705000] [<c03e3c1c>] (soc_pcm_hw_free+0x8c/0xec) from [<c03cf868>] (snd_pcm_release_substream+0x54/0xb8)
[ 223.705000] [<c03cf868>] (snd_pcm_release_substream+0x54/0xb8) from [<c03cf904>] (snd_pcm_release+0x38/0x7c)
[ 223.705000] [<c03cf904>] (snd_pcm_release+0x38/0x7c) from [<c00f2cf4>] (fput+0xc8/0x238)
[ 223.705000] [<c00f2cf4>] (fput+0xc8/0x238) from [<c00eee60>] (filp_close+0x74/0x98)
[ 223.705000] [<c00eee60>] (filp_close+0x74/0x98) from [<c00eef5c>] (sys_close+0xd8/0x10c)
[ 223.705000] [<c00eef5c>] (sys_close+0xd8/0x10c) from [<c000e980>] (ret_fast_syscall+0x0/0x30)
[ 223.880000] BUG: scheduling while atomic: AudioOut_1/2424/0x00000002
[ 223.885000] Modules linked in: ath6kl gator
[ 223.890000] [<c0016664>] (unwind_backtrace+0x0/0x104) from [<c0512280>]...

Read more...

Botao (botao-sun) wrote :

Calendar app always requires new Google account to add an event, even there is already an account, or an account just be added successfully. Observed on:

https://android-build.linaro.org/builds/~linaro-android/vexpress-ics-gcc47-armlt-tracking-open-12.07-release/#build=1

Amit Khare (amit-khare) wrote :

Calendar app always requires new Google account to add an event, even there is already an account, or an account just be added successfully. Observed on:
https://android-build.linaro.org/builds/~linaro-android/panda-ics-gcc47-tilt-tracking-blob/#build=142

Amit Khare (amit-khare) wrote :

Calendar app always requires new Google account to add an event, even there is already an account, or an account just be added successfully. Observed on snowball build:

https://android-build.linaro.org/builds/~linaro-android/snowball-ics-gcc46-igloo-stable-blob/#build=381

Botao (botao-sun) wrote :

For vexpress board, observed same behavior as comment #15 on Android build:

https://android-build.linaro.org/builds/~linaro-android/vexpress-ics-gcc47-armlt-tracking-open/#build=97

Botao (botao-sun) wrote :

For vexpress board, observed same behavior as comment #15 on Linaro Jelly Bean build:

https://android-build.linaro.org/builds/~linaro-android/vexpress-jb-gcc47-armlt-tracking-open/#build=7

Even perform a manually sync after an account added, the Calendar app always requires an account when trying to add an event.

Botao (botao-sun) wrote :

For vexpress A9 with Linaro Jelly Bean image:

https://android-build.linaro.org/builds/~linaro-android/vexpress-jb-gcc47-armlt-tracking-open/#build=16

When setup account in Calendar app, these 2 options need to be selected:

Use secure connection (SSL)
Accept all SSL certificates

Otherwise, a server connection error would be occurred. Also, change value of "Days to sync" to "All".

However, still observed same behavior as comment #15.

Botao (botao-sun) wrote :

For vexpress board, observed same behavior as comment #15 on Linaro Jelly Bean build:

https://android-build.linaro.org/builds/~linaro-android/vexpress-jb-gcc47-armlt-tracking-open-12.08-release/#build=1

Botao (botao-sun) wrote :

Same behaviour observed as comment #15 on vexpress A9 board with Linaro Jelly Bean image:

https://android-build.linaro.org/builds/~linaro-android/vexpress-jb-gcc47-armlt-tracking-open/#build=30

Amit Khare (amit-khare) wrote :

Calendar app always requires new Google account to add an event, even there is already an account, or an account just be added successfully. Observed on:

Also observed on vexpress A9 board with android JB build:
https://android-build.linaro.org/builds/~linaro-android/vexpress-jb-gcc47-armlt-tracking-open/#build=37

Amit Khare (amit-khare) wrote :

Calendar app always requires new Google account to add an event, even there is already an account, or an account just be added successfully. Observed on:

Also observed on vexpress A9 board with android JB build:
https://android-build.linaro.org/builds/~linaro-android/vexpress-jb-gcc47-armlt-tracking-open/#build=42

Botao (botao-sun) wrote :

A new bug dedicated for vexpress A9 Jelly Bean can be found here:

https://bugs.launchpad.net/linaro-android/+bug/1057208

Please update further information on that bug for Google calendar sync issue on vexpress A9 Android image.

Botao (botao-sun) wrote :

This bug will be marked as "Won't Fix" since the sync works well on Microsoft Outlook account.

Changed in linaro-android:
status: New → Won't Fix
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers