Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Movie remakes sharing a title slug run into unique constraint errors #2440

Closed
Berserkir-Wolf opened this issue Aug 15, 2018 · 3 comments
Closed

Comments

@Berserkir-Wolf
Copy link
Contributor

Ombi build Version:

V 3.0.3477

Update Branch:

Open Beta

Media Sever:

Plex

Media Server Version:

1.13.5.5291

Operating System:

Windows Server 2012 R2 Essentials

Ombi Applicable Logs (from /logs/ directory or the Admin page):

2018-08-15 19:26:45.288 +12:00 [Error] StatusCode: Conflict, Reason: Conflict, RequestUri: http://localhost:7878/radarr/api/movie
2018-08-15 19:26:45.290 +12:00 [Error] constraint failed
UNIQUE constraint failed: Movies.TitleSlug
2018-08-15 19:26:45.290 +12:00 [Warning] Tried auto sending movie but failed. Message: "constraint failed
UNIQUE constraint failed: Movies.TitleSlug"

Problem Description:

Adding movies that share the same name/title slug result in a unique constraint error (for example: Annie [1982] and Annie [2014])

Reproduction Steps:

  1. Request Annie (1982)
  2. Request Annie (2014)
  3. Approve Annie (1982)
  4. Approve Annie (1984)

Please include any steps to reproduce the issue, this the request that is causing the problem etc.

@tidusjar
Copy link
Member

This is when sending to Radarr?

@Berserkir-Wolf
Copy link
Contributor Author

Correct.

tidusjar added a commit that referenced this issue Aug 18, 2018
@tidusjar
Copy link
Member

Fixed in develop

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

No branches or pull requests

2 participants