Photos 1.1: album hierarchies can't be traversed

Originator:iospiritongt
Number:rdar://21811079 Date Originated:
Status:Open Resolved:
Product:iLife Product Version:Photos 1.1
Classification:Serious Reproducible:Always
 
Summary:
In Photos, containers only have a parent property, but no children property. It is possible to fetch all top level album objects, but it is not possible to traverse the tree and discover the child albums.

Steps to Reproduce:
1. Create a hierarchy of albums in Photos, with one album named "Top" at the top level and "Child" in a folder
2. Run this script into Script Editor:
tell application "Photos"
	name of containers
end tell

Expected Results:
Script Editor shows this result:
{"Top", "Child"}

Actual Results:
Script Editor shows this result:
{"Top"}

Regression:
This issue always occurs.

Notes:
There are no workarounds. The best solution would be if containers would get a new "children" property that allowed traversal. As it is, our users are locked out from the majority of their albums - if you take into account that all iPhoto events are imported in a folder called "iPhoto events".

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!