Trails

Trails is not using success-cancel-refresh actions listeners in its ObjectForm

Details

  • Type: Bug Bug
  • Status: Closed Closed
  • Priority: Major Major
  • Resolution: Fixed
  • Affects Version/s: 1.0.0
  • Fix Version/s: 1.1.0
  • Component/s: None
  • Labels:
    None
  • Number of attachments :
    0

Description

This can cause some issues with validation, for instance the "cancel" button is causing a tapestry validation in the server.
To test it you can edit an object from a child collection, fill the form with invalid values and then hit cancel. the error messages will appear in the parent page.

Issue Links

Activity

Hide
Alejandro Scandroli added a comment -

It has been fixed since the tapestry upgrade.
Now we are using the submitType "cancel" value to avoid validation in the server when the user hits the cancel button.
But we can't use "success" because we have more than one success target (Apply & Save)

Show
Alejandro Scandroli added a comment - It has been fixed since the tapestry upgrade. Now we are using the submitType "cancel" value to avoid validation in the server when the user hits the cancel button. But we can't use "success" because we have more than one success target (Apply & Save)

People

Vote (0)
Watch (0)

Dates

  • Created:
    Updated:
    Resolved: