For the server side component of the error reporting system. What are
the things you want to do with the reports. like for example comments,
or storing status of the reports. what other things do think you would
want to do on the error reporting server.
What I am thinking is commenting, changing status, searching and of
course viewing all the details of the report as well as related
reports.
Do you want the ability to delete error reports or just mark them as
resolved. and while we are on the matter what are the statuses that
should exist for the error reports. I am thinking at least new and
resolved but I cant think of anything else;
Hi,
I am refactoring the sql.php script. In line 235 there is a condition for
GLOBALS['grid_edit']==true. According to what I found this will be set only
when the field has "truncated" or "transformed" css classes. I was trying
to find some test cases where these classes are added to the fields, but I
was not successful. I would appreciate if someone can help me to find some
test cases where these classes will be added.
Thank you
2013/7/9 Supun Nakandala <supun.nakandala(a)gmail.com>:
> Hi,
> I am refactoring the sql.php script. In line 235 there is a condition for
> GLOBALS['grid_edit']==true. According to what I found this will be set only
> when the field has "truncated" or "transformed" css classes. I was trying to
> find some test cases where these classes are added to the fields, but I was
> not successful. I would appreciate if someone can help me to find some test
> cases where these classes will be added.
>
> Thank you
Hi Supun,
Please use a subject when sending a mail, this will make it easier for
other people to know what your message will be about and to follow the
thread later on.
--
Kind regards,
Dieter Adriaenssens
2013/7/3 Ayush Chaudhary <ayushchd(a)gmail.com>:
> Hi,
>
> Is there a reason why validation.lib.php is not a class with public static
> method? Is it okay to convert it to a class with all methods' access
> specifier as public static?
Did you mean the PMA_SQLValidator class in
libraries/sqlvalidator.class.php? I didn't find a validation.lib.php,
or something similar, in the PMA codebase, that contains a class.
(libraries/config/validate.lib.php doesn't contain a class)
Assuming you mean PMA_SQLValidator, this is not a static class, ie. it
has to be instanciated (= turned into an object), so it can't have
static methods. [1]
To use (or test) this class, you have to create an instance and call
the methods from that instance, fe.
$validator = new PMA_SQLValidator();
$validator->start();
(see libraries/sqlvalidator.lib.php for an example on how to
instanciate and use the PMA_SQLValidator class)
BTW : Testing a class instance can sometimes be tricky, especially if
it communicates with, or uses another class. If this is the case, you
will have to use Mock objects [0] and Stubs to simulate the expected
behaviour of the other class.
I hope this helps.
[0] http://phpunit.de/manual/3.0/en/mock-objects.html
[1] explanation of instances and static members. It's explained for
Java so the syntax doesn't match 100% with PHP, but the concept is
analogous : http://docs.oracle.com/javase/tutorial/java/javaOO/classvars.html
Kind regards,
Dieter
> --
> Ayush Chaudhary
>
>
> ------------------------------------------------------------------------------
> This SF.net email is sponsored by Windows:
>
> Build for Windows Store.
>
> http://p.sf.net/sfu/windows-dev2dev
> _______________________________________________
> Phpmyadmin-devel mailing list
> Phpmyadmin-devel(a)lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/phpmyadmin-devel
>
--
Kind regards,
Dieter Adriaenssens
As it turns out some of the asset urls need to be hardcoded. So I was
wondering what will the server configuration be. like what is the
domain name. will it be hosted on the root path or will it be inside a
sub path like example.com vs example.com/error-reporting.
Hi Devs,
I am experiencing an unexpected behavior with respect to the following two
cases.
1. Deleting a row from browse page.
2. Deleting a row after searching
In the first case the request goes through the sql.js ajax handler. But in
the second case the request doesn't go through it and the request is not an
ajax request. But in both cases the tag is same ("<a class='delete_row
ajax") and in both cases sql.js file is added to the responses which are
displaying the results. I tried to find what is going wrong here for
sometime now and I couldn't find it. I would appreciate if you can provide
me some help to figure this problem.
Thank You
Currently all variables that store proxy credentials have the prefix
'VersionCheck' assuming because this was the only part of phpmyadmin
that uses these variables. However I also require those variables in
my error reporting code and I did not want to use the same variable
names since it is a misnomer at that point.
I renamed the variables and removed all the VersionCheck prefixes so
they became ProxyUrl, ProxyUser and ProxyPass. I made the changes in
the version_check.php code and in the docs.
I just wanted to inform you of this change since this may affect
others once the error reporting system is merged with master