Posted by webchick on May 31, 2008 at 10:41pm
| Project: | Coder |
| Version: | 5.x-2.x-dev |
| Component: | Code |
| Category: | task |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | needs review |
Issue Summary
Take the following .info file:
name = Upload Permissions Per Content Type
description = Allows you to restrict access to the upload form, per role, per content type.
dependencies = uploadWhen running the 5.x to 6.x scan, you'll get the following:
Line 3: New syntax for .info files files requires core=6.x
dependencies = uploadWhen you add "core = 6.x" (should have spaces between the equals sign; that's another bug) and reload, then you get:
Line 3: New syntax for .info files, use dependencies[]
dependencies = uploadIt'd be great to have both of those warnings the first time.
Comments
#1
This fixes it, though it might not be the most opportune way. -1/-2 strikes me as a bit brittle.