Download & Extend

'production min sequences' spits out help text

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

Assigned to:Anonymous» ceardach
Status:active» closed (works as designed)

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 min works
restore.php production min help works
restore.php production min blah works (successfully ignores 'blah')
restore.php production min sequences spits out help text... dunno why.

I'm looking at it, though.

#4

Title:Wrong parameter displayed when a conflict occurs» 'production min sequences' spits out help text
Status:closed (works as designed)» active

#5

Status:active» fixed

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

Status:fixed» closed (fixed)

Automatically closed -- issue fixed for two weeks with no activity.

nobody click here