Uploaded image for project: 'Ibexa IBX'
  1. Ibexa IBX
  2. IBX-6494

When editing and translating at the same time, the untranslatable field reverts to the previous version

    XMLWordPrintable

Details

    • Yes

    Description

      Steps to reproduce

      1. Install Ibexa DXP v3 or v4.5
      2. Create a content type with ezstring and ezimage both required and ezimage filed should not be translatable
      -
          type: content_type
          mode: create
          metadata:
              identifier: foo
              mainTranslation: eng-GB
              creatorId: 14
              creationDate: '2023-09-04T13:33:13+00:00'
              remoteId: b9d46790ce464b662882a7365e495fde
              urlAliasSchema: ''
              nameSchema: '<field_64f5dca3cb511>'
              container: false
              defaultAlwaysAvailable: true
              defaultSortField: 2
              defaultSortOrder: 0
              contentTypeGroups:
                  - Content
              translations:
                  eng-GB:
                      name: foo
                      description: ''
          fields:
              -
                  identifier: field_64f5dca3cb511
                  type: ezstring
                  position: 0
                  translations:
                      eng-GB:
                          name: 'New field type'
                          description: ''
                  required: true
                  searchable: true
                  infoCollector: false
                  translatable: true
                  category: content
                  defaultValue: null
                  fieldSettings: {  }
                  validatorConfiguration:
                      StringLengthValidator:
                          maxStringLength: null
                          minStringLength: null
              -
                  identifier: field_64f5dca7418b3
                  type: ezimage
                  position: 1
                  translations:
                      eng-GB:
                          name: 'New field type'
                          description: ''
                  required: true
                  searchable: false
                  infoCollector: false
                  translatable: false
                  category: content
                  defaultValue: null
                  fieldSettings: {  }
                  validatorConfiguration:
                      FileSizeValidator:
                          maxFileSize: null
                      AlternativeTextValidator:
                          required: false
                  thumbnail: false
          references:
              -
                  name: ref__foo__content_type_id
                  type: content_type_id 
        
      1. Create a second language
      2. Create content using the created Content Type
      3. Open created content in a new tab (you should have opened two tabs on this same content)
      4. In the first tab edit content
      5. In the second tab translate content
      6. Change the image in the first tab and publish
      7. Change the text in the second tab and publish
      8. Check the image in the content

       

      Result

      The image returned to version 1 but the text changed correctly

       

      Expected result

      The image should not revert to version 1

       

      Designs

        Attachments

          Activity

            People

              Unassigned Unassigned
              mateusz.debinski@ibexa.co Mateusz Dębiński
              Votes:
              1 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: