Uploaded image for project: 'CMS'
  1. CMS
  2. CMS-2728

Error while creating new tag without changing the name

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • 3.1.2, 3.2.1
    • None
    • None
    • None

      How to reproduce

      • Open tag tool
      • Select a tag category
      • Click to add a tag
      • Click on OK button without changing the name

      Behavior
      An error occurred

      Child name cannot be null, empty or absolute
      
      org.ametys.plugins.repository.AmetysRepositoryException: Child name cannot be null, empty or absolute
          at org.ametys.plugins.repository.jcr.TraversableAmetysObjectHelper.hasChild(TraversableAmetysObjectHelper.java:262)
          at org.ametys.plugins.repository.jcr.DefaultTraversableAmetysObjectFactory.hasChild(DefaultTraversableAmetysObjectFactory.java:76)
          at org.ametys.plugins.repository.jcr.DefaultTraversableAmetysObject.hasChild(DefaultTraversableAmetysObject.java:50)
          at org.ametys.web.tags.actions.AddTagAction.act(AddTagAction.java:71) 
      

      Excepted behavior

      • The tag must be created with "New" name or the dialog box should not be validated since tag's name was not edited

            Unassigned Unassigned
            laurence Laurence Aumeunier
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: