Project

Profile

Help

Bug #4255

closed

ItemTypeFactory.getItemType() assumes an item is either a node or an atomic value

Added by Michael Kay about 3 years ago. Updated about 3 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
s9api API
Sprint/Milestone:
-
Start date:
2019-07-17
Due date:
% Done:

100%

Estimated time:
Legacy ID:
Applies to branch:
9.9, trunk
Fix Committed on Branch:
9.9, trunk
Fixed in Maintenance Release:
Platforms:

Description

If the method ItemTypeFactory.getItemType() is called supplying a function item or external item, it fails with a ClassCastException -- it is assuming that if the argument is not an atomic value then it must be a node.

Please register to edit this issue

Also available in: Atom PDF