Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

New Document gets class_key of 'modResource' instead of 'modDocument' #6417

Closed
MokoJumbie opened this issue Dec 19, 2011 · 1 comment
Closed
Labels
bug The issue in the code or project, which should be addressed. type-frontend Issues related to UI/UX issues, mostly about styles and frontend implementations on JavaScript.

Comments

@MokoJumbie
Copy link

MokoJumbie created Redmine issue ID 6417

Selecting 'Create Document Here' from Resource tree erroneously results in a resource editing panel with 'modResource' specified as the Resource Type.

The class_key is being sent correctly by the HTTP request, but is being handled incorrectly by line 49 of /manager/controllers/default/resource/resource.class.php as far as I can tell:

 $resourceClass = in_array($_REQUEST['class_key'],array('modDocument','modResource')) ? 'modResource' : $_REQUEST['class_key'];
@splittingred
Copy link

splittingred submitted:

Fixed: 8431de3

This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug The issue in the code or project, which should be addressed. type-frontend Issues related to UI/UX issues, mostly about styles and frontend implementations on JavaScript.
Projects
None yet
Development

No branches or pull requests

2 participants