Bug #3699

Misleading error message when calling inactive package

Added by Karsten Dambekalns over 12 years ago. Updated about 11 years ago.

Status:
Resolved
Priority:
Should have
Category:
MVC
Start date:
2009-06-18
Due date:
% Done:

100%

Estimated time:
PHP Version:
Has patch:
Complexity:

Description

When trying to use an inactive package you currently get a "404 Not Found - No controller could be resolved which would match your request."

It would be awesome to get a hint at package activation, the message should inform about the package not being available/active. After all that's different from the package being available but the controller not.


Files

#1

Updated by Bastian Waidelich over 12 years ago

  • Assignee set to Bastian Waidelich

I'll upload a patch with a suggested solution tomorrow.

#2

Updated by Bastian Waidelich over 12 years ago

Please have a look at the attached patch.
It brings some extensive changes to the way the controller is resolved and I'm not perfectly sure about the implementation.
But IMO the request was involved too much in package/controller determination anyways...
Maybe the request should have no dependency to the PackageManager at all!?

#3

Updated by Robert Lemke over 12 years ago

  • Priority changed from Should have to Must have
  • Target version set to 283
#4

Updated by Robert Lemke over 12 years ago

  • Priority changed from Must have to Should have
  • Target version changed from 283 to 1.0 alpha 3
#5

Updated by Karsten Dambekalns about 12 years ago

  • Assignee set to Karsten Dambekalns
#6

Updated by Karsten Dambekalns about 12 years ago

  • Status changed from Needs Feedback to Resolved
  • % Done changed from 0 to 100

Applied in changeset r2888.

Also available in: Atom PDF