Details
-
Bug
-
Resolution: Unresolved
-
Minor
-
None
-
13.10.5
-
None
-
Unknown
-
Description
Steps to reproduce:
- Create a new class (e.g. MODELES.Fichier.Code.FichierClass ) with a property filename (filename: String)
- Use the attachment selector inside its sheet:
{{attachmentSelector classname="MODELES.Fichier.Code.FichierClass" property="filename" filter="pdf,odt,doc,ods,xls,otp,ott,ots,odp,docx,ppt,ttf,cfg,pptx,zip,xlsx" link="true" versionSummary="true" /}}
- Create a test page with the object "MODELES.Fichier.Code.FichierClass"
- Edit the test page (e.g. http://localhost:8080/xwiki/bin/edit/testattach/WebHome?MODELES.Fichier.Code.FichierClass_0_filename=degetica-tickets.pdf&comment=Mettre%20%C3%A0%20jour%20le%20champ%20MODELES.Fichier.Code.FichierClass_0_filename&form_token=eAXDjcf80yMUU1fxQCpazg)
- Select an attachment without adding any version summary or add some text
Result:
- You are redirected to edit mode where the version summary is filled in with a different default value (e.g. "Mettre à jour le champ MODELES.Fichier.Code.FichierClass_0_filename")
Expected result
- the selected value for version summary is not ignored