Author Topic: IMDb AddPersonMovie and AddMoviePerson issue  (Read 368 times)

0 Members and 1 Guest are viewing this topic.

Offline afrocuban

  • Moderator
  • *****
  • Posts: 689
    • View Profile
IMDb AddPersonMovie and AddMoviePerson issue
« on: April 18, 2026, 12:52:50 pm »
When running AddPersonMovie procedure in people view (people script), it overrides what is previously added by AddMoviePerson in movie view (movie script) and in movie view that person is lost then because there is no connection now between the views.


Expected behavior would be when running AddPersonMovie after AddMoviePerson, only to add misssing entries added by AddMoviePerson, so movies in PVD would be green, and not existing in PVD would be red.


Currently, after running people script with AddPersonMovie, all "greens" vanish and the same movie becomes red, but not recognized as existing in database.


Any idea how to start to debug this, or it is PVD bug from the beginning?


Picture 0. After running movie script, director is there
Picture 1: After switching to people view then, "Sterben" is green, as the only entry of that director in my PVD
Picture 2. After running people script "Sterben" as green disapperas, and "Dying" appears as the same movie, but now as red.
Picture 3. Switching back to movie view, Matthias Glasner disappears as the director of "Sterben" and/or "Dying".
« Last Edit: April 18, 2026, 12:58:27 pm by afrocuban »

Offline afrocuban

  • Moderator
  • *****
  • Posts: 689
    • View Profile
Re: IMDb AddPersonMovie and AddMoviePerson issue
« Reply #1 on: April 18, 2026, 12:54:23 pm »
And when I run movie script again and switch to people view, I get green "Sterben" but as a duplicate of "Dying" as can be seen on the picture.


I have no idea how to start to debug this...


It's like AddMoviePerson procedure doesn't check for existing URLs of the movies in Filmography...


Also, it looks like AddPersonMovie updates person's record (which is proper and expected?), while AddMoviePerson completely replaces person's filmography record, which shouldn't be the case?
« Last Edit: April 18, 2026, 01:01:12 pm by afrocuban »