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

[dev.icinga.com #9328] Multiline vars are broken in objects.cache output #3043

Closed
icinga-migration opened this issue May 28, 2015 · 6 comments
Labels
area/compat Deprecated features from 1.x bug Something isn't working
Milestone

Comments

@icinga-migration
Copy link

This issue has been migrated from Redmine: https://dev.icinga.com/issues/9328

Created by mfrosch on 2015-05-28 07:42:15 00:00

Assignee: mfriedrich
Status: Resolved (closed on 2015-06-15 15:22:18 00:00)
Target Version: 2.3.5
Last Update: 2015-06-18 09:39:33 00:00 (in Redmine)

Icinga Version: 2.3.3
Backport?: Already backported
Include in Changelog: 1

A vars like this:

  vars.test = "test1\ntest2"

Leads to an entry in objects.cache like:

    _test test1
test2

Which breaks the ClassicUI, or any other parser for the compat world.

Changesets

2015-05-28 07:48:57 00:00 by mfrosch 665fe74

Fix objects cache dump in compat for multiline vars

Multiline vars should be written as:
  _test test1\ntest2

And not
  _test test1
test2

refs #9328

2015-06-15 15:20:43 00:00 by mfrosch 213300c

Fix objects cache dump in compat for multiline vars

Multiline vars should be written as:
  _test test1\ntest2

And not
  _test test1
test2

fixes #9328

Signed-off-by: Michael Friedrich <[email protected]>

2015-06-15 15:21:57 00:00 by mfrosch 46fea58

Fix objects cache dump in compat for multiline vars

Multiline vars should be written as:
  _test test1\ntest2

And not
  _test test1
test2

fixes #9328

Signed-off-by: Michael Friedrich <[email protected]>
@icinga-migration
Copy link
Author

Updated by mfrosch on 2015-05-28 07:42:21 00:00

  • Status changed from New to Assigned

@icinga-migration
Copy link
Author

Updated by mfrosch on 2015-05-28 08:24:21 00:00

  • Assigned to changed from mfrosch to mfriedrich
  • Target Version deleted 2.4.0

Please review, merge, backport for 2.3.5: fix/compat-multiline-vars-9328

@icinga-migration
Copy link
Author

Updated by mfriedrich on 2015-06-15 15:20:09 00:00

  • Target Version set to 2.4.0

@icinga-migration
Copy link
Author

Updated by mfrosch on 2015-06-15 15:22:18 00:00

  • Status changed from Assigned to Resolved
  • Done % changed from 0 to 100

Applied in changeset 213300c.

@icinga-migration
Copy link
Author

Updated by mfriedrich on 2015-06-15 15:22:32 00:00

  • Target Version changed from 2.4.0 to 2.3.5
  • Backport? changed from TBD to Yes

@icinga-migration
Copy link
Author

Updated by mfriedrich on 2015-06-18 09:39:33 00:00

  • Estimated Hours set to 0.5

@icinga-migration icinga-migration added bug Something isn't working area/compat Deprecated features from 1.x labels Jan 17, 2017
@icinga-migration icinga-migration added this to the 2.3.5 milestone Jan 17, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/compat Deprecated features from 1.x bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant