Discussion Forum: Thread 339420

 Author: Nubs_Select View Messages Posted By Nubs_Select
 Posted: May 8, 2023 16:33
 Subject: (Cancelled)
 Viewed: 27 times
 Topic: Technical Issues
Cancel Message
Cancel
Reply to Message
Reply
BrickLink
ID Card

Nubs_Select (3740)

Location:  Canada, Ontario
Member Since Contact Type Status
Mar 15, 2016 Contact Member Seller
Buying Privileges - OKSelling Privileges - OK
Store: Nub's Select
(Cancelled)
 Author: SylvainLS View Messages Posted By SylvainLS
 Posted: May 8, 2023 16:37
 Subject: Re: Broken Inventories when thru the forum
 Viewed: 45 times
 Topic: Technical Issues
Cancel Message
Cancel
Reply to Message
Reply
BrickLink
ID Card

SylvainLS (46)

Location:  France, Nouvelle-Aquitaine
Member Since Contact Type Status
Apr 25, 2014 Contact Member Seller
Buying Privileges - OKSelling Privileges - OK
Store Closed Store: BuyerOnly
BrickLink Discussions Moderator (?)
In Technical Issues, Nubs_Select writes:
  its seems like the inventory button for cows in particular are broken when clicked
on in the forum but work normally when clicked elsewhere.

It’s when you add a colour to the cow that it’s broken:

Works:
 
Part No: 64452pb01c01  Name: Cow with Light Nougat Muzzle and White Spot on Head Pattern with Short Horns (Plate on Top)
* 
64452pb01c01 (Inv) Cow with Light Nougat Muzzle and White Spot on Head Pattern with Short Horns (Plate on Top)
Parts: Animal, Land

Broken:
 
Part No: 64452pb01c01  Name: Cow with Light Nougat Muzzle and White Spot on Head Pattern with Short Horns (Plate on Top)
* 
64452pb01c01 (Inv) Cow with Light Nougat Muzzle and White Spot on Head Pattern with Short Horns (Plate on Top)
Parts: Animal, Land {Medium Nougat}
 Author: ghyde View Messages Posted By ghyde
 Posted: May 8, 2023 16:40
 Subject: Re: Broken Inventories when thru the forum
 Viewed: 24 times
 Topic: Technical Issues
Cancel Message
Cancel
Reply to Message
Reply
BrickLink
ID Card

ghyde (203)

Location:  Australia, Queensland
Member Since Contact Type Status Collage
May 10, 2003 Contact Member Seller
Buying Privileges - OKSelling Privileges - OK
View Collage Pic
Store: Far North Bricks
In Technical Issues, SylvainLS writes:
  In Technical Issues, Nubs_Select writes:
  its seems like the inventory button for cows in particular are broken when clicked
on in the forum but work normally when clicked elsewhere.

It’s when you add a colour to the cow that it’s broken:

Works:
 
Part No: 64452pb01c01  Name: Cow with Light Nougat Muzzle and White Spot on Head Pattern with Short Horns (Plate on Top)
* 
64452pb01c01 (Inv) Cow with Light Nougat Muzzle and White Spot on Head Pattern with Short Horns (Plate on Top)
Parts: Animal, Land

Broken:
 
Part No: 64452pb01c01  Name: Cow with Light Nougat Muzzle and White Spot on Head Pattern with Short Horns (Plate on Top)
* 
64452pb01c01 (Inv) Cow with Light Nougat Muzzle and White Spot on Head Pattern with Short Horns (Plate on Top)
Parts: Animal, Land {Medium Nougat}

Why does that happen?

Cheers ...

ghyde
 Author: SylvainLS View Messages Posted By SylvainLS
 Posted: May 8, 2023 16:48
 Subject: Re: Broken Inventories when thru the forum
 Viewed: 32 times
 Topic: Technical Issues
Cancel Message
Cancel
Reply to Message
Reply
BrickLink
ID Card

SylvainLS (46)

Location:  France, Nouvelle-Aquitaine
Member Since Contact Type Status
Apr 25, 2014 Contact Member Seller
Buying Privileges - OKSelling Privileges - OK
Store Closed Store: BuyerOnly
BrickLink Discussions Moderator (?)
In Technical Issues, ghyde writes:
  […]
Why does that happen?

Because the possiblity to add a colour was added to the spaghetti code and not
everything was tested.

The code for the macro takes the ID and creates links to the item’s pages.
— For the image, the “,150” that specifies “in Medium Nougat” is removed.
— For the link, the “,150” is transformed into “ampersand C=150” (parameter to
the URL).
— For inventories, nothing is done.  So the coloured macro leads to the inventory
for part “64452pb01c01,150” which of course doesn’t exist.
 Author: Nubs_Select View Messages Posted By Nubs_Select
 Posted: May 8, 2023 16:41
 Subject: Re: Broken Inventories when thru the forum
 Viewed: 26 times
 Topic: Technical Issues
Cancel Message
Cancel
Reply to Message
Reply
BrickLink
ID Card

Nubs_Select (3740)

Location:  Canada, Ontario
Member Since Contact Type Status
Mar 15, 2016 Contact Member Seller
Buying Privileges - OKSelling Privileges - OK
Store: Nub's Select
interesting