Fixed Unable to create navigation if the parent navigation id value is larger than 25

TickTackk

Well-known member
Affected version
XF 2.x
In file src\XF\Entity\Navigation.php
Find:
PHP:
'parent_navigation_id' => ['type' => self::STR, 'maxLength' => 25, 'default' => ''],
Replace with:
PHP:
'parent_navigation_id' => ['type' => self::STR, 'maxLength' => 50, 'default' => ''],
 
Thank you for reporting this issue. The issue is now resolved and we are aiming to include that in a future XF release (2.0.12).

Change log:
Use the correct maxlength value for the public navigation structure. Additionally, bump AdminNavigation ID lengths up to 50 from 25.
Any changes made as a result of this issue being resolved may not be rolled out here until later.
 
Top Bottom