# Bug NEX-394 - ctime (creation date) for the files is always 0

Project: Stream Nextcloud app "OpenProject Integration"
Status: closed
URL: https://community.openproject.org/work_packages/NEX-394

## Open points

_No work packages_

## Details

| Attribute | Value |
| --- | --- |
| Date |  |
| Priority | Medium |
| Module |  |
| Target versions | Nextcloud Integration 2.7.0 |
| Observed in versions | Nextcloud Integration 2.6.0 |
| Bug found in version (deprecated) | Nextcloud Integration 2.6.x |
| Requires doc change | No |
| Accessibility | No |
| Pull preview |  |
| List |  |
| Labels |  |

## People

| Attribute | Value |
| --- | --- |
| Assignee |  |
| Accountable | Artur Neumann |
| Product manager |  |
| Developers | JankariTech Dev |
| Designer |  |
| Signed off by |  |
| Interest by |  |

## Planning

| Attribute | Value |
| --- | --- |
| Relevance |  |

## Costs

| Attribute | Value |
| --- | --- |
| Votes |  |
| Work |  |
| Labor costs |  |

## Description

### Steps to reproduce

*   Configure OAUTH (between `Nextcloud` and `OpenProject`)
    
*   From `OpenProject`, connect a user (admin for example) as a `Nextcloud` User
    
*   For a openproject project (demo project for example), add the `Nextcloud` File storage for that project
    
*   Navigate to the work packages for the demo project
    
*   Select a work package, in the files panel (on the right corner), you can upload a file to the nextcloud.
    
*   Once uploaded, you can open network tab and click on the file you uploaded from OpenProject.
    
*   Search for the PROPFIND REQUEST with status 207 -&gt; navigate to Preview section -&gt; And search for the `href` in response section containing your file name you just uploaded.
    
*   Further open the details about the files you can see the&nbsp;  
    `<d:creationdate>2024-09-06T05:51:44+00:00</d:creationdate>` date in it.
    

The Ctime is always same for every file uploaded.

<img class="op-uc-image op-uc-image_inline" src="/api/v3/attachments/191476/content">

### What is the buggy behavior

*   creation of data ctime is always 0 or same for every file uploaded
    

### What is the expected behavior?

*   the date of creation of the file should have the correct value according to the uploaded time or timestamp or date
