Tuleap 16 est là ! Assistez à l'événement virtuel le 17 octobre à 10h30. Inscrivez-vous ici !

    •  
      request #27916 Console error when updating an item which is not a file
    Infos
    #27916
    Clarck Robinson (robinsoc)
    2022-08-05 14:40
    2022-08-04 16:08
    29479
    Details
    Console error when updating an item which is not a file

    Console error when updating an item which is not a file

    [Vue warn]: Error in render: "TypeError: props.item.file_properties is null"
    
    found in
    
    ---> <PreviewFilenameNewVersion> at scripts/document/components/Folder/DropDown/NewVersion/PreviewFilenameNewVersion.vue
           <ItemUpdateProperties> at scripts/document/components/Folder/DropDown/NewVersion/PropertiesForUpdate/ItemUpdateProperties.vue
             <CreateNewVersionEmbeddedFileModal> at scripts/document/components/Folder/DropDown/NewVersion/CreateNewVersionEmbeddedFileModal.vue
               <FolderHeader> at scripts/document/components/Folder/FolderHeader.vue
                 <FolderView> at scripts/document/components/Folder/FolderView.vue
                   <FolderContainer> at scripts/document/components/Folder/FolderContainer.vue
                     <ChildFolder> at scripts/document/components/Folder/ChildFolder.vue
                       <Root> vue.runtime.esm.js:4560
    TypeError: props.item.file_properties is null
        loader 2.19.0_webpack@5.72.0/node_modules/esbuild-loader/dist/index.js??clonedRuleSet-1.use[0]!../../node_modules/.pnpm/vue-loader@15.10.0_m4bogsqreizgibavgvfti7jzja/node_modules/vue-loader/lib/index.js??vue-loader-options!./scripts/document/components/Folder/DropDown/NewVersion/PreviewFilenameNewVersion.vue?vue&type=script&setup=true&lang=ts&/setup/preview<@https://tuleap-web.tuleap-aio-dev.docker/assets/document/scripts_document_components_Folder_DropDown_NewVersion_PropertiesForUpdate_ItemUpdateProperties_vue-60c015331f009449b40f.js:84
        VueJS 2
    
    Doc/Documentation manager
    development
    Empty
    • [ ] enhancement
    • [ ] internal improvement
    Empty
    Stage
    Clarck Robinson (robinsoc)
    Closed
    2022-08-05
    Attachments
    Empty
    References

    Follow-ups