Skip to content

Items aren't under the World Expansion namespace so they cause errors#397

Open
AW0005 wants to merge 2 commits intopreimpression:extension/world-expansionfrom
AW0005:extension/world-expansion
Open

Items aren't under the World Expansion namespace so they cause errors#397
AW0005 wants to merge 2 commits intopreimpression:extension/world-expansionfrom
AW0005:extension/world-expansion

Conversation

@AW0005
Copy link

@AW0005 AW0005 commented Mar 14, 2024

Because of the code here:

public function getLinkAttribute()
{
$link = 'App\Models\WorldExpansion\\'.$this->link_type;
return isset($this->link_type) ? $link::find($this->link_id) : null;
}

That presumes that attachments are under the World Expanded namespace, when item is selected it causes "not found" errors.

This PR removes items but mostly is here to serve as a reminder that issue exists and a solution should probably be found to allow for items to be connected properly :D

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant