Skip to content
This repository has been archived by the owner on May 20, 2024. It is now read-only.

MatchError on Application.scala:16 #1

Closed
AhmedSoliman opened this issue Dec 17, 2013 · 1 comment · Fixed by #2
Closed

MatchError on Application.scala:16 #1

AhmedSoliman opened this issue Dec 17, 2013 · 1 comment · Fixed by #2

Comments

@AhmedSoliman
Copy link

I just forked the code and tried it out locally, when I click on the index page on certain links, I get this error

 [MatchError: (DocumentLink(UkL0gMuvzYUANCpL,product,List(),-,true),None) (of class scala.Tuple2)]

Why is that happening?

An example is the document at http://localhost:9000/documents/UkL0gMuvzYUANCps/the-end-of-a-chapter-the-beginning-of-a-new-one

dohzya added a commit to dohzya/scala-play-starter that referenced this issue Dec 20, 2013
@guillaumebort
Copy link
Contributor

Thanks, look at the related pull request, it solves the problem. Broken links (links to unpublished documents) were not handled properly.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants