silverstripe / silverstripe-dms

Adds a Document Management System to Silverstripe
BSD 3-Clause "New" or "Revised" License
40 stars 52 forks source link

Uploading documents in set redirect issue #169

Closed sachajudd closed 7 years ago

sachajudd commented 7 years ago

When uploading documents inside a document set in the document model admin you are then redirected back to the 'Document' tab. Instead, you should be redirected inside that particular document set where you can view the documents you just uploaded.

sachajudd commented 7 years ago

This behaviour needs to be resolved in #168

fspringveldt commented 7 years ago

@sachajudd I'm re-opening this issue as it's related to DMSDocumentAddController::Backlink() method and not to #168. I'll raise a separate issue for accordingly.

robbieaverill commented 7 years ago

Can we have some steps to reproduce on the current master branch?

fspringveldt commented 7 years ago

@robbieaverill sure>

  1. Okay, sign in as admin
  2. Click Documents model admin, then Document Tab. Click ‘Add Document’ and upload a ticket
  3. Now click ‘Done’ at the bottom, and you get taken incorrectly to the ‘Document Set’ tab. This is wrong, and the problem is in DMSDocumentAddController->Backlink()
robbieaverill commented 7 years ago

Thanks, valid issue in master