Project

General

Profile

Actions

Defect #2020

closed

After upgrade version to 10 isn't possible create automatic role rule concepts with different type than identity

Added by Ondřej Kopr over 4 years ago. Updated over 4 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Radek Tomiška
Category:
Automatic roles
Target version:
Start date:
01/27/2020
Due date:
% Done:

100%

Estimated time:
Affected versions:
Owner:

Description

How to simulate:
  • create new automatic role by attribute,
  • create some rule and change type of rule to identity EAV (for example),
  • now save the rule,
  • page throw error:
    app.js:265854 Uncaught TypeError: Cannot read property 'isValid' of null
        at AbstractForm.isFormValid (app.js:265854)
        at AutomaticRoleRuleTable._saveConcept (app.js:290117)
        at HTMLUnknownElement.callCallback (app.js:178894)
        at Object.invokeGuardedCallbackDev (app.js:178944)
        at invokeGuardedCallback (app.js:179001)
        at invokeGuardedCallbackAndCatchFirstError (app.js:179015)
        at executeDispatch (app.js:179147)
        at executeDispatchesInOrder (app.js:179166)
        at executeDispatchesAndRelease (app.js:179272)
        at executeDispatchesAndReleaseTopLevel (app.js:179280)
    

The error comes from AutomaticRoleRuleTable but original issues will be probably with compose value form attribute in AutomaticRoleAttributeRuleDetail. The reference with refs.value doesn't exists after detail is re-rendered.

Simulated on clean version 10.0.0

Affected version: 10.0.0

Actions

Also available in: Atom PDF