KETTLE-38: DataSource fails to compute writable grade in the case of further derivation

Metadata

Source
KETTLE-38
Type
Bug
Priority
Major
Status
Resolved
Resolution
Fixed
Assignee
Antranig Basman
Reporter
Antranig Basman
Created
2015-10-29T11:13:55.131-0400
Updated
2016-12-04T17:27:00.110-0500
Versions
N/A
Fixed Versions
  1. 1.0
Component
N/A

Description

The dataSource implementation relies simply on the typeName of the overall concrete grade in order to compute the "writable" version of the grade:

getWritableGrade: {
            funcName: "kettle.dataSource.getWritableGrade",
            args: ["{that}.options.writable", "{that}.typeName"]
        }

This is always faulty since the grade's "principal type" is always an essentially random selection from the many gradeNames on offer.

Comments

  • Antranig Basman commented 2016-12-04T17:27:00.076-0500

    This was fixed prior to the 1.0 release, but in favour of the "readOnlyGrade" system which is documented in KETTLE-49 to still be less than desirably clear