sartography / spiff-arena

SpiffWorkflow is a software development platform for building, running, and monitoring executable diagrams
https://www.spiffworkflow.org/
GNU Lesser General Public License v2.1
66 stars 43 forks source link

Form Builder Bugs #618

Open calexh-sar opened 10 months ago

calexh-sar commented 10 months ago

The following bugs were documented by Madhurya (there is a duplication of this one that was filed, in case anything else is over there: #772):

  1. When I try to create files in "Edit JSON Schema" nothing happens. When I close that window and go to the Process Model page I can see the files created. This does not happen always, out of about 10 times this happened about 3 times. (possibly addressed by https://github.com/sartography/spiff-arena/pull/915)
  2. When loading multiple components from the "Examples" the created form title and description changes to the last added component related description. If the user has already modified them, those get replaced.
  3. Dropdown list example has an issue. When added, it shows an error building form.* Image
  4. When running the process get the error: “Error building form. Attempting to create a selection list with options from variable 'fruits' but it doesn't exist in the Task Data.”* Image
  5. When set fruits = ["apple", "banana", "pineapple"] in the prescript and try to run it again get the error “Something Went Wrong.”* Image
  6. When launching the editor to edit the Nested form, see this error.** Image Image Image Process Model: https://dev.app.spiff.status.im/process-models/misc:qa:forms:test-nested-form-1 Update : it happens for other items also, when loading the form editor again. https://dev.app.spiff.status.im/process-models/misc:qa:forms:test-text-area-1 https://dev.app.spiff.status.im/process-models/misc:qa:forms:test-checkbox-1
  7. When you add the Auto Complete example, it looks like it is adding a city field with a date type. So a validation error occurs when running.*** Image
  8. When the “No” option is selected in a “Required” Radio button, it gives an error saying “Some fields are invalid” (Same issue Dinithi mentioned in demo site) -- This is fixed now Process Model: https://dev.app.spiff.status.im/process-models/misc:qa:radio-button-test-1
  9. This is not a bug, just mentioning the user experience about this and we might not need to do anything related to this. When building a form by loading components from examples, If I make a mistake, I can't reset or cancel. Since we have the auto save feature, closing and opening the editor doesn't help either.
  10. I think it’ll be good to add an example for radio buttons also under ‘Examples’
  11. In this form, I have set default values to all the fields. https://dev.app.spiff.status.im/process-models/misc:qa:send-discord-message. I see them in the form builder preview. But when run the form I don’t see the default values. Image Image Image
  12. Inform the user if there is a field in the Ui Settings that is not also in the Json Schema file (this is often due to a typo that can be hard to find).

* Process Model for 3, 4 & 5: https://dev.app.spiff.status.im/process-models/misc:qa:forms:test-dropdown-list-1 ** Process Models for 6: https://dev.app.spiff.status.im/process-models/misc:qa:forms:test-nested-form-1, https://dev.app.spiff.status.im/process-models/misc:qa:forms:test-text-area-1 and https://dev.app.spiff.status.im/process-models/misc:qa:forms:test-checkbox-1 *** Process model for 7: https://dev.app.spiff.status.im/process-models/misc:qa:forms:test-auto-complete-1

madhurrya commented 7 months ago
  1. Fixed. But It takes a bit of time to show the next page, after clicking the "Create files" button. User might think the button was not clicked. 

  2. Not Fixed. Still the title and description changes.

  3. Fixed. No errors in form builder.

  4. When running the process still get the error

  5. Still the same error when I try to set fruits and run (this should be autoset in the example?)

  6. Fixed

  7. Not fixed, Still the text says "Select a city" and the input shows as Date.

  8. Fixed

  9. Just a Suggestion

  10. Not Done yet (Suggestion)

  11. Not Fixed.

  12. Not fixed.

madhurrya commented 1 month ago

2 Not fixed

~5 Not fixed https://mysql.spiffcrm.com/i/187~

7 When I add Auto complete example and start typing in the Select City field, it gives an error saying your account is suspended image 9, 10, 11, 12 No done/fixed