Bug 6483 - feature unavailable page needed
Summary: feature unavailable page needed
Status: RESOLVED FIXED
Alias: None
Product: Toaster
Classification: Build System, Metadata & Runtime
Component: toaster (show other bugs)
Version: 1.7
Hardware: x86 Multiple
: Medium enhancement
Target Milestone: 1.8 M3
Assignee: David Reyna
QA Contact: Mihail Stanciu
URL:
Whiteboard: GUI design available
Depends on:
Blocks:
 
Reported: 2014-06-26 13:31 UTC by Alexandru Damian
Modified: 2015-03-17 23:54 UTC (History)
5 users (show)

See Also:
OS type for building Yocto: ---
Type of Regression: ---
Verified:
Documentation change: No (bug/feature does not impact docs)


Attachments
Design - YB6483 (101.50 KB, application/pdf)
2014-09-25 14:43 UTC, Belen Barros Pena
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Alexandru Damian 2014-06-26 13:31:01 UTC
Build-related pages should display only when Toaster is running in managed mode.

They should not be displayed when running in the interactive mode; a special "feature is not available" page should be shown, maybe explaining the difference between interactive mode and managed mode.
Comment 1 Belen Barros Pena 2014-09-25 14:43:21 UTC
Created attachment 2140 [details]
Design - YB6483
Comment 2 Alexandru Damian 2015-02-20 13:35:01 UTC
Merged in master.
Comment 3 Belen Barros Pena 2015-02-25 11:36:44 UTC
I need to reopen this. The feature unavailable page fails to display for the following build mode urls:

http://127.0.0.1:8000/toastergui/project/<project_id>/configuration
http://127.0.0.1:8000/toastergui/layer/<layer_id>/
http://127.0.0.1:8000/toastergui/project/<project_id>/builds

This is the error that the configuration page throws:

Environment:


Request Method: GET
Request URL: http://127.0.0.1:8000/toastergui/project/1/configuration

Django Version: 1.6
Python Version: 2.7.6
Installed Applications:
('django.contrib.staticfiles',
'django.contrib.humanize',
'orm',
'toastermain',
'south',
'bldviewer',
'toastergui',
'bldcontrol')
Installed Middleware:
('django.middleware.common.CommonMiddleware',
'django.contrib.sessions.middleware.SessionMiddleware',
'django.middleware.csrf.CsrfViewMiddleware',
'django.contrib.auth.middleware.AuthenticationMiddleware',
'django.contrib.messages.middleware.MessageMiddleware')


Traceback:
File "/usr/local/lib/python2.7/dist-packages/django/core/handlers/base.py"
in get_response
  114.                     response = wrapped_callback(request,
*callback_args, **callback_kwargs)

Exception Type: TypeError at /toastergui/project/1/configuration
Exception Value: projectconf() got an unexpected keyword argument 'pid'