Bug 6483

Summary: feature unavailable page needed
Product: [Build System, Metadata & Runtime] Toaster Reporter: Alexandru Damian <alexandru.damian>
Component: toasterAssignee: David Reyna <david.reyna>
Status: RESOLVED FIXED QA Contact: Mihail Stanciu <stanciux.mihail>
Severity: enhancement    
Priority: Medium CC: alexandru.c.georgescu, alexandru.damian, belen.barros.pena, bluelightning, cristiana.voicu
Version: 1.7   
Target Milestone: 1.8 M3   
Hardware: x86   
OS: Multiple   
Whiteboard: GUI design available
OS type for building Yocto: --- Type of Regression: ---
Verified: Documentation change: No (bug/feature does not impact docs)
Attachments:
Description Flags
Design - YB6483 none

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'