Modify

Ticket #807 (closed defect: fixed)

Opened 7 months ago

Last modified 5 months ago

SVN tasks do not always show error message

Reported by: kaplich@… Owned by: mrook
Priority: major Milestone: 2.4.9
Component: documentation Version: 2.4.7.1
Keywords: Cc:

Description

1) Please update documentation:

http://www.phing.info/docs/guide/stable/chapters/appendixes/AppendixC-OptionalTasks.html#SvnCopyTask

for svncopy task the parameter "message" is not optional it's required and can not be skipped

without this parameter SvnCopy fails without any errors: ====================================================

[if] Error in IfTask

Execution of target "deploy-qa" failed for the following reason: /home/vkaplich/projects/InvoiceCentral/trunk/build.xml:220:6: /home/vkaplich/projects/InvoiceCentral/trunk/build.xml:223:73: Failed to run the 'svn copy' command:

BUILD FAILED /home/vkaplich/projects/InvoiceCentral/trunk/build.xml:220:6: /home/vkaplich/projects/InvoiceCentral/trunk/build.xml:223:73: Failed to run the 'svn copy' command: Total time: 2.9482 seconds ====================================================

2) If there are any required parameters omitted I believe it makes more sense to output appropriate message instead of crashing without any visible reason.

Attachments

Change History

comment:1 Changed 6 months ago by mrook

  • Priority changed from major to minor
  • Milestone changed from TBD to 2.4.9

comment:2 Changed 5 months ago by mrook

  • Priority changed from minor to major
  • Status changed from new to assigned
  • Summary changed from SvnCopy Task Documentation: parameter "message" must be required to SVN tasks do not always show error message

The attribute 'message' is no longer required as of VersionControl_SVN 0.4.0 - future PEAR packages will be updated to reflect this update dependency.

I've changed the title of this ticket to reflect 2).

comment:3 Changed 5 months ago by mrook

(In [1390]) Refs #807 - update VersionControl_SVN package version

comment:4 Changed 5 months ago by mrook

  • Status changed from assigned to closed
  • Resolution set to fixed

(In [1391]) Fixes #807 - errstr variable is not always set

View

Add a comment

Modify Ticket

Action
as closed
The resolution will be deleted. Next status will be 'reopened'
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.