You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
public function getURI()
{
if (empty($this->id)) {
throw new RuntimeException('Required params id is not set');
}
return sprintf($this->getUriPattern(), $this->id);
}
protected function getUriPattern()
{
return 'tickets/%d/';
}
Should have used %s instead of %d.
I guess this will and does happen to all other namespaces too.
I have seen the %d on all sprintf i looked at.
EDIT:
Temp fix: using the transport to perform the request with own uri
Just happen to me through ticket closing call.
Received ticket with id "00112556780"
But URI gets built with "112556780"
Problem:
Should have used
%s
instead of%d
.I guess this will and does happen to all other namespaces too.
I have seen the
%d
on allsprintf
i looked at.EDIT:
Temp fix: using the transport to perform the request with own uri
GET
CLOSE
The text was updated successfully, but these errors were encountered: