This was previously reported as 1534495 but (I think)
should have been posted as a 4.1 bug.
I get the problem running in 4.0.l stable. I've
observed that I can set up a FAQ list which appears to
be hardened to the database (check the table and the
rows are present). After doing stuff, the whole FAQ
list dissappears. #1534495 and perhaps #1487594 seem to
refer to this.
The problem seems to be that the setBlocks function in
administration.php would hose all the rows related to
the userid that it's being invoked for. Since the
FAQ's are are kept in the same username as the default
for the GEDCOM, something like "Reset to Default
Blocks" will wipe the FAQ's. I assume there are other
circumstances in which setBlocks will be called.
Other defects suggest a separate table for FAQ's.
Another solution might be to assign a different, static
value for userid in the pgv_blocks table. Two
1. Would you want different FAQ's for different GEDCOM
2. Is this good design practice anyway?
Log in to post a comment.