MarketSquare / MarketSquare/Rammbock

Nested bag can't be parsed

Open
#87 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Python
Stars
64
Forks
48
PR merge metrics
No merged PRs in 30d

Description

Based on `bags.robot` tests
```
*** Test Cases ***
Bag with nested bag
Bag message client
u8 element 1
u8 element2 42
u8 element3 1
u8 first 12
u8 second 55
Client sends message
Bag message server with minimums with nested bag
${msg}= Server receives message # Unable to decode bag value.

*** Keywords ***
Bag message client
New message ConditionalExample Example header:messageType:0xb0b0

Bag message server with minimums with nested bag
New message ConditionalExample Example header:messageType:0xb0b0
Start bag intBag
case 1 u8 foo 42
case 1-2 u8 bar 1
case * Nested bag
End bag

Nested bag
Start bag intBag
case 1 u8 first
case 1 u8 second 55
End bag
```

```
==============================================================================
Tests
==============================================================================
Tests.Test
==============================================================================
Bag with nested bag | FAIL |
Unable to decode bag value.
------------------------------------------------------------------------------
Tests.Test | FAIL |
1 test, 0 passed, 1 failed
==============================================================================
Tests | FAIL |
1 test, 0 passed, 1 failed
==============================================================================
```

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the nested-bag reproduction in bags.robot and run the failing test. Trace how the nested bag value is decoded; done means the example passes without the reported "Unable to decode bag value" failure.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
networking, testing-qa
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.