Create federation in Workbench doesn't prevent recursive federation definitions

Description

To reproduce:

  1. Create

  2. Select Federation Store

  3. Enter the name of an existing repository ID into ID field

  4. Next

  5. Select the existing ID entered above as one of the members

  6. Create

  7. Attempt to explore/query the new federation repository

  8. Marvel at a stack trace that starts something like this:

javax.servlet.ServletException: org.openrdf.repository.RepositoryException: org.springframework.web.util.NestedServletException: Handler processing failed; nested exception is java.lang.StackOverflowError

Fix should prevent the user from doing this.

Environment

None

Status

Assignee

Jeen Broekstra

Reporter

Dale W. Visser

Labels

None

Components

Fix versions

Affects versions

Priority

Major
Configure