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

When deleting a content type the error messages are not explicit

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • 4.5.0
    • 4.5.0
    • None
    • None
    • 4.5 RC2

      in the bo on the page display:

      org.ametys.runtime.model.exception.UndefinedItemPathException: Unable to retrieve the value at path 'title'. There is no such item defined by the model.
      at org.ametys.plugins.repository.data.holder.impl.DefaultModelAwareDataHolder._getValue(DefaultModelAwareDataHolder.java:223)
      at org.ametys.plugins.repository.data.holder.impl.DefaultModelAwareDataHolder.getValue(DefaultModelAwareDataHolder.java:205)
      at org.ametys.plugins.repository.data.ametysobject.ModelAwareDataAwareAmetysObject.getValue(ModelAwareDataAwareAmetysObject.java:109)
      at org.ametys.plugins.repository.data.holder.ModelAwareDataHolder.getValue(ModelAwareDataHolder.java:200)
      at org.ametys.plugins.userdirectory.UserDirectoryPageHandler.getTransformedClassificationValue(UserDirectoryPageHandler.java:302)
      at org.ametys.plugins.userdirectory.UserDirectoryPageHandler._initializeCaches(UserDirectoryPageHandler.java:400)
      at org.ametys.plugins.userdirectory.UserDirectoryPageHandler.getTransitionalPagesName(UserDirectoryPageHandler.java:367)
      at org.ametys.plugins.userdirectory.page.VirtualUserDirectoryPageFactory.getChildren(VirtualUserDirectoryPageFactory.java:109)

      In _admin : 

      java.lang.NullPointerException
      at org.ametys.plugins.contentio.synchronize.SynchronizableContentsCollectionDAO.getSynchronizableContentsCollectionAsJson(SynchronizableContentsCollectionDAO.java:207)
      at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195)
      at java.base/java.util.ArrayList$ArrayListSpliterator.forEachRemaining(ArrayList.java:1654)
      at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:484)
      at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474)
      at java.base/java.util.stream.ReduceOps$ReduceOp.evaluateSequential(ReduceOps.java:913)
      at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234)
      at java.base/java.util.stream.ReferencePipeline.collect(ReferencePipeline.java:578)
      at org.ametys.plugins.contentio.synchronize.GetSynchronizableContentsCollectionsAction.act(GetSynchronizableContentsCollectionsAction.java:54)
      at ...

            lbouchet Loïc Bouchet
            lperier Laurence Perier
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: