You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
MaciejBaj
changed the title
Event & Action name validation regex definitions are different in Base class.
Event & Action name validation regex definitions are different in Base class
Mar 22, 2019
Expected behavior
Regex validation should be the same throughout the whole framework.
Actual behavior
Event name cannot start with a number as its stated in Event class but
isValidEventName
method in Base Class has different regex definition.https://github.com/LiskHQ/lisk/blob/cd67812d1548b3f383707d64274bc9f001517896/framework/src/controller/channels/base.js#L97
https://github.com/LiskHQ/lisk/blob/cd67812d1548b3f383707d64274bc9f001517896/framework/src/controller/event.js#L3
Also
isValidActionName
method in Base Class has different regex definition than Action class.Steps to reproduce
Which version(s) does this affect? (Environment, OS, etc...)
The text was updated successfully, but these errors were encountered: