Anonymous | Login | Signup for a new account | 2024-03-28 23:18 UTC |
Main | My View | View Issues | Change Log | Roadmap |
View Issue Details [ Jump to Notes ] | [ Issue History ] [ Print ] | ||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | ||||
0000823 | Taste | [All Projects] ASN.1 Compiler v4 | public | 2018-12-15 09:25 | 2020-08-31 18:24 | ||||
Reporter | cavada@fbk.eu | ||||||||
Assigned To | gmamais | ||||||||
Priority | normal | Severity | minor | Reproducibility | have not tried | ||||
Status | closed | Resolution | fixed | ||||||
Platform | OS | OS Version | |||||||
Summary | 0000823: Generated ICD contains non-existent fields | ||||||||
Description | When using determinants for choice (and perhaps with other types), ICD documentation contains wrong information. For example: ----- ASN1:
} T-Packet-Body ::= CHOICE
} ----- ACN: pbody [determinant nid] Will generate ICD fragment for T-Packet-Body in attached image. | ||||||||
Tags | No tags attached. | ||||||||
Attached Files | Screenshot from 2018-12-15 10-21-13.png [^] (50,572 bytes) 2018-12-15 09:25
| ||||||||
Notes | |
(0003552) maxime (administrator) 2018-12-15 17:15 |
I don't think it is wrong to have the ChoiceIndex here. You may want to call Encode on a variable of type T-Packet-Body independently from T-Packet, and in that case the choice index would be there. However it is true that in the ICD of T-Packet (which is correct in terms of number of bits to use) the hyperlink to T-Packet-Body encoding is incorrect since it uses a different encoding in that specific context. I am not sure of the best way to fix that: have another table for the custom encoding of the nested T-Packet-Body (but the pointer to the choice index would not be obvious), or embed the rows inside the table T-Packet. |
(0003555) gmamais (developer) 2019-01-12 15:23 |
Fixed by introducing a new table for the custom encoding of the nested T-Packet-Body. |
Issue History | |||
Date Modified | Username | Field | Change |
2018-12-15 09:25 | cavada@fbk.eu | New Issue | |
2018-12-15 09:25 | cavada@fbk.eu | File Added: Screenshot from 2018-12-15 10-21-13.png | |
2018-12-15 17:01 | maxime | Assigned To |
=> gmamais |
2018-12-15 17:01 | maxime | Status |
new => assigned |
2018-12-15 17:15 | maxime | Note Added: 0003552 | |
2019-01-12 15:23 | gmamais | Note Added: 0003555 | |
2019-01-12 15:23 | gmamais | Status |
assigned => resolved |
2019-01-12 15:23 | gmamais | Resolution |
open => fixed |
2020-08-31 18:24 | maxime | Status |
resolved => closed |
Copyright © 2000 - 2011 MantisBT Group |