I run into trouble when "Edit Database Script". When I "Edit Database Script", I clicked the checkbox "Give latest version number to the edited script (use with care!) ". After committing the form, the script has a incremented and newest versionnr, but the question is the incremented versionnr isn't applied to tbbranch.versionnr and tbmodule.lastversionnr, and so right after committing the form, I cannot get the correct versionnr by calling dbsync_automated_currentversion.php and cannot Generate Synchronization Script in deltaclient. However, I can get the correct Synchronization Script in web page which calls dbsync_update.php.
Maybe, in handling "Edit Database Script" form data, if "Give latest version number to the edited script (use with care!) " is checked, the corresponding head/branches' versionnr should also be updated.
How do you guys think.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I run into trouble when "Edit Database Script". When I "Edit Database
Script", I clicked the checkbox "Give latest version number to the edited
script (use with care!) ". After committing the form, the script has a
incremented and newest versionnr, but the question is the incremented
versionnr isn't applied to tbbranch.versionnr and tbmodule.lastversionnr,
and so right after committing the form, I cannot get the correct versionnr
by calling dbsync_automated_currentversion.php and cannot Generate
Synchronization Script in deltaclient. However, I can get the correct
Synchronization Script in web page which calls dbsync_update.php.
Maybe, in handling "Edit Database Script" form data, if "Give latest
version number to the edited script (use with care!) " is checked, the
corresponding head/branches' versionnr should also be updated.
hi,
I run into trouble when "Edit Database Script". When I "Edit Database Script", I clicked the checkbox "Give latest version number to the edited script (use with care!) ". After committing the form, the script has a incremented and newest versionnr, but the question is the incremented versionnr isn't applied to tbbranch.versionnr and tbmodule.lastversionnr, and so right after committing the form, I cannot get the correct versionnr by calling dbsync_automated_currentversion.php and cannot Generate Synchronization Script in deltaclient. However, I can get the correct Synchronization Script in web page which calls dbsync_update.php.
Maybe, in handling "Edit Database Script" form data, if "Give latest version number to the edited script (use with care!) " is checked, the corresponding head/branches' versionnr should also be updated.
How do you guys think.
hi Xiabao,
here a patch for deltasql client for the 'Edit Database Script' issue, i
tested it without deltaclient.
Does this patch work?
Thx
Tiz
On Thu, Feb 20, 2014 at 4:19 PM, Xiaobo Yang xiaoboyangcn@users.sf.netwrote:
hi Xiaobo,
i did a patch for the issue, if you send me an email at tiziano.mengotti AT gmail.com i'll send an edit_script_execution.php file to test.
thx
dm