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

Newly introduced node properties don´t work as expected #49

Closed
gregorkistler opened this issue Apr 29, 2017 · 6 comments
Closed

Newly introduced node properties don´t work as expected #49

gregorkistler opened this issue Apr 29, 2017 · 6 comments

Comments

@gregorkistler
Copy link
Contributor

Today I´ve pulled the changes made a couple of days ago. I like the idea of having an internal communication between the UI and backend nodes and a public one only for user interaction like download.

After I´ve edited the settings of an existing node and left the value of the field Host / IP Address : Port For Downloads empty I couldn´t download anything anymore because my browser pointed to a file location like

http://download/821735ee68379684c0aad5c1e30c07677429b928?name=debian-8.7.1-arm64-netinst.iso

The field description seems not quite correct at the moment:

optional, leave empty if it's the same

Currently it doesn´t really matter if it´s the same or not. In any case it will lead to an empty value regarding the ip address/hostname/FQDN which of course ends in a download URL which doesn´t exist.

@xabolcs
Copy link
Contributor

xabolcs commented Apr 29, 2017

Oh! :(
Thanks for reporting.

@xabolcs
Copy link
Contributor

xabolcs commented Apr 29, 2017

It works for me. :(
What next?

Could you provide STR?

@xabolcs
Copy link
Contributor

xabolcs commented Apr 29, 2017

@gregorkistler please check my proposed fix on branch-issue-49-public-channel-isempty branch!

@gregorkistler
Copy link
Contributor Author

Yes that solves it, thank you.
The field description would be still irritating as the field won´t stay empty after you´ve saved the form and edit it again but that´s okay for me.
Functionality matters :)

@xabolcs
Copy link
Contributor

xabolcs commented Apr 29, 2017

Thanks!

Empty field comes with another train! ;)

xabolcs added a commit that referenced this issue Apr 29, 2017
…ributes (#49)

To avoid broken download links like "http://download/821735ee68379684c0aad5c1e30c07677429b928?name=debian-8.7.1-arm64-netinst.iso".
xabolcs added a commit that referenced this issue Apr 29, 2017
Use StringUtils.isBlank() to avoid broken download links like "http://download/821735ee68379684c0aad5c1e30c07677429b928?name=debian-8.7.1-arm64-netinst.iso".
@xabolcs
Copy link
Contributor

xabolcs commented Apr 29, 2017

Fixed by commit ac26959.

@xabolcs xabolcs closed this as completed Apr 29, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants