GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — ERD parent_child relation issue · Issue #8389 · pgadmin-org/pgadmin4

ERD parent_child relation issue #8389

New issue
Copy link
New issue
Copy link
Closed
Closed
ERD parent_child relation issue#8389
Copy link
Assignees
RohitBhati8269
Labels
Bug
Milestone
9.1

Description

@RajabSakalaki
RajabSakalaki
opened on Jan 22, 2025
Issue body actions

Please note that security bugs or issues should be reported to [email protected].

the ERD tool fail to open a file once there is a relation parent_child in the same table1(pk , name_, parent_id)
if the parent_id reference the same table table1(pk) it fail

A clear and concise description of what the bug is.

**To Reproduce**

create a table as above and foreign key

Error message

tmp.json

still loading.....

Screenshots

If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):

  • OS: [e.g. Windows 10
  • Version: 22H2
  • Mode: Desktop
  • Package type: Python

Activity

  1. RajabSakalaki
    added
    Bug
    on Jan 22, 2025
  2. akshay-joshi
    added this to Not Refinedon Jan 22, 2025
  3. akshay-joshi
    added
    EDB Sprint 186
    on Jan 24, 2025
  4. akshay-joshi
    added this to Ready for Sprint Bugsand Current Sprint (213) and removed this from Not Refinedand Ready for Sprint Bugson Jan 24, 2025
  5. akshay-joshi
    moved this to 🆕 New in Current Sprint (213)on Jan 29, 2025
  6. akshay-joshi
    assigned
    pravesh-sharma
    on Jan 29, 2025
  7. pravesh-sharma
    moved this from 🆕 New to 🏗 In Progress in Current Sprint (213)on Feb 7, 2025
  8. pms967 commented on Feb 7, 2025

    @pms967
    pms967
    on Feb 7, 2025
    More actions

    +1, Confirmed.

    I removed from the DB the only self-referring relationship (FK to PK of the same table) I had added on the project, re-generated the ERD, saved it to a .pgerd file, and now the new file can be loaded without problems (*).

    Interestingly enough, if I remove the relationship ONLY on the ERD (but not on the actual DB) and save the modified .pgerd file, the problem is still there.

    (*) The problem with saving images #8424 remains, though. That's likely unrelated.

  9. akshay-joshi
    added
    EDB Sprint 187
    and removed
    EDB Sprint 186
    on Feb 12, 2025
  10. pravesh-sharma
    added 2 commits that reference this issue on Feb 17, 2025

    Fixed an issue where the ERD tool would fail to open a saved file if …

    062c29d

    Fixed an issue where the ERD tool would fail to open a saved file if …

    2c4ccd0
  11. adityatoshniwal
    added a commit that references this issue on Feb 17, 2025

    Fixed an issue where the ERD tool fails to open a saved file containi…

    6dd91c8
  12. pravesh-sharma
    moved this from 🏗 In Progress to In Testing in Current Sprint (213)on Feb 17, 2025
  13. pravesh-sharma
    removed their assignment
    on Feb 17, 2025
  14. pravesh-sharma
    added this to the 9.1 milestone on Feb 17, 2025
  15. akshay-joshi
    assigned
    anilsahoo20
    and
    RohitBhati8269
    and unassigned
    anilsahoo20
    on Feb 25, 2025
  16. RohitBhati8269 commented on Feb 25, 2025

    @RohitBhati8269
    RohitBhati8269
    on Feb 25, 2025
    Contributor
    More actions

    Tested and verified on snapshot build: https://www.postgresql.org/ftp/pgadmin/pgadmin4/snapshots/2025-02-25/
    Package: wheel
    Environment: macOs Sequoia 15.0.1

  17. RohitBhati8269
    closed this as completedon Feb 25, 2025
  18. RohitBhati8269
    moved this from In Testing to ✅ Done in Current Sprint (213)on Feb 25, 2025
  19. akshay-joshi
    removed this from Current Sprint (213)on Feb 26, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

  • @RohitBhati8269
    RohitBhati8269

Labels

Bug

Type

No type

Projects

No projects

    Milestone

    • 9.1

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

    You are visitor 01402775 — GeezerVison does not store the pages you look up.
    Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.