Bug 29868 - Unknown syntax yields None as choices
Unknown syntax yields None as choices
Status: RESOLVED DUPLICATE of bug 38762
Product: UCS
Classification: Unclassified
Component: UMC - Domain management (Generic)
UCS 4.2
Other Linux
: P4 minor (vote)
: UCS 3.x
Assigned To: UMC maintainers
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2012-12-20 11:53 CET by Dirk Wiesenthal
Modified: 2017-02-09 14:07 CET (History)
4 users (show)

See Also:
What kind of report is it?: ---
What type of bug is this?: ---
Who will be affected by this bug?: ---
How will those affected feel about the bug?: ---
User Pain:
Enterprise Customer affected?:
School Customer affected?:
ISV affected?:
Waiting Support:
Flags outvoted (downgraded) after PO Review:
Ticket number:
Bug group (optional): Troubleshooting
Max CVSS v3 score:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Dirk Wiesenthal univentionstaff 2012-12-20 11:53:29 CET
If the syntax class is unknown (i.e. not registered in syntax.py or in syntax.d/), syntax/choices/info returns None. This causes problems with a syntax derived from UDM_Objects. The UDM-ComboBox dies with an internal error (as it expects something like {'size': 100}, not null) and the standby animation will never finish.

Either handle null in the ComboBox or raise a meaningful error if the syntax is not known.
Comment 1 Florian Best univentionstaff 2017-02-09 14:07:48 CET
Bug #38762 should fix this, too.

*** This bug has been marked as a duplicate of bug 38762 ***