Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Value "0" is impossible #1201

Closed
AKhrulev opened this issue Dec 4, 2019 · 1 comment
Closed

Value "0" is impossible #1201

AKhrulev opened this issue Dec 4, 2019 · 1 comment
Labels
Milestone

Comments

@AKhrulev
Copy link

AKhrulev commented Dec 4, 2019

Version: Phing 3.0.0-alpha3
The "0" string is converted to empty string. There is no way to get "0" string at all.
This behavior differ from Phing 2.16

<?xml version="1.0" encoding="UTF-8"?>
<project name="Bug1" default="build" phingVersion="2.14.0" >
	<target name="build" depends="" description="" >
		<property name="prop0" value="0" />
		<echo msg="prop0=${prop0}"/>
		<property name="prop1" value="1" />
		<echo msg="prop1=${prop1}"/>
		<echo msg="0"/>
	</target>
</project>

Expexcted result:

 [echo] prop0=0
 [echo] prop1=1
 [echo] 0

Actual result:

 [echo] prop0=
 [echo] prop1=1
 [echo]
@siad007 siad007 added the defect label Dec 22, 2019
@siad007 siad007 added this to the 3.0.0-alpha4 milestone Dec 22, 2019
@siad007
Copy link
Member

siad007 commented Dec 23, 2019

@AKhrulev Thanks for reporting. The issues were fixed in #1217 and #1218 and available on the master branch.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Development

No branches or pull requests

2 participants