Error when saving album settings from the settings tab #102
Метки
Нет этапа
Нет назначенных лиц
1 участников
Уведомления
Срок выполнения
Срок выполнения не установлен.
Зависимости
Зависимостей нет.
Ссылка: aheathershaw/blue-twilight#102
Загрузка…
Ссылка в новой задаче
Описание отсутствует.
Удалить ветку «%!s(<nil>)»
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
When you edit an album’s settings within the Settings tab of the album itself, you get an error.
Changing the album through the album’s edit screen works fine.
This is due to the validation added in #58, allowing albums with the same name to exist under different parents.
The settings tab does not have the “parent” field that the Edit screen does, so it causes an undefined index trying to access the field’s value.
The validation needs to use the album’s current parent when this field is not present in the data.
This is also present in Cloud, needs fixing in 2.2.0 and merging across.