Commit graph

14 commits

Author SHA1 Message Date
Sukhwinder Dhillon
be2473864b Introduce new XOR (^) operator 2023-07-13 10:19:08 +02:00
raviks789
3a7dc64a50
Fix storing of business process with Description having new lines (#339)
* Fix storing of business process with `Description` having new lines

The `LegacyConfigRenderer::renderHeader()` should render new lines in the `Description` field as comments.

This fix avoids occurrence of future issues due to new lines in `Description` field while adding or modifying the
business processes.

* Parse new lines in header

The new lines in header which may belong to the field like `Description` must be parsed correctly.
2022-09-14 09:53:54 +02:00
Valentina Da Rold
b78983f539 Add Degraded operator implementation
Refs #298
2022-02-18 11:41:06 +01:00
Johannes Meyer
49ebbc4cdb Apply state overrides on demand instead of directly
Internally non-process children are only instantiated once.
This means when applying state overrides directly they're
used everywhere and do not differ between the containing
process. State overrides are now applied explicitly and
on demand, decoupling them from children.
2020-07-01 08:54:34 +02:00
Johannes Meyer
0c7fca926f config: Use an extra line to store state overrides
Storing overrides as part of a node's name leads to way too complicated
code. A separate field is not only better for compatibility but also
more straightforward to process.
2020-06-26 14:08:05 +02:00
Johannes Meyer
c5d3127303 Storage: Properly escape and unescape names with operators
fixes #205
2019-02-28 10:58:06 +01:00
Johannes Meyer
1a36e4d94a LegacyConfigRenderer: Don't render import sub-nodes 2019-02-22 12:26:24 +01:00
Thomas Gelf
051f9376b7 LegacyConfig: fix info_url parsing and rendering
fixes #71
2017-01-23 23:38:43 +01:00
Thomas Gelf
d87edba377 Just a couple of newlines to satisfy latest PSR2
...checks in phpcs
2017-01-11 23:56:17 +01:00
Thomas Gelf
56ab13d2b0 LegacyConfigRenderer: use correct helper...
...when rendering required process
2017-01-11 17:01:45 +01:00
Thomas Gelf
fc117217dd Storage: cosmetics 2017-01-11 17:01:34 +01:00
Thomas Gelf
22583aa083 BpConfig: renamed from BusinessProcess 2017-01-11 14:09:30 +01:00
Thomas Gelf
e26daca0f4 LegacyConfigRenderer: make some helpers static 2017-01-11 13:38:21 +01:00
Thomas Gelf
a9331a1e05 LegacyConfigRenderer: move rendering to dedicated
...class, simplifies LegacyStorage
2017-01-11 12:00:20 +01:00