outwiker icon indicating copy to clipboard operation
outwiker copied to clipboard

Дублирование заметок, отличающихся регистром в имени

Open Jenyay opened this issue 7 years ago • 0 comments

Ошибка под Linux. Если у одного родителя есть заметки с title, отличающимися только регистром (например, "Имя Заметки" и "имя заметки"), то возникнет ошибка открытия заметок.

Traceback (most recent call last):
  File "/home/jenyay/projects/soft/outwiker/src/outwiker/gui/mainwndcontroller.py", line 332, in __onRecent
    outwiker.core.commands.openWiki (self._recentId[event.Id])
  File "/home/jenyay/projects/soft/outwiker/src/outwiker/core/commands.py", line 202, in openWiki
    Application.wikiroot = result
  File "/home/jenyay/projects/soft/outwiker/src/outwiker/core/application.py", line 312, in wikiroot
    self.__bindWikiEvents(self.__wikiroot)
  File "/home/jenyay/projects/soft/outwiker/src/outwiker/core/application.py", line 335, in __bindWikiEvents
    wiki.onPageSelect += self.onPageSelect
AttributeError: 'DublicateTitle' object has no attribute 'onPageSelect'
Traceback (most recent call last):
  File "/home/jenyay/projects/soft/outwiker/src/outwiker/gui/autosavetimer.py", line 53, in __onTick
    self.__application.onForceSave()
  File "/home/jenyay/projects/soft/outwiker/src/outwiker/core/event.py", line 54, in __call__
    handler[0](*args, **kwargs)
  File "/home/jenyay/projects/soft/outwiker/src/outwiker/gui/currentpagepanel.py", line 251, in __onForceSave
    self.Save()
  File "/home/jenyay/projects/soft/outwiker/src/outwiker/gui/currentpagepanel.py", line 222, in Save
    if not pageExists(Application.selectedPage.root):
  File "/home/jenyay/projects/soft/outwiker/src/outwiker/core/application.py", line 369, in selectedPage
    return self.__wikiroot.selectedPage
AttributeError: 'DublicateTitle' object has no attribute 'selectedPage'
Traceback (most recent call last):
  File "runoutwiker.py", line 98, in _onActivate
    Application.onForceSave()
  File "/home/jenyay/projects/soft/outwiker/src/outwiker/core/event.py", line 54, in __call__
    handler[0](*args, **kwargs)
  File "/home/jenyay/projects/soft/outwiker/src/outwiker/gui/currentpagepanel.py", line 251, in __onForceSave
    self.Save()
  File "/home/jenyay/projects/soft/outwiker/src/outwiker/gui/currentpagepanel.py", line 222, in Save
    if not pageExists(Application.selectedPage.root):
  File "/home/jenyay/projects/soft/outwiker/src/outwiker/core/application.py", line 369, in selectedPage
    return self.__wikiroot.selectedPage
AttributeError: 'DublicateTitle' object has no attribute 'selectedPage'

Jenyay avatar Aug 31 '17 19:08 Jenyay