Bug 953311

Summary: F19 Alpha RC 2: Anaconda enables selection of invalid timezone
Product: [Fedora] Fedora Reporter: Máirín Duffy <duffy>
Component: anacondaAssignee: Vratislav Podzimek <vpodzime>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 19CC: g.kaviyarasu, jonathan, mkolman, sbueno, vanmeeuwen+fedora
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: anaconda-19.24-1.fc19 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-05-22 03:17:20 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Máirín Duffy 2013-04-17 22:23:31 UTC
Description of problem:

In F19 Alpha RC2, I noticed in the timezone spoke that it's possible to select an invalid timezone.

To reproduce:

- Select a region from the left dropdown. I selected 'US'
- Select a city from the right dropdown. I selected 'Eastern'
- Select a different region from the left dropdown. I selected 'America'
- Hit done to leave the spoke

The timezone spoke has an error that it has an invalid timezone.

I think that when you change the region, the city dropdown should update to show the default city for that region. That would prevent this error from being possible.

Comment 1 Vratislav Podzimek 2013-04-23 08:19:00 UTC
(In reply to comment #0)
> Description of problem:
> 
> In F19 Alpha RC2, I noticed in the timezone spoke that it's possible to
> select an invalid timezone.
> 
> To reproduce:
> 
> - Select a region from the left dropdown. I selected 'US'
> - Select a city from the right dropdown. I selected 'Eastern'
> - Select a different region from the left dropdown. I selected 'America'
> - Hit done to leave the spoke
> 
> The timezone spoke has an error that it has an invalid timezone.
> 
> I think that when you change the region, the city dropdown should update to
> show the default city for that region. That would prevent this error from
> being possible.
That was the intention that the code should reflect, there must be some corner case I didn't revealed. I'll have a look at it, thanks for the report.

Comment 2 Vratislav Podzimek 2013-04-23 08:36:34 UTC
Okay, so the corner case are the US/* timezones that are the synonyms for some of the America/* timezones.

Comment 3 Vratislav Podzimek 2013-04-29 13:54:16 UTC
Patch posted to anaconda-patches.

Comment 4 Fedora Update System 2013-05-03 21:04:51 UTC
anaconda-19.24-1.fc19 has been submitted as an update for Fedora 19.
https://admin.fedoraproject.org/updates/anaconda-19.24-1.fc19

Comment 5 Fedora Update System 2013-05-04 18:51:37 UTC
Package anaconda-19.24-1.fc19, python-blivet-0.12-1.fc19:
* should fix your issue,
* was pushed to the Fedora 19 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing anaconda-19.24-1.fc19 python-blivet-0.12-1.fc19'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2013-7403/python-blivet-0.12-1.fc19,anaconda-19.24-1.fc19
then log in and leave karma (feedback).

Comment 6 Jens Petersen 2013-05-16 04:47:14 UTC
19.24 is now in the stable repo.

Comment 7 Fedora Update System 2013-05-22 03:17:20 UTC
anaconda-19.24-1.fc19, python-blivet-0.12-1.fc19 has been pushed to the Fedora 19 stable repository.  If problems still persist, please make note of it in this bug report.