Hi Nathan,
Nathan Gray schrieb:
When unlinking from a record, I get the following (debug on):
egw_link::unlink(‘0’,‘perp_orders’,‘ORDER-1443’,’’,’’,’’)
egw_link::delete_attached(‘perp_orders’,‘ORDER-1443’,’’) url=links://
default/apps/perp_orders/ORDER-1443
Warning: lstat() [function.lstat]: Lstat failed for links://default/
apps/perp_orders/ORDER-1443 in /path/to/phpgwapi/inc/
class.egw_vfs.inc.php on line 573
I know that /files/apps/perp_orders/ does not exist.
I’m not sure what the right course is here. I’ve tracked it all the
way through, but I’m not sure where to fix it.
In addition, in phpgwapi/inc/class.egw_link.inc.php line 465, I
noticed this if:
if (!$link_id && !$app2 && !$id2 && $app2 != ‘!’.self::VFS_APPNAME)
if !$app2 then what’s up with that last bit? Redundant, or is one of
those && supposed to be an ||?
Nope, that’s correct. There’s an all but $app2 syntax (’!’ prefix),
which in case of $app == self::VFS_APPNAME means the attachments.
Problem was something else: egw_link::delete_attached class attempt to
delete the attachment (dir), even if there are none, resulting in that
warning.
It’s fixed now in svn:
http://www.egroupware.org/viewvc/egroupware?view=rev&revision=27466
Ralf
Ralf Becker
Director Software Development
Stylite GmbH
[open style of IT]
Morschheimer Strasse 15
67292 Kirchheimbolanden
fon +49 (0) 6352 70629-0
fax +49 (0) 6352 70629-30
mailto: rb@stylite.de
www.stylite.de
www.egroupware.org
Geschäftsführer Andre Keller, Gudrun Müller,
Nigel Vickers und Ralf Becker
Registergericht Kaiserslautern HRB 30575
Umsatzsteuer-Id / VAT-Id: DE214280951
Enter the BlackBerry Developer Challenge
This is your chance to win up to $100,000 in prizes! For a limited time,
vendors submitting new applications to BlackBerry App World™ will have
the opportunity to enter the BlackBerry Developer Challenge. See full prize
details at: http://p.sf.net/sfu/Challenge
eGroupWare-developers mailing list
eGroupWare-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/egroupware-developers