[MGNLMIGRATION-132] Generated groovy scripts: Scripts cannot be saved and executed Created: 17/Oct/12 Updated: 18/Oct/12 Resolved: 17/Oct/12 |
|
| Status: | Closed |
| Project: | Migration 4.4 to 4.5 (closed) |
| Component/s: | None |
| Affects Version/s: | 1.1.4 |
| Fix Version/s: | 1.1.5 |
| Type: | Bug | Priority: | Critical |
| Reporter: | wolf bubenik | Assignee: | Lars Fischer |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Environment: |
Migros project |
||
| Template: |
|
| Acceptance criteria: |
Empty
|
| Date of First Response: |
| Description |
|
Folders ( - > packages) are generated for the migration scripts using the module name as package name. If the module names contain characters that are not allowed in groovy package names ('-' in our project) it is not possible to save fixed scripts or to run the scripts. On saving: startup failed:
script13504691834702018186941.groovy: 1: expecting EOF, found '-' @ line 1, column 15.
package Migros-common-templating.components
^
1 error
On executing org.codehaus.groovy.control.MultipleCompilationErrorsException: startup failed: Script1.groovy: 1: unexpected token: - @ line 1, column 14. import Migros-updates.components.* ^ 1 error |
| Comments |
| Comment by wolf bubenik [ 17/Oct/12 ] |
|
The generated component scripts suffer from the same disease. If their name contains illegal characters ('-' again) they cannot be saved not executed. |
| Comment by Lars Fischer [ 17/Oct/12 ] |
|
Restored method for the generation of package names. |