Attention is currently required from: pespin. fixeria has posted comments on this change by pespin. ( https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/44219?usp=email ) Change subject: S1AP_Templates: Fix f_tr_* templates with newer titan following ttcn3 specs ...................................................................... Patch Set 1: Code-Review-1 (3 comments) Patchset: PS1: IMHO, this change makes the code harder to read and even harder to modify (add new IEs). For instance, in some places you do `lengthof(req.protocolIEs) + 1`, in some `lengthof(req.protocolIEs)` (without `+1`). For some fields you have `istemplatekind(x, "*")`, for some you don't. Plus, the `f_tr_` functions become inconsistent with the respective `f_ts_` functions that still append fields. I would rather stay with `--legacy-template-subrefs` and readable code as long as this flag is supported by TITAN. At least I haven't seen any plans on removing it yet. Do you really need the spec. compliant behavior when a `*` in the middle of a list suddenly turns into a `?`? File library/s1ap/S1AP_Templates.ttcn: https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/44219/comment/d8843a1f_bc1ba... : PS1, Line 1810: istemplatekind(rab_modified_items This is wrong. ```suggestion } else if (istemplatekind(rab_failed_items, "*")) { ``` https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/44219/comment/60a9aa57_4672a... : PS1, Line 2400: istemplatekind(rab_modified_items Another copy-paste... ```suggestion if (ispresent(rab_failed_items) or istemplatekind(rab_failed_items, "*")) { ``` -- To view, visit https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/44219?usp=email To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings?usp=email Gerrit-MessageType: comment Gerrit-Project: osmo-ttcn3-hacks Gerrit-Branch: master Gerrit-Change-Id: I4fbee80a7245fa00c8c42ff10a8346691b94a839 Gerrit-Change-Number: 44219 Gerrit-PatchSet: 1 Gerrit-Owner: pespin <pespin@sysmocom.de> Gerrit-Reviewer: Jenkins Builder Gerrit-Reviewer: fixeria <vyanitskiy@sysmocom.de> Gerrit-Reviewer: osmith <osmith@sysmocom.de> Gerrit-Attention: pespin <pespin@sysmocom.de> Gerrit-Comment-Date: Tue, 01 Dec 2026 20:52:51 +0000 Gerrit-HasComments: Yes Gerrit-Has-Labels: Yes