Edited alarm cannot be saved if any point clock app loses focus
Bug #1487789 reported by
Nekhelesh Ramananthan
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Ubuntu Clock App |
Fix Released
|
Critical
|
Nekhelesh Ramananthan |
Bug Description
Steps to reproduce bug:
1. Edit an alarm
2. Switch apps or open the indicator or anything to make clock app lose active focus.
3. Press the save header button to save the alarm
What happens:
Pressing the save button does nothing
What is expected:
Edited alarm is saved correctly
Log Error: L103 EditAlarmPage: TypeError: Cannot assign to null [1]
What happens is that the "tempAlarm" variable becomes undefined after content-hub is used to import a new custom sound. As a result, the line tempAlarm.message = _alarm.message naturally fails [2]
Related branches
lp:~nik90/ubuntu-clock-app/fix-invalid-alarm-model
- Bartosz Kosiorek: Approve
- Ubuntu Phone Apps Jenkins Bot: Approve (continuous-integration)
-
Diff: 89 lines (+38/-1)4 files modifiedapp/alarm/AlarmPage.qml (+2/-0)
app/ubuntu-clock-app.qml (+5/-1)
debian/changelog (+2/-0)
tests/manual/2014.com.ubuntu.clock:clock-tests/jobs/alarms.pxu (+29/-0)
Changed in ubuntu-clock-app: | |
status: | Triaged → In Progress |
Changed in ubuntu-clock-app: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
Currently investigating with Kenvandine as to why the tempAlarm variable becomes undefined after using content-hub. Will update bug report with findings.