Deployment Target dropdown broken for Mac Developer Library
| Originator: | alistairmcmillan75 | ||
| Number: | rdar://21258505 | Date Originated: | |
| Status: | Open | Resolved: | |
| Product: | Documentation | Product Version: | |
| Classification: | Serious Bug | Reproducible: | Always |
Summary:
If you try to use the Deployment Target dropdown under Options in the top right corner of any class reference page it shows the wrong information for any version of OSX 10.10.
Steps to Reproduce:
1) Open https://developer.apple.com/library/mac/documentation/Cocoa/Reference/ApplicationKit/Classes/NSImage_Class/
2) Click on Options in the top-right corner
3) Click on the Deployment Target dropdown menu and select "OSX 10.10"
Expected Results:
The page should be updated to show changes relevant to OSX 10.10.
Actual Results:
The page is updated to show changes relevant to OSX 10.1.
Version:
https://developer.apple.com/library/mac/documentation/Cocoa/Reference/ApplicationKit/Classes/NSImage_Class/ is the example I've given but it misbehaves with any Mac Developer Library class reference page I've tried. NSStream, NSMenu, etc.
Notes:
The problem is in the OPTION tags. The values for any version of OSX 10.10 are set to "10.1" when they should be set to at least "10.10".
<menuitem>
<span>Deployment Target:</span>
<select id="deployment_target">
<option value="998">Latest</option>
<option data-platform="OS X" value="10.1">OS X 10.10.3</option>
<option data-platform="OS X" value="10.1">OS X 10.10.2</option>
<option data-platform="OS X" value="10.1">OS X 10.10</option>
<option data-platform="OS X" value="10.9">OS X 10.9</option>
<option data-platform="OS X" value="10.8">OS X 10.8</option>
...
<option data-platform="OS X" value="10.2">OS X 10.2</option>
<option data-platform="OS X" value="10.1">OS X 10.1</option>
<option data-platform="OS X" value="10.0">OS X 10.0</option>
</select>
</menuitem>
Configuration:
Tested in Safari/OSX and Chrome/Win7. Same behaviour.
Attachments:
Comments
Please note: Reports posted here will not necessarily be seen by Apple. All problems should be submitted at bugreport.apple.com before they are posted here. Please only post information for Radars that you have filed yourself, and please do not include Apple confidential information in your posts. Thank you!