RapidPHP Code Explorer Bug
Moderator: kfury77
Forum rules
Please try to follow these guidelines. This will help to receive faster and more accurate response.
Please try to follow these guidelines. This will help to receive faster and more accurate response.
- Check the Support section of the corresponding product first. Chances are you will find your answer there;
- Do not create new topics for already reported problems. Add your comments to the existing topics instead;
- Create separate topic for each problem request. Do NOT post a number of non-related problem reports in a single topic;
- Give your topic a meaningful title. Titles such as "A question," "Bug report" and "Help!" provide others no clue what your message is about;
- Include the version number of the software you are using;
- This is not an official customer support helpdesk. If you need a prompt and official response, please contact our support team directly instead. It may take a while until you receive a reply in the forum;
RapidPHP Code Explorer Bug
I'm not sure if this is a bug that came with the new release of RapidPHP (7.4.0.70), but it seems the code explorer is not functioning properly in the "JavaScript" mode. It looks like RapidPHP only searches for "function NAME()" instead of "function NAME ()", because when I have a space between the function name and the parenthesis, the function is not listed in the code explorer.
Exactly. For instance, a function listed as would show up in the explorer, whereas would not be listed, although they are both syntactically correct.
Code: Select all
function setVisible() {}
Code: Select all
function setVisible () {}
Here's some additional information on the bug. I just noticed another faulty Code Explorer behavior when dealing with JavaScript. Whenever the string "function ()" is found, the code explorer (assuming it's in javascript mode) will return a function with a blank name since it's trying to parse function (), and finds nothing to act as the name.
Example:
Will show in the code explorer as a function icon (the green folded arrow) with nothing beside it. When you try to select the arrow, it selects a blank block of text, that looks to be perhaps 5 spaces long? It looks like both of these bugs result from inproper parsing of javascript code, where only "function NAME()" or "function()" is accepted, whereas both "function NAME ()" and "function ()" should also be accepted.
Hope this additional information comes in handy.
Example:
Code: Select all
[...]linkedTo : function ()
{
return document.getElementById(this.reference);
},[...]
Hope this additional information comes in handy.