Projects
Wiki     Timeline     Roadmap     Browse Source     View Tickets     New Ticket     Search

Ticket #83 (closed Defect: Software changed)

Opened 4 years ago

Last modified 22 months ago

propfind yields inconsistent results between depth 1 on a collection and depth 0 on each of it's children

Reported by: dreid@… Owned by: wsanchez@…
Priority: 3: Important Milestone: CalendarServer-2.2
Component: Calendar Server Severity: Other
Keywords: Cc:

Description

Performing a propfind for quota-used-bytes on /calendars/users/ with depth 1 yields the following response:

<response xmlns="DAV:">
  <href>/calendars/users/bob/</href>
  <propstat>
     <prop>
       <quota-available-bytes>104857600</quota-available-bytes>
       <quota-used-bytes>0</quota-used-bytes>
       <getetag>&quot;F42B5B-108-45526E13&quot;</getetag>
       <resourcetype><collection></collection></resourcetype>
       <displayname>bob</displayname>
     </prop>
     <status>HTTP/1.1 200 OK</status>
  </propstat>
</response>

A propfind with depth 0 on /calendars/users/bob/ yields a different result for quota-used-bytes

<response xmlns="DAV:">
  <href>/calendars/users/bob/</href>
  <propstat>
  <prop>
    <quota-available-bytes>104848783</quota-available-bytes>
    <quota-used-bytes>8817</quota-used-bytes>
    <getetag>&quot;F42B5B-108-45526E13&quot;</getetag>
    <resourcetype><collection></collection></resourcetype>
    <displayname>bob</displayname>
  </prop>
  <status>HTTP/1.1 200 OK</status>
  </propstat>
</response>

I'm unsure if this is specific to the quota-used-bytes property or if it could affect others.

Change History

Changed 4 years ago by wsanchez@…

  • milestone set to Preview 1

Changed 3 years ago by wsanchez@…

  • milestone changed from Preview 1 to Version One

Changed 3 years ago by cdaboo@…

  • status changed from new to closed
  • resolution set to fixed

Fixed in r1555. Tests in r1554.

Changed 3 years ago by cdaboo@…

  • status changed from closed to reopened
  • resolution fixed deleted

Changed 3 years ago by cdaboo@…

  • owner changed from cdaboo@… to wsanchez@…
  • keywords review added
  • status changed from reopened to new

Changed 3 years ago by cdaboo@…

  • owner changed from wsanchez@… to cdaboo@…
  • status changed from new to assigned

Changed 3 years ago by cdaboo@…

  • owner changed from cdaboo@… to wsanchez@…
  • status changed from assigned to new

Changed 3 years ago by wsanchez@…

  • milestone changed from 1.0 to 1.1

Changed 3 years ago by wsanchez@…

  • milestone changed from 1.1 to 1.2

Changed 2 years ago by wsanchez@…

  • status changed from new to closed
  • resolution set to fixed
  • milestone changed from 1.2 to 2.0

Changed 2 years ago by wsanchez@…

  • keywords review removed
Note: See TracTickets for help on using tickets.