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

prevent collision on message_state TLV for query_sm_resp PDUs #160

Merged
merged 4 commits into from Sep 23, 2021

Conversation

juliangut
Copy link
Collaborator

@juliangut juliangut commented Jan 11, 2021

Covers #158

message_state is a mandatory parameter for query_sm_resp and query_broadcast_sm_resp PDU, and at the same time it is an optional parameter for other PDUs, this causes a collision on such PDUs

As this is the only optional parameter that suffers from this duplicity among optional and mandatory parameters (SMPP v5), this PR simply solves the issue by skipping the TLV for query_sm_resp and query_broadcast_sm_resp PDUs

@coveralls
Copy link

coveralls commented Jan 11, 2021

Coverage Status

Coverage increased (+1.8%) to 77.372% when pulling f8f4481 on juliangut:fix/message_state-collision into fe53dcc on farhadi:master.

@coveralls
Copy link

Coverage Status

Coverage increased (+1.8%) to 77.438% when pulling f31c33a on juliangut:fix/message_state-collision into fe53dcc on farhadi:master.

@juliangut juliangut added this to the 0.6.0 milestone May 20, 2021
@juliangut juliangut modified the milestones: 0.6.0, 0.5.1 Sep 23, 2021
@juliangut juliangut merged commit 977e3d7 into farhadi:master Sep 23, 2021
@juliangut juliangut deleted the fix/message_state-collision branch September 27, 2021 10:34
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

Successfully merging this pull request may close these issues.

None yet

2 participants