Radicore Forum - RDF feed
https://forum.radicore.org/index.php
DEL1 - Exception
https://forum.radicore.org/index.phpindex.php?t=rview&goto=7716&th=3504#msg_7716
I have a strange behavior in one of my del1 pattern. There is always an exception saying that there is a unknown database. I attached the errorlog.htm. I checked the tables in dict (dict_table, dict_table_key, dict_column, dict_related_column). The fields, the relationships and the key are fine. It is just this pattern of this table. I used to have this behavior and after I exported the tables in php again, everything worked fine again.
Have you any idea where I can look for my fault?]]>htManager2022-04-22T09:58:22-00:00Re: DEL1 - Exception
https://forum.radicore.org/index.phpindex.php?t=rview&goto=7717&th=3504#msg_7717
Can you send me the class.inc and dict.inc files for this table so that I can take a look?
The table class has the value 'unknown' loaded into $this->dbname in the abstract class by default, but this SHOULD be replaced with a valid dbname in the class constructor when it sets values into $this->dbname and $this->tablename before it calls $this->getFieldSpec_original();
Can you check the class constructor to see if it is doing what it is supposed to do? Can you check that this constructor is being called?]]>AJM2022-04-23T09:11:31-00:00Re: DEL1 - Exception
https://forum.radicore.org/index.phpindex.php?t=rview&goto=7718&th=3504#msg_7718
As far as I see, the class constructor is working fine and the $fieldspec will be loaded successfully. In the further course of the validation checks the tablename gets lost.
I attached the class and the dict file.]]>htManager2022-04-25T08:31:34-00:00Re: DEL1 - Exception
https://forum.radicore.org/index.phpindex.php?t=rview&goto=7719&th=3504#msg_7719
You will need to step through the code with your debugger to see where the contents of $this->dbname changes.]]>AJM2022-04-25T09:14:36-00:00Re: DEL1 - Exception
https://forum.radicore.org/index.phpindex.php?t=rview&goto=7720&th=3504#msg_7720
htManager2022-04-26T19:32:13-00:00Re: DEL1 - Exception
https://forum.radicore.org/index.phpindex.php?t=rview&goto=7727&th=3504#msg_7727
klintsmith2022-05-13T09:23:08-00:00Re: DEL1 - Exception
https://forum.radicore.org/index.phpindex.php?t=rview&goto=7728&th=3504#msg_7728
AJM2022-05-14T09:19:07-00:00