Description of problem: Based on a dialog shown from a custom button based on a generic object, when submitting the dialog, the resulting URL is wrong: lets say - service ID=10000000000002 - generic object ID=10000000000016 after submiting, the URL is /service/show/10000000000016?display=generic_objects it may be instead of /service/show/10000000000002?display=generic_objects&generic_object_id=10000000000016 or /service/show/10000000000002?display=generic_objects Version-Release number of selected component (if applicable): 5.9.2 How reproducible: always Steps to Reproduce: 1. 2. 3. Actual results: Expected results: Additional info:
This is repeatable for me as well. Displaying a generic object from a service shows a URL in the browser address bar that ends: /service/show/120?display=generic_objects&generic_object_id=30 I have a button on this generic object that has a dialog, and runs one of the generic object's methods. Clicking the button opens the dialog as expected, but if I fill in the dialog elements and click 'Submit', I see the error: "Unexpected error encountered ... Error text: Couldn't find Service with 'id'=30 [service/show]" The URL in the browser address bar ends: /service/show/30?display=generic_objects The generic object method is run successfully however.
Although the generic object method is run, the dialog values don't seem to be passed to the method
The needinfo request[s] on this closed bug have been removed as they have been unresolved for 1000 days