diff --git a/CHANGELOG.md b/CHANGELOG.md index e5b170fca..6ef82d9a3 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,9 +5,10 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](http://keepachangelog.com/) and this project adheres to [Semantic Versioning](http://semver.org/). -## [Unreleased] +## Unreleased ### Fixed +- Fixed `NoSuchElementException` in spaces listing page when user is not defined. The error occurred when calling `user.get.id` on an undefined user in the spaces ownership dropdown. Added proper user existence checks in `listSpaces.scala.html` and `miniList.scala.html` templates. - Removed refrences to repo.typesafe.com from sbt-launch.jar and build.scala ### Removed diff --git a/app/views/spaces/listSpaces.scala.html b/app/views/spaces/listSpaces.scala.html index 9f62efefb..5c3bd3e22 100644 --- a/app/views/spaces/listSpaces.scala.html +++ b/app/views/spaces/listSpaces.scala.html @@ -47,13 +47,15 @@

@title

case (_, _) => {} } } -
- -
+ @if(user.isDefined) { +
+ +
+ }