dradis / dradis-ce

Dradis Framework: Collaboration and reporting for IT Security teams
https://dradis.com/ce/
GNU General Public License v2.0
668 stars 190 forks source link

Cancel link on Note Edit page always redirects to Node #585

Closed lifecoderua closed 4 years ago

lifecoderua commented 4 years ago

Steps to reproduce

Expected behavior

Redirect to the Note page;

Actual behavior

Redirect to the Node Properties page; (this is expected for a new Note, but not for an existing one)

System configuration

Dradis version: Dradis Community v3.15.0

Ruby version: 2.4.1

OS version: macOS 10.15.2

brianp commented 4 years ago

Closed by @lifecoderua contribution at #586

I'll note it's still strange to cancel a new note and appear on the node summary page. I think it would make more sense to appear on the Note tab for the node. But this is a bigger deep linking problem we have, which is being looked at elsewhere. So this fix is much appreciated and a better starting place for now.