Uploaded image for project: 'Zeppelin'
  1. Zeppelin
  2. ZEPPELIN-4506

Check for duplicate note on rename of a notebook

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 0.9.0
    • 0.9.1, 0.10.0
    • NotebookRepo
    • None

    Description

      Currently on a rename of a note, zeppelin allows to create multiple notebooks with same name but with different note ids. This is causing couple of issues such as loading the correct notebook based on the id, but updating the wrong notebook based on note name. 

      There's couple of inconsistencies on how notebook is referenced for ex. in some places note is referenced by name while other places its referenced by id. So, while renaming two existing notes to same name makes it dangerous to be in the unknown of which note will contain which changes. 

      We should check for duplicates before allowing user to rename the note to same name as an existing note. 

      It would be nice to add a similar check as create a new note `addOrUpdateNoteNode(note, true);` which doesn't allow user to create a note with same name as an existing note. 

      Attachments

        Activity

          People

            dannycranmer Danny Cranmer
            amandeep.kaur Amandeep
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0h
                0h
                Logged:
                Time Spent - 3h
                3h