devuxd / active-doc-client

React, React-Bootstrap
MIT License
0 stars 4 forks source link

[RulePad] RulePad fails when the top element is not class. #47

Closed SaharMehrpour closed 1 year ago

SaharMehrpour commented 1 year ago

For mined rules for class field ADTId in ADTCommand:

function with ( visibility "public" and specifier "static" and type "void" and name "writeADT||ADT||write" and parameter with type "String||ADTInFirebase||long||int" and parameter with name "projectId||dto||ADTId||version" ) of class must have expression statement with ( "Calling a Function With Argument: ADTId||json||projectId||PUT" and "Calling Function: enqueueWrite" )

error: error: not connected in graphicalEditor.js

SaharMehrpour commented 1 year ago

Fixed the issue by considering the lowest common ancestor, which was used before for starred elements. commit: e41a43f