Uploaded image for project: 'Workspaces'
  1. Workspaces
  2. WORKSPACES-524

Errors when editing a projects from administration

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.4.0, 2.0.0
    • Fix Version/s: 1.4.0, 2.0.0
    • Component/s: None
    • Labels:
      None

      Description

      When setting "null" profile.

      Unable to retrieve the type of the data 'defaultProfile'. No compatible type have been found.
      org.ametys.runtime.model.exception.UnknownTypeException: Unable to retrieve the type of the data 'defaultProfile'. No compatible type have been found. 
          at org.ametys.plugins.repository.data.holder.impl.DefaultModifiableModelLessDataHolder.setValue(DefaultModifiableModelLessDataHolder.java:226) 
          at org.ametys.plugins.repository.data.ametysobject.ModifiableModelLessDataAwareAmetysObject.setValue(ModifiableModelLessDataAwareAmetysObject.java:59) 
          at org.ametys.plugins.workspaces.project.objects.Project.setDefaultProfile(Project.java:501) 
          at org.ametys.plugins.workspaces.project.ProjectManager.editProject(ProjectManager.java:936) 
          at org.ametys.plugins.workspaces.project.ProjectManager.editProject(ProjectManager.java:901) 
      

      Other error the description empty and keep empty, we try to remove an unexisting value

      No data found for 'ametys:description' in repository data at path '/ametys:root/ametys:plugins/workspaces/projects/categorie-1/projet-c'.
      org.ametys.plugins.repository.data.UnknownDataException: No data found for 'ametys:description' in repository data at path '/ametys:root/ametys:plugins/workspaces/projects/categorie-1/projet-c'. 
          at org.ametys.plugins.repository.data.repositorydata.impl.JCRRepositoryData.removeValue(JCRRepositoryData.java:775) 
          at org.ametys.plugins.repository.data.repositorydata.ModifiableRepositoryData.removeValue(ModifiableRepositoryData.java:260) 
          at org.ametys.plugins.repository.data.holder.impl.DefaultModifiableModelLessDataHolder.removeValue(DefaultModifiableModelLessDataHolder.java:293) 
          at org.ametys.plugins.repository.data.ametysobject.ModifiableModelLessDataAwareAmetysObject.removeValue(ModifiableModelLessDataAwareAmetysObject.java:69) 
          at org.ametys.plugins.workspaces.project.objects.Project.removeDescription(Project.java:190) 
          at org.ametys.plugins.workspaces.project.ProjectManager.editProject(ProjectManager.java:923) 
          at org.ametys.plugins.workspaces.project.ProjectManager.editProject(ProjectManager.java:901) 
      

        Attachments

          Activity

            People

            • Assignee:
              cbayle Caroline Bayle
              Reporter:
              laurence Laurence Aumeunier
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: