Posted by eriksen.costa on September 18, 2008 at 7:45pm
Jump to:
| Project: | Database Scripts |
| Version: | 5.x-1.x-dev |
| Component: | Code |
| Category: | bug report |
| Priority: | critical |
| Assigned: | ceardach |
| Status: | closed (fixed) |
Issue Summary
When a conflicts occurs and the script show two ways to resolve them, it shows a wrong parameter to the user in the following line:
./dbscripts/restore.php production min <strong>sequences</strong>
Would not be the TRUE boolean? I think this bug is too small to create a patch.
Comments
#1
The string "sequences" becomes translated to "TRUE" in lines 60-63 of dbscripts.module in the dbscripts_get_options() function.
I did it that way so that it makes more sense what that flag is setting when entering the command.
#2
When I try with the strings, the help text appears instead of processing the restore operation. I will try again and send a screenshot.
#3
Yeah, I've seen that bug. I thought I fixed it, but apparently not. I'm working on it now.
restore.php production minworksrestore.php production min helpworksrestore.php production min blahworks (successfully ignores 'blah')restore.php production min sequencesspits out help text... dunno why.I'm looking at it, though.
#4
#5
I have no idea why this was happening. So, instead of fixing the problem, I just avoided it.
I pulled serving help text out of each action's function, and instead decide whether or not to serve help text through the executables (restore.php, etc).
Should be included in the next rebuild.
#6
Automatically closed -- issue fixed for two weeks with no activity.