---
title: "Breaking: Removed methods from FGTCLBAcademicProjectsDomainModelDtoProjectDemand"
manual: "Academic Projects"
version: "main"
source: "Changelog/2.0/Breaking-RemovedMethodsFromFGTCLBAcademicProjectsDomainModelDtoProjectDemand.rst"
rendered: "2026-09-22T20:39:25+00:00"
---

# Breaking: Removed methods from `FGTCLBAcademicProjectsDomainModelDtoProjectDemand` {#breaking-1771363889}

## Description {#description}

Following class methods has been removed:

-   `ProfileDemand::getHideCompletedProjects()`
-   `ProfileDemand::setHideCompletedProjects()`

## Impact {#impact}

Using above mentioned removed `ProfileDemand` methods to call related
methods in the `ProfileRepository` directly leads to `FATAL PHP ERROR`.

## Affected installations {#affected-installations}

TYPO3 instances using removed `ProfileDemand` methods.

## Migration {#migration}

The removed method should be replaced using the new methods:

-   `ProfileDemand::setActiveState(string $activeState): void`
-   `ProfileDemand::getActiveState(): string`

instead, working slightly different now.

`\FGTCLB\AcademicProjects\Domain\Model\Dto\ActiveState` ENUM provided
possible values for the `active state` but cannot be passed directly.

**before**

```php
$demand = new ProfileDemand();
$demand->setHideCompletedProjects(true);
$demand->setHideCompletedProjects(false);
```

```php
$demand = new ProfileDemand();
// setHideCompletedProjects(true)
$demand->setActiveState(ActiveState::ACTIVE);
// setHideCompletedProjects(false)
$demand->setActiveState(ActiveState::ALL);
```

> [!TIP]
> The new `ActiveState` enum provides the additional
> `ActiveStatus::COMPLETED` state, which can be used to
> filter only completed projects.
