You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The URL Generator should check if the table column has a name field, and prioritise that column before trying to slugify the attribute_data, saving on duplication in tables. As an example, the lunar_brands table.
Actual Behaviour:
If a model has attribute_data but also a name column (so it doesn't use the name attribute) and it also has URLs, the slug is blank because the generator is looking for a name attribute when it doesn't exist, the name column should either be a priority check or if no name attribute value is available, use the name column if possible
Steps To Reproduce: N/A
The text was updated successfully, but these errors were encountered:
Expected Behaviour:
The URL Generator should check if the table column has a name field, and prioritise that column before trying to slugify the attribute_data, saving on duplication in tables. As an example, the
lunar_brands
table.Actual Behaviour:
If a model has
attribute_data
but also aname
column (so it doesn't use the name attribute) and it also has URLs, the slug is blank because the generator is looking for a name attribute when it doesn't exist, the name column should either be a priority check or if no name attribute value is available, use the name column if possibleSteps To Reproduce: N/A
The text was updated successfully, but these errors were encountered: