[CK-Ledger-users] Re: Subtle Bugs
Status: Beta
Brought to you by:
ckwu
|
From: C K Wu <ck...@ch...> - 2002-07-01 03:37:10
|
Both of these bugs had been rectified in v.0.1.1 .
Cheers,
CK
C K Wu wrote:
> Hello, folks,
>
> I've found two subtle bugs with the codes that I wrote.
>
> 1. When coding the $phpgw->link() function, sometimes I wrote it as
> $phpgw->link('/ck-ap/invoicentlist.php?filter=$filter'), when it shall
> have
> been $phpgw->link('/ck-ap/invoicentlist.php','filter=$filter'). It used
> to
> work. However, after phpgwRC3, phpgw auto-append
> ?sessionid=..&domain=.. to the link() function output. Therefore, the
> first case will end up as
> .../ck-ap/invoicentlist.php?filter=$filter?sessionid=..&domain=..
> causing the sessionid not being recognised, thus, session not verified
> and
> the screen jumps back to login display. This will be rectified in the
> coming
> release. In the meantime, you could search within each ck-ledger folder
> for,
> # grep link * | grep ?
> and change the erroneous function calls. There shouldn't be too many of
> them.
>
> 2. When updating a record, I use the logic of validation, posting,
> writing output
> onto screen. This allows the result of validation/posting to be
> displayed along with
> the record details. However, this has the unfortunate effect of having
> the
> validation and posting missing out on data that were generated during
> screen
> writing, like item totals. I am working to rewrite the logic and a new
> release is
> expected within the next two weeks. In the mean time, if you are using
> ck-ledger
> in any way, please ask your user(s) to press the "Update Fields" button
> at least
> once, before clicking the "Post/Update (invoice/journal/...)" button.
>
> Sorry for the oversight.
>
> Best Regards,
> CK
|