Uploaded image for project: 'XWiki Platform'
  1. XWiki Platform
  2. XWIKI-11525

Unable to swap the names of two (new or existing) fields in Apps Within Minutes

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • Major
    • None
    • 6.3
    • App Within Minutes
    • None
    • Server on CentOS, with Tomcat 7 and Java 7. Chrome client used on Win7 Pro 64bits.
    • Unknown

    Description

      While creating an application with "Apps Within Minutes", at the form creation page, if you try to add two date field on your form and verifying that identifiers of the two dates are different (say 'date1' and 'date' for example), clicking the "Next step" button leads to the display of a raw error message saying : "The class has two field that have the same name: date1".

      If you try to get back to the previous page every modifications have been lost.

      If you try to manually set different names on those date fields, this leads to the same error.

      Reproduction steps:

      • create an application with two fields of any kind F1 and F2
      • edit the fields and invert their names
      • click on "next step"

      expected

      The next step of the AWM wizard is proposed to the user

      actual

      "The class has two fields with the same name: shortText1" is shown to the user.
      No additional error in the consoles (client side and server side)

      Attachments

        Activity

          People

            Unassigned Unassigned
            hcross Hoani CROSS
            Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: