Skip to content
This repository has been archived by the owner on Jul 25, 2018. It is now read-only.

Added confirmation dialogues for deletion process #230

Merged
merged 3 commits into from
Sep 16, 2016

Conversation

tobias-pfaffelmoser-aa
Copy link

@tobias-pfaffelmoser-aa tobias-pfaffelmoser-aa commented Sep 6, 2016

  • Introduced jquery-confirm for confirm dialogue / alerting
  • Added confirm dialogue for deletion of projects, components, releases, etc. via edit page
  • Added hint on contained projects, releases and attachments to confirm message

Do not merge before dev/projectExcelExport and dev/datePicker_#171 !

closes #156

@heydenreich
Copy link
Contributor

Reviewed, rebased, tested.

A question arises - see issue:
We have now some special effect: if you click on the trash bin for a component you have to confirm that you want to delete the component although there is a release. If you click ok, the component (and release) cannot successfully be deleted. Reason is that the release is used in a project.

Solution:

  1. disable trashbin in that case?
  2. add information about using projects to confirmation dialog?

…eases, licenses, vendors, etc.

closes #156

Conflicts:
	frontend/sw360-portlet/src/main/webapp/html/projects/view.jsp
…view page; show also number of linked releases in delte confirmation dialogue for components

closes #156
* a component can only be deleted if it contains no releases
* Frontend checks whether releases are present and disables delete function
* backend checks again

Conflicts:
	frontend/sw360-portlet/src/main/webapp/html/projects/view.jsp
@heydenreich
Copy link
Contributor

reviewed commit 1 and 2: OK

@mcjaeger mcjaeger merged commit aed4ace into master Sep 16, 2016
@mcjaeger
Copy link
Contributor

tested with the mock projects as well as own new entries. also tested with attachments and different numbers of attachments and links to see if counting works.

@heydenreich heydenreich deleted the dev/deleteConfirmationDialogue_#156 branch October 25, 2016 11:59
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Delete confirmation dialog
5 participants