Skip to content

Put attributes into generated XML - #29230

Merged
DeepDiver1975 merged 2 commits into
masterfrom
issue-29229
Oct 19, 2017
Merged

DeepDiver1975 merged 2 commits into
masterfrom
issue-29229

Conversation

@phil-davis

Copy link
Copy Markdown
Contributor

Description

Related Issue

#29229

Motivation and Context

Get rid of a warning message.
Make the min and max version show in the XML response.

How Has This Been Tested?

  1. Run the integration test that produced the warning and confirm that the is no warning.
~/core/tests/integration$ ./run.sh features/provisioning-v1.feature:299
  1. Browse to:
http://localhost:8080/ocs/v1.php/cloud/apps/comments

and see content including:

<dependencies><owncloud min-version="10.0" max-version="10.0"/></dependencies>

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)

Checklist:

  • My code follows the code style of this project.
  • My change requires a change to the documentation.
  • I have updated the documentation accordingly.
  • I have read the CONTRIBUTING document.
  • I have added tests to cover my changes.
  • All new and existing tests passed.

If this is the thing to do, then it needs additional integration tests in provisioning-v1.feature to validate the returned content of the app info XML.

@phil-davis

Copy link
Copy Markdown
Contributor Author

Comments welcome. Particularly, what else is going to break (or be fixed) by changing a general method toXML() to fix this?

@DeepDiver1975 DeepDiver1975 added this to the development milestone Oct 19, 2017
@DeepDiver1975
DeepDiver1975 merged commit 5ed2e0b into master Oct 19, 2017
@DeepDiver1975
DeepDiver1975 deleted the issue-29229 branch October 19, 2017 18:03
DeepDiver1975 added a commit that referenced this pull request Oct 19, 2017
phil-davis pushed a commit that referenced this pull request Oct 20, 2017
@lock

lock Bot commented Aug 2, 2019

Copy link
Copy Markdown

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@lock lock Bot locked as resolved and limited conversation to collaborators Aug 2, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants